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

Functions

 main ()

Function Documentation

◆ main()

listModules.main ( )

Definition at line 4 of file listModules.py.

4def 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
int main()
Definition hello.cxx:18