|
| file |
| Output ROOT file.
|
|
| tree |
| TTree for output data.
|
|
| data |
| instance of EventData class
|
|
class to produced the validation ttree
Definition at line 64 of file SVDValidationTTree.py.
◆ __init__()
Initialize the module
Definition at line 67 of file SVDValidationTTree.py.
68 """Initialize the module"""
70 super(SVDValidationTTree, self).__init__()
73 self.file = ROOT.TFile(
'../SVDValidationTTree.root',
'recreate')
75 self.tree = ROOT.TTree(
'tree',
'Event data of SVD validation events')
77 self.data = EventData()
80 for key
in EventData.__dict__:
83 if isinstance(self.data.__getattribute__(key), int):
85 self.tree.Branch(key, addressof(self.data, key), key + formstring)
◆ beginRun()
◆ event()
◆ terminate()
The documentation for this class was generated from the following file: