ATLAS Offline Software
Functions | Variables
StgcMonitorUtils Namespace Reference

Functions

def padTriggerOccupancyLabels ()
 
def wireOccupancyLabels ()
 

Variables

def columnLabels_AL = padTriggerOccupancyLabels()[0]
 
def columnLabels_CL = padTriggerOccupancyLabels()[1]
 
def columnLabels_AS = padTriggerOccupancyLabels()[2]
 
def columnLabels_CS = padTriggerOccupancyLabels()[3]
 
def rowLabels = padTriggerOccupancyLabels()[4]
 
def wireGroupNumberLabel = wireOccupancyLabels()
 

Function Documentation

◆ padTriggerOccupancyLabels()

def StgcMonitorUtils.padTriggerOccupancyLabels ( )

Definition at line 5 of file StgcMonitorUtils.py.

6  columnLabels_AL, columnLabels_CL = ['']*71, ['']*71
7  columnLabels_AS, columnLabels_CS = ['']*71, ['']*71
8  rowLabels = ['']*56
9  counterColumnLabels, counterRowLabels = 1, 1
10 
11  for columnLabelIt in range(0, 71):
12  if (columnLabelIt/3 - 1) % 3 == 0:
13  columnLabels_AL[columnLabelIt] = 'A' + str(2*counterColumnLabels - 1).zfill(2)
14  columnLabels_CL[columnLabelIt] = 'C' + str(2*counterColumnLabels - 1).zfill(2)
15  columnLabels_AS[columnLabelIt - 2] = 'A' + str(2*counterColumnLabels).zfill(2)
16  columnLabels_CS[columnLabelIt - 2] = 'C' + str(2*counterColumnLabels).zfill(2)
17  counterColumnLabels += 1
18 
19  for rowLabelIt in range(0, 56):
20  if (rowLabelIt/5 - 1) % 4 == 0:
21  rowLabels[rowLabelIt] = 'Q' + str(counterRowLabels)
22  counterRowLabels += 1
23 
24  return columnLabels_AL, columnLabels_CL, columnLabels_AS, columnLabels_CS, rowLabels
25 

◆ wireOccupancyLabels()

def StgcMonitorUtils.wireOccupancyLabels ( )

Definition at line 26 of file StgcMonitorUtils.py.

27  wireGroupNumberLabel = ['']*929
28  counterGroupNumberLabel = 1
29 
30  for wireGroupNumberIt in range(0, 929):
31  if (wireGroupNumberIt/29 + 3) % 4 == 0:
32  wireGroupNumberLabel[wireGroupNumberIt] = 'S' + str(counterGroupNumberLabel).zfill(2)
33  counterGroupNumberLabel += 1
34  elif (wireGroupNumberIt - 76) % 116 == 0:
35  wireGroupNumberLabel[wireGroupNumberIt] = 'S' + str(counterGroupNumberLabel).zfill(2)
36  counterGroupNumberLabel += 1
37 
38  return wireGroupNumberLabel
39 

Variable Documentation

◆ columnLabels_AL

def StgcMonitorUtils.columnLabels_AL = padTriggerOccupancyLabels()[0]

Definition at line 40 of file StgcMonitorUtils.py.

◆ columnLabels_AS

def StgcMonitorUtils.columnLabels_AS = padTriggerOccupancyLabels()[2]

Definition at line 42 of file StgcMonitorUtils.py.

◆ columnLabels_CL

def StgcMonitorUtils.columnLabels_CL = padTriggerOccupancyLabels()[1]

Definition at line 41 of file StgcMonitorUtils.py.

◆ columnLabels_CS

def StgcMonitorUtils.columnLabels_CS = padTriggerOccupancyLabels()[3]

Definition at line 43 of file StgcMonitorUtils.py.

◆ rowLabels

def StgcMonitorUtils.rowLabels = padTriggerOccupancyLabels()[4]

Definition at line 44 of file StgcMonitorUtils.py.

◆ wireGroupNumberLabel

def StgcMonitorUtils.wireGroupNumberLabel = wireOccupancyLabels()

Definition at line 45 of file StgcMonitorUtils.py.

StgcMonitorUtils.padTriggerOccupancyLabels
def padTriggerOccupancyLabels()
Definition: StgcMonitorUtils.py:5
StgcMonitorUtils.wireOccupancyLabels
def wireOccupancyLabels()
Definition: StgcMonitorUtils.py:26
plotBeamSpotVxVal.range
range
Definition: plotBeamSpotVxVal.py:195
str
Definition: BTagTrackIpAccessor.cxx:11