ATLAS Offline Software
Loading...
Searching...
No Matches
StgcMonitorUtils Namespace Reference

Functions

 padTriggerOccupancyLabels ()
 wireOccupancyLabels ()
 FEBLabels ()

Variables

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

Function Documentation

◆ FEBLabels()

StgcMonitorUtils.FEBLabels ( )

Definition at line 40 of file StgcMonitorUtils.py.

40def FEBLabels():
41 labels = [ f"Q{int(feb/8)+1}/L{feb%8+1}" for feb in range(0, 24) ]
42 return labels
43

◆ padTriggerOccupancyLabels()

StgcMonitorUtils.padTriggerOccupancyLabels ( )

Definition at line 5 of file StgcMonitorUtils.py.

5def padTriggerOccupancyLabels():
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()

StgcMonitorUtils.wireOccupancyLabels ( )

Definition at line 26 of file StgcMonitorUtils.py.

26def wireOccupancyLabels():
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

StgcMonitorUtils.columnLabels_AL = padTriggerOccupancyLabels()[0]

Definition at line 44 of file StgcMonitorUtils.py.

◆ columnLabels_AS

StgcMonitorUtils.columnLabels_AS = padTriggerOccupancyLabels()[2]

Definition at line 46 of file StgcMonitorUtils.py.

◆ columnLabels_CL

StgcMonitorUtils.columnLabels_CL = padTriggerOccupancyLabels()[1]

Definition at line 45 of file StgcMonitorUtils.py.

◆ columnLabels_CS

StgcMonitorUtils.columnLabels_CS = padTriggerOccupancyLabels()[3]

Definition at line 47 of file StgcMonitorUtils.py.

◆ FebLabels

StgcMonitorUtils.FebLabels = FEBLabels()

Definition at line 50 of file StgcMonitorUtils.py.

◆ rowLabels

StgcMonitorUtils.rowLabels = padTriggerOccupancyLabels()[4]

Definition at line 48 of file StgcMonitorUtils.py.

◆ wireGroupNumberLabel

StgcMonitorUtils.wireGroupNumberLabel = wireOccupancyLabels()

Definition at line 49 of file StgcMonitorUtils.py.