ATLAS Offline Software
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()
plotBeamSpotVxVal.range
range
Definition: plotBeamSpotVxVal.py:195
Trk::open
@ open
Definition: BinningType.h:40
listModules.main
def main()
Definition: listModules.py:4
str
Definition: BTagTrackIpAccessor.cxx:11