Belle II Software development
skimFineTRGEventsPyModule Class Reference
Inheritance diagram for skimFineTRGEventsPyModule:

Public Member Functions

def __init__ (self)
 
def event (self)
 

Detailed Description

returns True if the event has a fine trigger from TRGSummary

Definition at line 166 of file skim_utils.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)
constructor

Definition at line 171 of file skim_utils.py.

171 def __init__(self):
172 """constructor"""
173
174 super().__init__()
175

Member Function Documentation

◆ event()

def event (   self)
event

Definition at line 176 of file skim_utils.py.

176 def event(self):
177 '''event'''
178
179 trgQuality = Belle2.PyStoreObj('TRGSummary')
180
181 if not trgQuality.isValid():
182 b2.B2WARNING('No TRGSummary - event ignored')
183 self.return_value(0)
184
185 return
186
187 # check trigger quality
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.
Definition: PyStoreObj.h:67

The documentation for this class was generated from the following file: