ATLAS Offline Software
Loading...
Searching...
No Matches
python.getFileLists Namespace Reference

Classes

class  findTCTFiles
class  TCTChainInfo

Functions

 tctPath (build, rel)
 usage ()

Variables

 rPath = tctPath(sys.argv[1],sys.argv[2])
 vPath = tctPath(sys.argv[3],sys.argv[4])
 pattern = re.compile(sys.argv[5])
 ff = findTCTFiles(rPath,vPath)
 tctlist = ff.getCommonChains()
 res = ff.findFiles(pattern)

Function Documentation

◆ tctPath()

python.getFileLists.tctPath ( build,
rel )

Definition at line 11 of file getFileLists.py.

11def tctPath(build,rel):
12 if not rel.startswith("rel_"):
13 rel="rel_"+rel
14 arch = os.environ['CMTCONFIG']
15 if build.startswith("17.") or build.startswith("18."):
16 arch = "i686-slc5-gcc43-opt"
17 return "/afs/cern.ch/atlas/project/RTT/prod/Results/rtt/"+rel+"/"+build+"/build/"+arch+"/Athena/Tier0ChainTests/"
18

◆ usage()

python.getFileLists.usage ( )

Definition at line 270 of file getFileLists.py.

270 def usage():
271 print ("Find compatible pairs of TCT files")
272 print ("Usage example")
273 print (sys.argv[0],"15.6.X.Y rel_1 15.6.X.Y-VAL rel_2 'myTAGCOMM.*root'")
274
StatusCode usage()

Variable Documentation

◆ ff

python.getFileLists.ff = findTCTFiles(rPath,vPath)

Definition at line 291 of file getFileLists.py.

◆ pattern

python.getFileLists.pattern = re.compile(sys.argv[5])

Definition at line 290 of file getFileLists.py.

◆ res

python.getFileLists.res = ff.findFiles(pattern)

Definition at line 295 of file getFileLists.py.

◆ rPath

python.getFileLists.rPath = tctPath(sys.argv[1],sys.argv[2])

Definition at line 279 of file getFileLists.py.

◆ tctlist

python.getFileLists.tctlist = ff.getCommonChains()

Definition at line 293 of file getFileLists.py.

◆ vPath

python.getFileLists.vPath = tctPath(sys.argv[3],sys.argv[4])

Definition at line 280 of file getFileLists.py.