![]() |
Belle II Software release-09-00-03
|


Public Member Functions | |
| def | __init__ (self, exp, run, eventPdfName, maxDisplays, minRPCHits, minMuidHits) |
| def | initialize (self) |
| def | terminate (self) |
| def | beginRun (self) |
| def | endRun (self) |
| def | event (self) |
Public Attributes | |
| exp | |
| internal copy of experiment number | |
| run | |
| internal copy of run number | |
| eventPdfName | |
| internal copy of the pathname of the output event-display PDF file | |
| maxDisplays | |
| internal copy of the maximum number of event displays to write | |
| minRPCHits | |
| internal copy of the minimum number of RPC KLMHit2ds in any sector for event display | |
| minMuidHits | |
| internal copy of the minimum number of MuidHits in the event for event display | |
| eventCounter | |
| event counter (needed for PDF table of contents' ordinal event#) | |
| eventDisplays | |
| event-display counter | |
| lastTitle | |
| title of the last-drawn event display (needed for PDF table of contents' last event) | |
| eventCanvas | |
| TCanvas on which event displays will be drawn. | |
| cosine | |
| table of cosines for the BKLM-sector normals | |
| sine | |
| table of sines for the BKLM-sector normals | |
| hist_XY | |
| blank scatterplot to define the bounds of the BKLM end view | |
| hist_ZY | |
| blank scatterplot to define the bounds of the BKLM side view | |
| hist_XYS | |
| list of blank scatterplots to define the per-sector bounds of the BKLM end view | |
| hist_ZYS | |
| blank scatterplot to define the per-sector bounds of the rotated BKLM side view | |
| bklmXY | |
| list of line-segment (x,y) points for the BKLM end view | |
| bklmZY | |
| list of line-segment (z,y) points for the BKLM side view | |
| bklmZYL | |
| list of line-segment (z,y) points for the BKLM sector's zoomed and rotated side view | |
| electIdToModuleId | |
| readout <-> detector map (from the information retrieved from the conditions database) | |
| sectorFBToDC | |
| map for sectorFB -> data concentrator | |
| dcToSectorFB | |
| map for data concentrator -> sectorFB | |
| t0Cal | |
| RPC-time calibration adjustment (ns) for rawKLMs. | |
| t0Cal2d | |
| RPC-time calibration adjustment (ns) for KLMHit2ds. | |
| ct0Cal | |
| scint-ctime calibration adjustment (ns) for rawKLMs | |
| ct0Cal2d | |
| scint-ctime calibration adjustment (ns) for KLMHit2ds | |
| t0RPC | |
| per-sector variations in RPC-time calibration adjustment (ns) for rawKLMs | |
| ct0Scint | |
| per-sector variations in scint-ctime calibration adjustment (ns) for rawKLMs | |
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) | |
Draw BKLM event displays from KLMHit2ds, ExtHits, and MuidHits.
Definition at line 28 of file EventDisplayer.py.
| def __init__ | ( | self, | |
| exp, | |||
| run, | |||
| eventPdfName, | |||
| maxDisplays, | |||
| minRPCHits, | |||
| minMuidHits | |||
| ) |
Constructor
Arguments:
exp (str): formatted experiment number
run (str): formatter run number
eventPdfName (str): path name of the output event-display PDF file
maxDisplays (int): max # of events displays to write
minRPCHits (int): min # of RPC KLMHit2ds in any sector for event display
minMuidHits (int): min # of MuidHits in the event for event display
Definition at line 62 of file EventDisplayer.py.
| def beginRun | ( | self | ) |
Handle begin of run: print diagnostic message
Definition at line 320 of file EventDisplayer.py.
| def endRun | ( | self | ) |
Handle end of run: print diagnostic message
Definition at line 325 of file EventDisplayer.py.
| def event | ( | self | ) |
Process one event: (optionally) draw event display
Definition at line 330 of file EventDisplayer.py.
| def initialize | ( | self | ) |
Handle job initialization: fill the mapping database, create histograms, open the event-display file
Definition at line 93 of file EventDisplayer.py.
| def terminate | ( | self | ) |
Handle job termination: close event-display file
Definition at line 313 of file EventDisplayer.py.
|
static |
COPPER base identifier for BKLM readout.
Definition at line 32 of file EventDisplayer.py.
|
static |
bit position for layer-1 [0..14]; 0 is innermost
Definition at line 40 of file EventDisplayer.py.
|
static |
bit mask for layer-1 [0..15]; 0 is innermost and 14 is outermost
Definition at line 52 of file EventDisplayer.py.
|
static |
bit position for maxStrip-1 [0..47]
Definition at line 46 of file EventDisplayer.py.
|
static |
bit mask for maxStrip-1 [0..47]
Definition at line 58 of file EventDisplayer.py.
|
static |
bit mask for unique module identifier (end, sector, layer)
Definition at line 60 of file EventDisplayer.py.
|
static |
bit position for plane-1 [0..1]; 0 is inner-plane
Definition at line 38 of file EventDisplayer.py.
|
static |
bit mask for plane-1 [0..1]; 0 is inner-plane
Definition at line 50 of file EventDisplayer.py.
|
static |
bit position for section [0..1]; forward is 0
Definition at line 44 of file EventDisplayer.py.
|
static |
bit mask for section [0..1]; forward is 0
Definition at line 56 of file EventDisplayer.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 42 of file EventDisplayer.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 54 of file EventDisplayer.py.
|
static |
bit position for strip-1 [0..47]
Definition at line 36 of file EventDisplayer.py.
|
static |
bit mask for strip-1 [0..47]
Definition at line 48 of file EventDisplayer.py.
| bklmXY |
list of line-segment (x,y) points for the BKLM end view
Definition at line 150 of file EventDisplayer.py.
| bklmZY |
list of line-segment (z,y) points for the BKLM side view
Definition at line 199 of file EventDisplayer.py.
| bklmZYL |
list of line-segment (z,y) points for the BKLM sector's zoomed and rotated side view
Definition at line 283 of file EventDisplayer.py.
| cosine |
table of cosines for the BKLM-sector normals
Definition at line 108 of file EventDisplayer.py.
| ct0Cal |
scint-ctime calibration adjustment (ns) for rawKLMs
Definition at line 305 of file EventDisplayer.py.
| ct0Cal2d |
scint-ctime calibration adjustment (ns) for KLMHit2ds
Definition at line 307 of file EventDisplayer.py.
| ct0Scint |
per-sector variations in scint-ctime calibration adjustment (ns) for rawKLMs
Definition at line 311 of file EventDisplayer.py.
| dcToSectorFB |
map for data concentrator -> sectorFB
Definition at line 299 of file EventDisplayer.py.
|
static |
COPPER base identifier for EKLM readout.
Definition at line 34 of file EventDisplayer.py.
| electIdToModuleId |
readout <-> detector map (from the information retrieved from the conditions database)
Definition at line 295 of file EventDisplayer.py.
| eventCanvas |
TCanvas on which event displays will be drawn.
Definition at line 99 of file EventDisplayer.py.
| eventCounter |
event counter (needed for PDF table of contents' ordinal event#)
Definition at line 87 of file EventDisplayer.py.
| eventDisplays |
event-display counter
Definition at line 89 of file EventDisplayer.py.
| eventPdfName |
internal copy of the pathname of the output event-display PDF file
Definition at line 79 of file EventDisplayer.py.
| exp |
internal copy of experiment number
Definition at line 75 of file EventDisplayer.py.
| hist_XY |
blank scatterplot to define the bounds of the BKLM end view
Definition at line 116 of file EventDisplayer.py.
| hist_XYS |
list of blank scatterplots to define the per-sector bounds of the BKLM end view
Definition at line 128 of file EventDisplayer.py.
| hist_ZY |
blank scatterplot to define the bounds of the BKLM side view
Definition at line 119 of file EventDisplayer.py.
| hist_ZYS |
blank scatterplot to define the per-sector bounds of the rotated BKLM side view
Definition at line 146 of file EventDisplayer.py.
| lastTitle |
title of the last-drawn event display (needed for PDF table of contents' last event)
Definition at line 91 of file EventDisplayer.py.
| maxDisplays |
internal copy of the maximum number of event displays to write
Definition at line 81 of file EventDisplayer.py.
| minMuidHits |
internal copy of the minimum number of MuidHits in the event for event display
Definition at line 85 of file EventDisplayer.py.
| minRPCHits |
internal copy of the minimum number of RPC KLMHit2ds in any sector for event display
Definition at line 83 of file EventDisplayer.py.
| run |
internal copy of run number
Definition at line 77 of file EventDisplayer.py.
| sectorFBToDC |
map for sectorFB -> data concentrator
Definition at line 297 of file EventDisplayer.py.
| sine |
table of sines for the BKLM-sector normals
Definition at line 110 of file EventDisplayer.py.
| t0Cal |
RPC-time calibration adjustment (ns) for rawKLMs.
Definition at line 301 of file EventDisplayer.py.
| t0Cal2d |
RPC-time calibration adjustment (ns) for KLMHit2ds.
Definition at line 303 of file EventDisplayer.py.
| t0RPC |
per-sector variations in RPC-time calibration adjustment (ns) for rawKLMs
Definition at line 309 of file EventDisplayer.py.