![]() |
ATLAS Offline Software
|
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) |
| string master.athenaCommand = "athena --filesInput=%s --evtMax=1 DSIDDatabaseTool/DSIDDatabaseToolAlgJobOptions.py" % (testSamplePath) |
| 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) |
| string master.cpCommand = "cp %s %s/data/Weight_files/." % ('weight_'+gen+'_'+dsid+'.txt',SystToolsPath) |
| master.dsid = thisSampleName.split(".")[1] |
| string master.gen = thisSampleName.split(".")[2].split("_")[0] |
| master.parser = optparse.OptionParser(usage = "%prog [options]") |
| string master.rucioCommand = "rucio download --nrandom 1 %s --dir %s " % (thisSampleName, opts.testSampleDir) |
| master.thisSampleName = line.split()[0] |
1.8.18