returns True if the event is NOT a random triggered event
Definition at line 28 of file skim_utils.py.
◆ __init__()
constructor
Definition at line 33 of file skim_utils.py.
33 def __init__(self):
34 """constructor"""
35
36 super().__init__()
37
◆ event()
check RawFTSW to get the event type
Definition at line 38 of file skim_utils.py.
38 def event(self):
39 """
40 check RawFTSW to get the event type
41 """
42
44
45 if not rawFTSW.isValid():
46 b2.B2WARNING('No RawFTSW available - event ignored')
47 self.return_value(0)
48
49 return
50
51
52 unknownInt = 0
53 if rawFTSW[0].GetTRGType(unknownInt) != Belle2.TRGSummary.TTYP_RAND:
54 self.return_value(1)
55 else:
56 self.return_value(0)
57
58
A (simplified) python wrapper for StoreArray.
The documentation for this class was generated from the following file: