|
| file |
| Output ROOT file.
|
|
| tree |
| TTree for output data.
|
|
| data |
| instance of EventData class
|
|
class to produce the ttree for cluster validation
Definition at line 70 of file SVDValidationTTreeCluster.py.
◆ __init__()
Initialize the module
Definition at line 73 of file SVDValidationTTreeCluster.py.
74 """Initialize the module"""
76 super(SVDValidationTTreeCluster, self).__init__()
79 self.file = ROOT.TFile(
'../SVDValidationTTreeCluster.root',
'recreate')
81 self.tree = ROOT.TTree(
'tree',
'Event data of SVD validation events')
83 self.data = EventDataCluster()
86 for key
in EventDataCluster.__dict__:
89 if isinstance(self.data.__getattribute__(key), int):
91 self.tree.Branch(key, addressof(self.data, key), key + formstring)
◆ event()
◆ terminate()
The documentation for this class was generated from the following file: