ATLAS Offline Software
Variables
master Namespace Reference

Variables

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

Variable Documentation

◆ args

master.args

Definition at line 14 of file master.py.

◆ athenaCommand

string master.athenaCommand = "athena --filesInput=%s --evtMax=1 DSIDDatabaseTool/DSIDDatabaseToolAlgJobOptions.py" % (testSamplePath)

Definition at line 89 of file master.py.

◆ buildCommand

string master.buildCommand = "buildDatabase.py %s/data/Weight_files/%s" % (SystToolsPath, 'weight_'+gen+'_'+dsid+'.txt')

Definition at line 102 of file master.py.

◆ commandLine

string master.commandLine = "rm %s" % ('weight_'+gen+'_'+dsid+'.txt')

Definition at line 99 of file master.py.

◆ copyData

string master.copyData = "cp %s/data/DSID_Database.yaml %s/data/DSID_Database_%s.yaml" % (SystToolsPath, SystToolsPath, d1)

Definition at line 107 of file master.py.

◆ copyDict

string master.copyDict = "cp %s/data/Weight_Database.yaml %s/data/Weight_Database_%s.yaml" % (SystToolsPath, SystToolsPath, d1)

Definition at line 108 of file master.py.

◆ cpCommand

string master.cpCommand = "cp %s %s/data/Weight_files/." % ('weight_'+gen+'_'+dsid+'.txt',SystToolsPath)

Definition at line 97 of file master.py.

◆ d1

master.d1 = today.strftime("%Y-%m-%d")

Definition at line 106 of file master.py.

◆ default

master.default

Definition at line 11 of file master.py.

◆ dest

master.dest

Definition at line 11 of file master.py.

◆ dictionary

master.dictionary

Definition at line 47 of file master.py.

◆ dsid

master.dsid = thisSampleName.split(".")[1]

Definition at line 44 of file master.py.

◆ f

master.f = open(opts.inputSamples)

Definition at line 27 of file master.py.

◆ flag

bool master.flag = False

Definition at line 29 of file master.py.

◆ gen

string master.gen = thisSampleName.split(".")[2].split("_")[0]

Definition at line 32 of file master.py.

◆ help

master.help

Definition at line 11 of file master.py.

◆ keys

master.keys

Definition at line 47 of file master.py.

◆ mvCommand

string master.mvCommand = "mv weight.txt %s" % ('weight_'+gen+'_'+dsid+'.txt')

Definition at line 95 of file master.py.

◆ opts

master.opts

Definition at line 14 of file master.py.

◆ parser

master.parser = optparse.OptionParser(usage = "%prog [options]")

Definition at line 10 of file master.py.

◆ rmCommand

string master.rmCommand = "rm -r %s" % (tSample)

Definition at line 92 of file master.py.

◆ rucioCommand

string master.rucioCommand = "rucio download --nrandom 1 %s --dir %s " % (thisSampleName, opts.testSampleDir)

Definition at line 71 of file master.py.

◆ SystToolsPath

master.SystToolsPath = ""

Definition at line 18 of file master.py.

◆ testSamplePath

string master.testSamplePath = None

Definition at line 52 of file master.py.

◆ thisSampleName

master.thisSampleName = line.split()[0]

Definition at line 31 of file master.py.

◆ today

master.today = date.today()

Definition at line 105 of file master.py.

◆ tSample

master.tSample = None

Definition at line 51 of file master.py.

◆ weightflag

bool master.weightflag = False

Definition at line 53 of file master.py.