|
| 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 17 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 51 of file EventInspectorLookback.py.
51 def __init__(self, exp, run, histName, pdfName, mode, window):
55 exp (str): formatted experiment number
56 run (str): formatter run number
57 histName (str): path name of the output histogram ROOT file
58 pdfName (str): path name of the output histogram PDF file
59 mode (int): specifies the lookback-window mode
60 0: coarse window start values
61 1: coarse window width values
62 2: fine window start values
63 3: fine window width values
64 window (int, int, int): specifies the lookback-window min, max and step values
72 self.histName = histName
74 self.pdfName = pdfName
76 windowModes = {0:
"coarse start", 1:
"coarse width", 2:
"fine start", 3:
"fine width"}
78 self.windowMode = windowModes[mode]
80 self.windowMinValue = window[0]
82 self.windowMaxValue = window[1]
84 self.windowStepValue = window[2]
85 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: