|
| file |
| output file
|
|
| tree |
| output ttree
|
|
| data |
| instance of EventDataTrueHit class
|
|
class to create the true hit ttree
Definition at line 42 of file SVDValidationTTreeTrueHit.py.
◆ __init__()
Initialize the module
Definition at line 45 of file SVDValidationTTreeTrueHit.py.
46 """Initialize the module"""
48 super(SVDValidationTTreeTrueHit, self).__init__()
50 self.file = ROOT.TFile(
'../SVDValidationTTreeTrueHit.root',
'recreate')
52 self.tree = ROOT.TTree(
'tree',
'Event data of SVD validation events')
54 self.data = EventDataTrueHit()
57 for key
in EventDataTrueHit.__dict__:
60 if isinstance(self.data.__getattribute__(key), int):
62 self.tree.Branch(key, addressof(self.data, key), key + formstring)
◆ event()
◆ terminate()
The documentation for this class was generated from the following file: