|
| 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 52 of file PXDHitErrorsTTree.py.
◆ __init__()
Initialize the module
Definition at line 59 of file PXDHitErrorsTTree.py.
60 """Initialize the module"""
62 super(PXDHitErrorsTTree, self).__init__()
64 self.file = ROOT.TFile(
'PXDHitErrorOutput.root',
'recreate')
66 self.tree = ROOT.TTree(
'tree',
'Event data of PXD simulation')
68 self.data = EventData()
70 for key
in EventData.__dict__:
73 if isinstance(self.data.__getattribute__(key), int):
◆ beginRun()
◆ event()
◆ terminate()
The documentation for this class was generated from the following file: