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

Public Member Functions

def initialize (self)
 
def event (self)
 

Public Attributes

 event_info
 EventMetaData.
 
 cdc_hit
 CDCHits.
 

Detailed Description

Print TRG time

Definition at line 48 of file perfect_match.py.

Member Function Documentation

◆ event()

def event (   self)
Print TRG time of an event

Definition at line 62 of file perfect_match.py.

62 def event(self):
63 """
64 Print TRG time of an event
65 """
66 b2.B2INFO(f'Event {self.event_info.getEvent()}:')
67 for hit in self.cdc_hit:
68 cdc_raw_hit = hit.getRelatedTo('CDCRawHits')
69 b2.B2INFO(f'Trigger time: {cdc_raw_hit.getTriggerTime()}')
70
71
72# Create main path

◆ initialize()

def initialize (   self)
set CDCHits and EventMetaData

Definition at line 53 of file perfect_match.py.

53 def initialize(self):
54 """
55 set CDCHits and EventMetaData
56 """
57
58 self.event_info = Belle2.PyStoreObj('EventMetaData')
59
60 self.cdc_hit = Belle2.PyStoreArray('CDCHits')
61
A (simplified) python wrapper for StoreArray.
Definition: PyStoreArray.h:72
a (simplified) python wrapper for StoreObjPtr.
Definition: PyStoreObj.h:67

Member Data Documentation

◆ cdc_hit

cdc_hit

CDCHits.

Definition at line 60 of file perfect_match.py.

◆ event_info

event_info

EventMetaData.

Definition at line 58 of file perfect_match.py.


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