|
| exp |
| internal copy of experiment number
|
|
| run |
| internal copy of run number
|
|
| histName |
| internal copy of the pathname of the output histogram ROOT file
|
|
| pdfName |
| internal copy of the pathname of the output histogram PDF file
|
|
| windowMode |
| window mode as a string for histogram labels/titles
|
|
| windowMinValue |
| highest observed lookback-window value
|
|
| windowMaxValue |
| highest observed lookback-window value
|
|
| windowStepValue |
| lookback-window value step
|
|
| electIdToModuleId |
| readout <-> detector map (from the information retrieved from the conditions database)
|
|
| sectorFBToDC |
| map for sectorFB -> data concentrator
|
|
| dcToSectorFB |
| map for data concentrator -> sectorFB
|
|
| histogramFile |
| Output ROOT TFile that will contain the histograms/scatterplots.
|
|
| hist_mappedRPCTimeCal |
| histogram of RPC TDC - trigger value
|
|
| dict_mappedRPCTimeCalByWindow |
| dictionary of histograms of RPC TDC - trigger value, keyed by lookback-window value
|
|
| dict_nRawKLMs |
| dictionary of the number of RawKLM hits for each lookback-window value
|
|
| hist_mappedRPCTimeCalByWindow |
| reference to the RPC-time histogram for the currevent value of the lookback window parameter
|
|
| hist_occupancyForwardXY |
| scatterplot of end view of forward BKLM for all BKLMHit2ds
|
|
| hist_occupancyBackwardXY |
| scatterplot of end view of backward BKLM for all BKLMHit2ds
|
|
| hist_occupancyXYByWindow |
| reference to the xy scatterplot for the currevent value of the lookback window parameter
|
|
| dict_occupancyXYByWindow |
| dictionary of scatterplots of end view of forward BKLM, keyed by lookback-window value
|
|
| dict_nHit2ds |
| dictionary of the number of BKLMHit2ds for each lookback-window value
|
|
| dict_nEvents |
| dictionary of the number of events for each lookback-window value, for normalization
|
|
| windowValue |
| cached value of the lookback-window value, to avoid unnecessary reassignments-to-same-value in event()
|
|
Analyze RPC lookback-window parameter settings, fill histograms
Definition at line 24 of file EventInspectorLookback.py.
◆ __init__()
def __init__ |
( |
|
self, |
|
|
|
exp, |
|
|
|
run, |
|
|
|
histName, |
|
|
|
pdfName, |
|
|
|
mode, |
|
|
|
window |
|
) |
| |
Constructor
Arguments:
exp (str): formatted experiment number
run (str): formatter run number
histName (str): path name of the output histogram ROOT file
pdfName (str): path name of the output histogram PDF file
mode (int): specifies the lookback-window mode
0: coarse window start values
1: coarse window width values
2: fine window start values
3: fine window width values
window (int, int, int): specifies the lookback-window min, max and step values
Definition at line 58 of file EventInspectorLookback.py.
58 def __init__(self, exp, run, histName, pdfName, mode, window):
62 exp (str): formatted experiment number
63 run (str): formatter run number
64 histName (str): path name of the output histogram ROOT file
65 pdfName (str): path name of the output histogram PDF file
66 mode (int): specifies the lookback-window mode
67 0: coarse window start values
68 1: coarse window width values
69 2: fine window start values
70 3: fine window width values
71 window (int, int, int): specifies the lookback-window min, max and step values
79 self.histName = histName
81 self.pdfName = pdfName
83 windowModes = {0:
"coarse start", 1:
"coarse width", 2:
"fine start", 3:
"fine width"}
85 self.windowMode = windowModes[mode]
87 self.windowMinValue = window[0]
89 self.windowMaxValue = window[1]
91 self.windowStepValue = window[2]
92 print(
"Mode = {0} start = {1} end = {2} step = {3}".format(mode, window[0], window[1], window[2]))
◆ beginRun()
◆ endRun()
◆ event()
◆ initialize()
◆ terminate()
The documentation for this class was generated from the following file: