select events according to given trigger types
Definition at line 47 of file beamBkgHitRates.py.
◆ event()
event processing
Definition at line 50 of file beamBkgHitRates.py.
50 def event(self):
51 ''' event processing '''
52
53 self.return_value(0)
55 if not trg_summary.isValid():
56 basf2.B2ERROR('No TRGSummary available - event ignored')
57 return
58
59 for trgType in trigTypes:
60 if trg_summary.getTimType() == trgType:
61 self.return_value(1)
62 return
63
64
65
a (simplified) python wrapper for StoreObjPtr.
The documentation for this class was generated from the following file: