returns True if the event has a fine trigger from TRGSummary
Definition at line 166 of file skim_utils.py.
◆ __init__()
constructor
Definition at line 171 of file skim_utils.py.
171 def __init__(self):
172 """constructor"""
173
174 super().__init__()
175
◆ event()
event
Definition at line 176 of file skim_utils.py.
176 def event(self):
177 '''event'''
178
180
181 if not trgQuality.isValid():
182 b2.B2WARNING('No TRGSummary - event ignored')
183 self.return_value(0)
184
185 return
186
187
188 if trgQuality.getTimQuality() == 2:
189 self.return_value(1)
190 else:
191 self.return_value(0)
192
193
a (simplified) python wrapper for StoreObjPtr.
The documentation for this class was generated from the following file: