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/bklm/BKLMSimHit.h>
26 #include <klm/dataobjects/eklm/EKLMSimHit.h>
29 #include <beast/beamabort/dataobjects/BeamabortSimHit.h>
30 #include <beast/claw/dataobjects/ClawSimHit.h>
31 #include <beast/claws/dataobjects/CLAWSSimHit.h>
32 #include <beast/fangs/dataobjects/FANGSSimHit.h>
33 #include <beast/plume/dataobjects/PlumeSimHit.h>
34 #include <beast/pindiode/dataobjects/PindiodeSimHit.h>
35 #include <beast/he3tube/dataobjects/He3tubeSimHit.h>
36 #include <beast/microtpc/dataobjects/MicrotpcSimHit.h>
37 #include <beast/qcsmonitor/dataobjects/QcsmonitorSimHit.h>
38 #include <beast/bgo/dataobjects/BgoSimHit.h>
39 #include <beast/csi/dataobjects/CsiSimHit.h>
85 virtual void event()
override;
91 virtual void endRun()
override;
137 template<
class SIMHIT>
140 if (!simHits.
isValid())
return 0;
143 for (
int i = 0; i < numEntries; i++) {
144 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.
virtual void initialize() override
Initialize the Module.
virtual void event() override
Event processor.
virtual void endRun() override
End-of-run action.
virtual void terminate() override
Termination action.
virtual ~BeamBkgTagSetterModule()
Destructor.
virtual void beginRun() override
Called when entering a new run.
BeamBkgTagSetterModule()
Constructor.
Abstract base class for different kinds of events.