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

Public Member Functions

def event (self)
 

Detailed Description

 select events according to given trigger types 

Definition at line 33 of file makeBGOverlayFromData.py.

Member Function Documentation

◆ event()

def event (   self)
 event processing 

Definition at line 36 of file makeBGOverlayFromData.py.

36 def event(self):
37 ''' event processing '''
38
39 self.return_value(0)
40 trg_summary = Belle2.PyStoreObj('TRGSummary')
41 if not trg_summary.isValid():
42 basf2.B2ERROR('No TRGSummary available - event ignored')
43 return
44
45 for trgType in trigTypes:
46 if trg_summary.getTimType() == trgType:
47 self.return_value(1)
48 return
49
50
51# Define global tag
a (simplified) python wrapper for StoreObjPtr.
Definition: PyStoreObj.h:67

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