ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetCalibAlgs
PixelCalibAlgs
RadDamage
IBLLeakageCurrentData
listModules.py
Go to the documentation of this file.
1
#Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2
3
# Write a text file containing all module names
4
def
main
():
5
6
modules = []
7
# Get the module names
8
9
for
stave
in
range(1,15):
10
staveString = str(stave)
11
12
if
stave<10:
13
staveString=
"0"
+str(stave)
14
for
side
in
[
'A'
,
'C'
]:
15
for
DCSGroup
in
range(1,5):
16
modules += [
'LI_S'
+ str(staveString) +
'_'
+ side +
'_M'
+ str(DCSGroup)]
17
18
filename =
"modules.txt"
19
f = open(filename,
"w"
)
20
for
m
in
modules:
21
f.write(m+
"\n"
)
22
23
f.close()
24
25
if
__name__ ==
"__main__"
:
26
main
()
listModules.main
main()
Definition
listModules.py:4
Generated on
for ATLAS Offline Software by
1.17.0