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

Variables

 parser = optparse.OptionParser(usage = "%prog [options]")
 help
 dest
 default
 opts
 args
str 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
str rucioCommand = "rucio download --nrandom 1 %s --dir %s " % (thisSampleName, opts.testSampleDir)
str athenaCommand = "athena --filesInput=%s --evtMax=1 DSIDDatabaseTool/DSIDDatabaseToolAlgJobOptions.py" % (testSamplePath)
str rmCommand = "rm -r %s" % (tSample)
str mvCommand = "mv weight.txt %s" % ('weight_'+gen+'_'+dsid+'.txt')
str cpCommand = "cp %s %s/data/Weight_files/." % ('weight_'+gen+'_'+dsid+'.txt',SystToolsPath)
str commandLine = "rm %s" % ('weight_'+gen+'_'+dsid+'.txt')
str buildCommand = "buildDatabase.py %s/data/Weight_files/%s" % (SystToolsPath, 'weight_'+gen+'_'+dsid+'.txt')
 today = date.today()
 d1 = today.strftime("%Y-%m-%d")
str copyData = "cp %s/data/DSID_Database.yaml %s/data/DSID_Database_%s.yaml" % (SystToolsPath, SystToolsPath, d1)
str 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

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

Definition at line 89 of file master.py.

◆ buildCommand

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

Definition at line 102 of file master.py.

◆ commandLine

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

Definition at line 99 of file master.py.

◆ copyData

str 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

str 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

str 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

str 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

str 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

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

Definition at line 92 of file master.py.

◆ rucioCommand

str 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

str 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.