![]() |
Belle II Software development
|
Public Member Functions | |
__init__ (self) | |
beginRun (self) | |
event (self) | |
terminate (self) | |
decode (self, vxdid) | |
Public Attributes | |
file = open('PXDHitErrorOutput.txt', 'w') | |
Input file object. | |
tuple | vxdid_factors = (8192, 256, 32) |
Factors for decoding VXDId's. | |
fHisto = ROOT.TFile('PXDPulls.root', 'RECREATE') | |
File to save histograms. | |
h_pull_u = ROOT.TH1F('h_pull_u', 'Pulls in u', 150, -10, 5) | |
Histogram for u pulls. | |
h_pull_v = ROOT.TH1F('h_pull_v', 'Pulls in v', 100, -5, 5) | |
Histogram for v pulls. | |
A simple module to check the reconstruction of PXDTrueHits.
Definition at line 19 of file PXDHitErrors.py.
__init__ | ( | self | ) |
Initialize the module
Definition at line 23 of file PXDHitErrors.py.
beginRun | ( | self | ) |
Write legend for file columns
Definition at line 38 of file PXDHitErrors.py.
decode | ( | self, | |
vxdid ) |
Utility to decode sensor IDs
Definition at line 129 of file PXDHitErrors.py.
event | ( | self | ) |
Find clusters with a truehit and print some stats.
Definition at line 45 of file PXDHitErrors.py.
terminate | ( | self | ) |
Close the output file.
Definition at line 118 of file PXDHitErrors.py.
fHisto = ROOT.TFile('PXDPulls.root', 'RECREATE') |
File to save histograms.
Definition at line 32 of file PXDHitErrors.py.
file = open('PXDHitErrorOutput.txt', 'w') |
Input file object.
Definition at line 28 of file PXDHitErrors.py.
h_pull_u = ROOT.TH1F('h_pull_u', 'Pulls in u', 150, -10, 5) |
Histogram for u pulls.
Definition at line 34 of file PXDHitErrors.py.
h_pull_v = ROOT.TH1F('h_pull_v', 'Pulls in v', 100, -5, 5) |
Histogram for v pulls.
Definition at line 36 of file PXDHitErrors.py.
tuple vxdid_factors = (8192, 256, 32) |
Factors for decoding VXDId's.
Definition at line 30 of file PXDHitErrors.py.