11 #include <framework/core/Module.h>
12 #include <framework/datastore/StoreArray.h>
13 #include <simulation/background/BeamBGTypes.h>
14 #include <framework/dataobjects/BackgroundMetaData.h>
18 #include <pxd/dataobjects/PXDSimHit.h>
19 #include <svd/dataobjects/SVDSimHit.h>
20 #include <cdc/dataobjects/CDCSimHit.h>
21 #include <top/dataobjects/TOPSimHit.h>
22 #include <arich/dataobjects/ARICHSimHit.h>
23 #include <ecl/dataobjects/ECLSimHit.h>
24 #include <ecl/dataobjects/ECLHit.h>
25 #include <klm/dataobjects/KLMSimHit.h>
28 #include <beast/beamabort/dataobjects/BeamabortSimHit.h>
29 #include <beast/claw/dataobjects/ClawSimHit.h>
30 #include <beast/claws/dataobjects/CLAWSSimHit.h>
31 #include <beast/fangs/dataobjects/FANGSSimHit.h>
32 #include <beast/plume/dataobjects/PlumeSimHit.h>
33 #include <beast/pindiode/dataobjects/PindiodeSimHit.h>
34 #include <beast/he3tube/dataobjects/He3tubeSimHit.h>
35 #include <beast/microtpc/dataobjects/MicrotpcSimHit.h>
36 #include <beast/qcsmonitor/dataobjects/QcsmonitorSimHit.h>
37 #include <beast/bgo/dataobjects/BgoSimHit.h>
38 #include <beast/csi/dataobjects/CsiSimHit.h>
84 virtual void event()
override;
90 virtual void endRun()
override;
135 template<
class SIMHIT>
138 if (!simHits.
isValid())
return 0;
141 for (
int i = 0; i < numEntries; i++) {
142 SIMHIT* simHit = simHits[i];
Accessor to arrays stored in the data store.
bool isValid() const
Check wether the array was registered.
int getEntries() const
Get the number of objects in the array.
Class to define BG types and to convert between BG types and tags or v.v.
Abstract base class for different kinds of events.