|
| file |
| Output ROOT file.
|
|
| tree |
| TTree for output data.
|
|
| data |
| Instance of EventData class.
|
|
A simple module to check the reconstruction of PXDTrueHits.
This module writes its output to a ROOT tree.
Definition at line 51 of file PXDHitErrorsTTree.py.
◆ __init__()
Initialize the module
Definition at line 58 of file PXDHitErrorsTTree.py.
59 """Initialize the module"""
63 self.file = ROOT.TFile(
'PXDHitErrorOutput.root',
'recreate')
65 self.tree = ROOT.TTree(
'tree',
'Event data of PXD simulation')
67 self.data = EventData()
69 for key
in EventData.__dict__:
72 if isinstance(self.data.__getattribute__(key), int):
◆ beginRun()
◆ event()
◆ terminate()
The documentation for this class was generated from the following file: