ATLAS Offline Software
Namespaces | Variables
master.py File Reference

Go to the source code of this file.

Namespaces

 master
 

Variables

 master.parser = optparse.OptionParser(usage = "%prog [options]")
 
 master.help
 
 master.dest
 
 master.default
 
 master.opts
 
 master.args
 
string master.SystToolsPath = ""
 
 master.f = open(opts.inputSamples)
 
bool master.flag = False
 
 master.thisSampleName = line.split()[0]
 
 master.gen = thisSampleName.split(".")[2].split("_")[0]
 
 master.dsid = thisSampleName.split(".")[1]
 
 master.dictionary
 
 master.keys
 
 master.tSample = None
 
 master.testSamplePath = None
 
bool master.weightflag = False
 
string master.rucioCommand = "rucio download --nrandom 1 %s --dir %s " % (thisSampleName, opts.testSampleDir)
 
string master.athenaCommand = "athena --filesInput=%s --evtMax=1 DSIDDatabaseTool/DSIDDatabaseToolAlgJobOptions.py" % (testSamplePath)
 
string master.rmCommand = "rm -r %s" % (tSample)
 
string master.mvCommand = "mv weight.txt %s" % ('weight_'+gen+'_'+dsid+'.txt')
 
string master.cpCommand = "cp %s %s/data/Weight_files/." % ('weight_'+gen+'_'+dsid+'.txt',SystToolsPath)
 
string master.commandLine = "rm %s" % ('weight_'+gen+'_'+dsid+'.txt')
 
string master.buildCommand = "buildDatabase.py %s/data/Weight_files/%s" % (SystToolsPath, 'weight_'+gen+'_'+dsid+'.txt')
 
 master.today = date.today()
 
 master.d1 = today.strftime("%Y-%m-%d")
 
string master.copyData = "cp %s/data/DSID_Database.yaml %s/data/DSID_Database_%s.yaml" % (SystToolsPath, SystToolsPath, d1)
 
string master.copyDict = "cp %s/data/Weight_Database.yaml %s/data/Weight_Database_%s.yaml" % (SystToolsPath, SystToolsPath, d1)