class to produce the ttree for cluster validation
Definition at line 58 of file SVDValidationTTreeCluster.py.
◆ __init__()
Initialize the module
Definition at line 61 of file SVDValidationTTreeCluster.py.
62 """Initialize the module"""
64 super(SVDValidationTTreeCluster, self).__init__()
65 self.file = ROOT.TFile(
'../SVDValidationTTreeCluster.root',
'recreate')
66 '''Output ROOT file'''
67 self.tree = ROOT.TTree(
'tree',
'Event data of SVD validation events')
68 '''TTrees for output data'''
69 self.data = EventDataCluster()
70 '''Instance of the EventData class'''
73 for key
in EventDataCluster.__dict__:
76 if isinstance(self.data.__getattribute__(key), int):
78 self.tree.Branch(key, AddressOf(self.data, key), key + formstring)
◆ event()
◆ terminate()
The documentation for this class was generated from the following file: