Returns 1 if current event contains at least one BEAST hit, 0 otherwise
Definition at line 17 of file RunSADBgMC_phase1.py.
◆ event()
reimplementation of Module::event().
Definition at line 24 of file RunSADBgMC_phase1.py.
24 def event(self):
25 """reimplementation of Module::event()."""
26
27 self.return_value(0)
29 for p in mcparticles:
30 print()
31 if len(p.getRelationsTo('MicrotpcSimHits')) > 0 \
32 or len(p.getRelationsTo('He3tubeSimHits')) > 0 \
33 or len(p.getRelationsTo('PindiodeSimHits')) > 0 \
34 or len(p.getRelationsTo('BgoSimHits')) > 0 \
35 or len(p.getRelationsTo('CsiSimHits')) > 0:
36
37 self.return_value(1)
38
39 break
40
41
A (simplified) python wrapper for StoreArray.
◆ initialize()
reimplementation of Module::initialize().
Definition at line 21 of file RunSADBgMC_phase1.py.
21 def initialize(self):
22 """reimplementation of Module::initialize()."""
23
The documentation for this class was generated from the following file: