Belle II Software development
|
Public Member Functions | |
def | __init__ (self, exp, run, histName, pdfName) |
def | makeGraph (self, x, y) |
def | makeText (self, x, y, s) |
def | initialize (self) |
def | terminate (self) |
def | beginRun (self) |
def | endRun (self) |
def | event (self, eventHits, tt_ctime, raw_time) |
Public Attributes | |
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 | |
histogramFile | |
Output ROOT TFile that will contain the histograms/scatterplots. | |
hist_ttc_trigtime | |
histogram of the tt_ctime relative to triggertime | |
hist_rawKLMlane | |
histogram of the hit's lane | |
hist_rawKLMsizeMultihit | |
histogram of number of hits, including multiple entries on one readout channel | |
hist_rawKLMsize | |
histogram of number of hits, at most one entry per readout channel | |
hist_PerChannelMultiplicity | |
scatterplot of multiplicity of entries in one readout channel vs lane/axis | |
hist_RPCLaneAxisOccupancy | |
scatterplot of number of mapped RPC hits by lane/axis vs sector, at most one entry per readout channel | |
hist_ScintLaneAxisOccupancy | |
scatterplot of number of mapped scint hits by lane/axis vs sector, at most one entry per readout channel | |
hist_ChannelOccupancy | |
scatterplots of channel occupancy (1 hit per readout channel) for each axis | |
hist_ChannelOccupancyAL | |
histograms of channel occupancy (1 hit per readout channel), indexed by axis/lane | |
hist_RPCTimeLowBitsBySector | |
scatterplot of RPC TDC low-order bits vs sector (should be 0 since granularity is 4 ns) | |
hist_RPCTime | |
histogram of RPC TDC value relative to event's REVO9 trigger time in last word of event | |
hist_RPCTime2 | |
histogram of RPC TDC value relative to event's ctime in event header | |
hist_RPCTimePerLayerA0 | |
histograms of RPC TDC value relative to event's trigger time for axis 0, indexed by lane | |
hist_RPCTimePerLayerA1 | |
histograms of RPC TDC value relative to event's trigger time for axis 1, indexed by lane | |
hist_RPCTime2PerLayerA0 | |
histograms of RPC TDC value relative to event's ctime for axis 0, indexed by lane | |
hist_RPCTime2PerLayerA1 | |
histograms of RPC TDC value relative to event's ctime for axis 1, indexed by lane | |
hist_RPCTdcRange | |
histogram of RPC TDC range in event | |
hist_RPCRevotimeRange | |
histogram of RPC REVO9 range in event | |
hist_revotimeRPCtdc | |
scatterplot of RPC REVO9 range vs TDC value in event | |
hist_revotimeRPCtdc2 | |
scatterplot of RPC REVO9 range vs TDC value corrected for DC-processing delay in event | |
hist_jRPCtdc | |
scatterplot of RPC calibrated time vs hit's index | |
hist_jRPCtdc2 | |
scatterplot of RPC calibrated time vs hit's index, corrected for DC-processing delay | |
hist_ScintTimeLowBitsBySector | |
scatterplot of scint TDC low-order bits vs sector | |
hist_ScintTime | |
histogram of scint TDC value relative to event's trigger time | |
hist_ScintCtime | |
histogram of scint CTIME value relative to event's ctime | |
hist_ScintCtime0 | |
histogram of scint CTIME value relative to event's trigger time | |
hist_ScintCtimeRange | |
histogram of scint CTIME range in event | |
Static Public Attributes | |
int | BKLM_ID = 0x07000000 |
COPPER base identifier for BKLM readout. | |
int | EKLM_ID = 0x08000000 |
COPPER base identifier for EKLM readout. | |
int | BKLM_STRIP_BIT = 0 |
bit position for strip-1 [0..47] | |
int | BKLM_PLANE_BIT = 6 |
bit position for plane-1 [0..1]; 0 is inner-plane | |
int | BKLM_LAYER_BIT = 7 |
bit position for layer-1 [0..14]; 0 is innermost | |
int | BKLM_SECTOR_BIT = 11 |
bit position for sector-1 [0..7]; 0 is on the +x axis and 2 is on the +y axis | |
int | BKLM_SECTION_BIT = 14 |
bit position for section [0..1]; forward is 0 | |
int | BKLM_MAXSTRIP_BIT = 15 |
bit position for maxStrip-1 [0..47] | |
int | BKLM_STRIP_MASK = 0x3f |
bit mask for strip-1 [0..47] | |
tuple | BKLM_PLANE_MASK = (1 << BKLM_PLANE_BIT) |
bit mask for plane-1 [0..1]; 0 is inner-plane | |
tuple | BKLM_LAYER_MASK = (15 << BKLM_LAYER_BIT) |
bit mask for layer-1 [0..15]; 0 is innermost and 14 is outermost | |
tuple | BKLM_SECTOR_MASK = (7 << BKLM_SECTOR_BIT) |
bit mask for sector-1 [0..7]; 0 is on the +x axis and 2 is on the +y axis | |
tuple | BKLM_SECTION_MASK = (1 << BKLM_SECTION_BIT) |
bit mask for section [0..1]; forward is 0 | |
tuple | BKLM_MAXSTRIP_MASK = (63 << BKLM_MAXSTRIP_BIT) |
bit mask for maxStrip-1 [0..47] | |
tuple | BKLM_MODULEID_MASK = (BKLM_SECTION_MASK | BKLM_SECTOR_MASK | BKLM_LAYER_MASK) |
bit mask for unique module identifier (end, sector, layer) | |
Fill BKLM histograms of values from RawKLMs, KLMDigits, BKLMHit1ds, and BKLMHit2ds; (optionally) draw event displays from these data-objects.
Definition at line 18 of file EventInspectorPocketDAQ.py.
def __init__ | ( | self, | |
exp, | |||
run, | |||
histName, | |||
pdfName | |||
) |
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 eventPdfName (str): path name of the output event-display PDF file maxDisplays (int): max # of events displays to write minRPCHits (int): min # of RPC BKLMHit2ds in any sector for event display
Definition at line 53 of file EventInspectorPocketDAQ.py.
def beginRun | ( | self | ) |
Handle begin of run: print diagnostic message
Definition at line 341 of file EventInspectorPocketDAQ.py.
def endRun | ( | self | ) |
Handle end of run: print diagnostic message
Definition at line 345 of file EventInspectorPocketDAQ.py.
def event | ( | self, | |
eventHits, | |||
tt_ctime, | |||
raw_time | |||
) |
Process one event: fill histograms
Definition at line 349 of file EventInspectorPocketDAQ.py.
def initialize | ( | self | ) |
Handle job initialization: create histograms
Definition at line 105 of file EventInspectorPocketDAQ.py.
def makeGraph | ( | self, | |
x, | |||
y | |||
) |
Create and return a ROOT TGraph Arguments: x[] (real): x coordinates y[] (real): y coordinates
Definition at line 75 of file EventInspectorPocketDAQ.py.
def makeText | ( | self, | |
x, | |||
y, | |||
s | |||
) |
Create and return a ROOT TLatex with the following properties: size = 0.04, color = red, alignment = middle centre, angle = 90 degrees Arguments: x (real): x coordinate y (real): y coordinate s (str): character string
Definition at line 89 of file EventInspectorPocketDAQ.py.
def terminate | ( | self | ) |
Handle job termination: draw histograms, close output files
Definition at line 260 of file EventInspectorPocketDAQ.py.
|
static |
COPPER base identifier for BKLM readout.
Definition at line 23 of file EventInspectorPocketDAQ.py.
|
static |
bit position for layer-1 [0..14]; 0 is innermost
Definition at line 31 of file EventInspectorPocketDAQ.py.
|
static |
bit mask for layer-1 [0..15]; 0 is innermost and 14 is outermost
Definition at line 43 of file EventInspectorPocketDAQ.py.
|
static |
bit position for maxStrip-1 [0..47]
Definition at line 37 of file EventInspectorPocketDAQ.py.
|
static |
bit mask for maxStrip-1 [0..47]
Definition at line 49 of file EventInspectorPocketDAQ.py.
|
static |
bit mask for unique module identifier (end, sector, layer)
Definition at line 51 of file EventInspectorPocketDAQ.py.
|
static |
bit position for plane-1 [0..1]; 0 is inner-plane
Definition at line 29 of file EventInspectorPocketDAQ.py.
|
static |
bit mask for plane-1 [0..1]; 0 is inner-plane
Definition at line 41 of file EventInspectorPocketDAQ.py.
|
static |
bit position for section [0..1]; forward is 0
Definition at line 35 of file EventInspectorPocketDAQ.py.
|
static |
bit mask for section [0..1]; forward is 0
Definition at line 47 of file EventInspectorPocketDAQ.py.
|
static |
bit position for sector-1 [0..7]; 0 is on the +x axis and 2 is on the +y axis
Definition at line 33 of file EventInspectorPocketDAQ.py.
|
static |
bit mask for sector-1 [0..7]; 0 is on the +x axis and 2 is on the +y axis
Definition at line 45 of file EventInspectorPocketDAQ.py.
|
static |
bit position for strip-1 [0..47]
Definition at line 27 of file EventInspectorPocketDAQ.py.
|
static |
bit mask for strip-1 [0..47]
Definition at line 39 of file EventInspectorPocketDAQ.py.
|
static |
COPPER base identifier for EKLM readout.
Definition at line 25 of file EventInspectorPocketDAQ.py.
exp |
internal copy of experiment number
Definition at line 67 of file EventInspectorPocketDAQ.py.
hist_ChannelOccupancy |
scatterplots of channel occupancy (1 hit per readout channel) for each axis
Definition at line 154 of file EventInspectorPocketDAQ.py.
hist_ChannelOccupancyAL |
histograms of channel occupancy (1 hit per readout channel), indexed by axis/lane
Definition at line 162 of file EventInspectorPocketDAQ.py.
hist_jRPCtdc |
scatterplot of RPC calibrated time vs hit's index
Definition at line 230 of file EventInspectorPocketDAQ.py.
hist_jRPCtdc2 |
scatterplot of RPC calibrated time vs hit's index, corrected for DC-processing delay
Definition at line 234 of file EventInspectorPocketDAQ.py.
hist_PerChannelMultiplicity |
scatterplot of multiplicity of entries in one readout channel vs lane/axis
Definition at line 133 of file EventInspectorPocketDAQ.py.
hist_rawKLMlane |
histogram of the hit's lane
Definition at line 121 of file EventInspectorPocketDAQ.py.
hist_rawKLMsize |
histogram of number of hits, at most one entry per readout channel
Definition at line 129 of file EventInspectorPocketDAQ.py.
hist_rawKLMsizeMultihit |
histogram of number of hits, including multiple entries on one readout channel
Definition at line 125 of file EventInspectorPocketDAQ.py.
hist_revotimeRPCtdc |
scatterplot of RPC REVO9 range vs TDC value in event
Definition at line 219 of file EventInspectorPocketDAQ.py.
hist_revotimeRPCtdc2 |
scatterplot of RPC REVO9 range vs TDC value corrected for DC-processing delay in event
Definition at line 223 of file EventInspectorPocketDAQ.py.
hist_RPCLaneAxisOccupancy |
scatterplot of number of mapped RPC hits by lane/axis vs sector, at most one entry per readout channel
Definition at line 140 of file EventInspectorPocketDAQ.py.
hist_RPCRevotimeRange |
histogram of RPC REVO9 range in event
Definition at line 215 of file EventInspectorPocketDAQ.py.
hist_RPCTdcRange |
histogram of RPC TDC range in event
Definition at line 213 of file EventInspectorPocketDAQ.py.
hist_RPCTime |
histogram of RPC TDC value relative to event's REVO9 trigger time in last word of event
Definition at line 181 of file EventInspectorPocketDAQ.py.
hist_RPCTime2 |
histogram of RPC TDC value relative to event's ctime in event header
Definition at line 185 of file EventInspectorPocketDAQ.py.
hist_RPCTime2PerLayerA0 |
histograms of RPC TDC value relative to event's ctime for axis 0, indexed by lane
Definition at line 201 of file EventInspectorPocketDAQ.py.
hist_RPCTime2PerLayerA1 |
histograms of RPC TDC value relative to event's ctime for axis 1, indexed by lane
Definition at line 207 of file EventInspectorPocketDAQ.py.
hist_RPCTimeLowBitsBySector |
scatterplot of RPC TDC low-order bits vs sector (should be 0 since granularity is 4 ns)
Definition at line 175 of file EventInspectorPocketDAQ.py.
hist_RPCTimePerLayerA0 |
histograms of RPC TDC value relative to event's trigger time for axis 0, indexed by lane
Definition at line 189 of file EventInspectorPocketDAQ.py.
hist_RPCTimePerLayerA1 |
histograms of RPC TDC value relative to event's trigger time for axis 1, indexed by lane
Definition at line 195 of file EventInspectorPocketDAQ.py.
hist_ScintCtime |
histogram of scint CTIME value relative to event's ctime
Definition at line 249 of file EventInspectorPocketDAQ.py.
hist_ScintCtime0 |
histogram of scint CTIME value relative to event's trigger time
Definition at line 253 of file EventInspectorPocketDAQ.py.
hist_ScintCtimeRange |
histogram of scint CTIME range in event
Definition at line 257 of file EventInspectorPocketDAQ.py.
hist_ScintLaneAxisOccupancy |
scatterplot of number of mapped scint hits by lane/axis vs sector, at most one entry per readout channel
Definition at line 147 of file EventInspectorPocketDAQ.py.
hist_ScintTime |
histogram of scint TDC value relative to event's trigger time
Definition at line 245 of file EventInspectorPocketDAQ.py.
hist_ScintTimeLowBitsBySector |
scatterplot of scint TDC low-order bits vs sector
Definition at line 238 of file EventInspectorPocketDAQ.py.
hist_ttc_trigtime |
histogram of the tt_ctime relative to triggertime
Definition at line 116 of file EventInspectorPocketDAQ.py.
histName |
internal copy of the pathname of the output histogram ROOT file
Definition at line 71 of file EventInspectorPocketDAQ.py.
histogramFile |
Output ROOT TFile that will contain the histograms/scatterplots.
Definition at line 111 of file EventInspectorPocketDAQ.py.
pdfName |
internal copy of the pathname of the output histogram PDF file
Definition at line 73 of file EventInspectorPocketDAQ.py.
run |
internal copy of run number
Definition at line 69 of file EventInspectorPocketDAQ.py.