class to create the strip ttree
Definition at line 42 of file SVDValidationTTreeStrip.py.
◆ __init__()
Initialize the module
Definition at line 45 of file SVDValidationTTreeStrip.py.
46 """Initialize the module"""
48 super(SVDValidationTTreeStrip, self).__init__()
49 self.file = ROOT.TFile(
'../SVDValidationTTreeStrip.root',
'recreate')
50 '''Output ROOT file'''
51 self.tree = ROOT.TTree(
'tree',
'Event data of SVD validation events')
52 '''TTrees for output data'''
53 self.data = EventDataStrip()
54 '''Instance of the EventDataStrip class'''
57 for key
in EventDataStrip.__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: