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