|
| file |
| output file
|
|
| tree |
| output ttree
|
|
| data |
| instance of eventDataSimhit
|
|
class to create sim hit ttree
Definition at line 45 of file SVDValidationTTreeSimhit.py.
◆ __init__()
Initialize the module
Definition at line 48 of file SVDValidationTTreeSimhit.py.
49 """Initialize the module"""
51 super(SVDValidationTTreeSimhit, self).__init__()
53 self.file = ROOT.TFile(
'../SVDValidationTTreeSimhit.root',
'recreate')
55 self.tree = ROOT.TTree(
'tree',
'Event data of SVD validation events')
57 self.data = EventDataSimhit()
60 for key
in EventDataSimhit.__dict__:
63 if isinstance(self.data.__getattribute__(key), int):
65 self.tree.Branch(key, addressof(self.data, key), key + formstring)
◆ event()
◆ terminate()
The documentation for this class was generated from the following file: