|
| file |
| output file
|
|
| tree |
| output ttree
|
|
| data |
| instance of EventDataSpacePoint class
|
|
class to create spacepoint ttree
Definition at line 44 of file SVDValidationTTreeSpacePoint.py.
◆ __init__()
Initialize the module
Definition at line 47 of file SVDValidationTTreeSpacePoint.py.
48 """Initialize the module"""
50 super(SVDValidationTTreeSpacePoint, self).__init__()
52 self.file = ROOT.TFile(
'../SVDValidationTTreeSpacePoint.root',
'recreate')
54 self.tree = ROOT.TTree(
'tree',
'Event data of SVD validation events')
56 self.data = EventDataSpacePoint()
59 for key
in EventDataSpacePoint.__dict__:
62 if isinstance(self.data.__getattribute__(key), int):
64 self.tree.Branch(key, addressof(self.data, key), key + formstring)
◆ event()
◆ terminate()
The documentation for this class was generated from the following file: