|
| file |
| output root file
|
|
| tree |
| output ttree
|
|
| data |
| instance of EventData class
|
|
class to create the reco track ttree
Definition at line 50 of file SVDValidationTTreeRecoTrack.py.
◆ __init__()
Initialize the module
Definition at line 53 of file SVDValidationTTreeRecoTrack.py.
54 """Initialize the module"""
56 super(SVDValidationTTreeRecoTrack, self).__init__()
58 self.file = ROOT.TFile(
'../SVDValidationTTreeRecoTrack.root',
'recreate')
60 self.tree = ROOT.TTree(
'tree',
'Event data of SVD validation events')
62 self.data = EventDataRecoTrack()
65 for key
in EventDataRecoTrack.__dict__:
68 if isinstance(self.data.__getattribute__(key), int):
70 self.tree.Branch(key, addressof(self.data, key), key + formstring)
◆ event()
◆ terminate()
The documentation for this class was generated from the following file: