ATLAS Offline Software
StgcMonitorUtils.py
Go to the documentation of this file.
1 #
2 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 #
4 
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 
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 
40 columnLabels_AL = padTriggerOccupancyLabels()[0]
41 columnLabels_CL = padTriggerOccupancyLabels()[1]
42 columnLabels_AS = padTriggerOccupancyLabels()[2]
43 columnLabels_CS = padTriggerOccupancyLabels()[3]
44 rowLabels = padTriggerOccupancyLabels()[4]
45 wireGroupNumberLabel = wireOccupancyLabels()
46 
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