returns True if the event is acquired with 6 samples
Definition at line 95 of file skim_utils.py.
◆ __init__()
constructor
Definition at line 100 of file skim_utils.py.
100 def __init__(self):
101 """constructor"""
102
103 super().__init__()
104
◆ event()
event
Definition at line 105 of file skim_utils.py.
105 def event(self):
106 '''event'''
107
108
110
111 if not eventInfo.isValid():
112 eventInfo = Belle2.PyStoreObjPtr('SVDEventInfoSim')
113
114 if not eventInfo.isValid():
115 b2.B2WARNING('No SVDEventInfo/SVDEventInfoSim - event ignored')
116 self.return_value(0)
117
118 return
119
120
121 if eventInfo.getNSamples() == 6:
122 self.return_value(1)
123 else:
124 self.return_value(0)
125
126
a (simplified) python wrapper for StoreObjPtr.
The documentation for this class was generated from the following file: