babymaker  e95a6a9342d4604277fe7cc6149b6b5b24447d89
Variables
stageout Namespace Reference

Variables

string origin = 'srm://heplnx204.pp.rl.ac.uk:8443/srm/managerv2?SFN=/pnfs/pp.rl.ac.uk/data/cms/store/temp/user/ana.91d36fddf73016fe56a4674b87cd86f61feae489/'
 
string dest = 'srm://cms25.physics.ucsb.edu:8443/srm/v2/server?SFN=/mnt/hadoop/cms/store/user/ana/'
 
dictionary tasks
 
tuple hadoop_base = dest.split('SFN=')
 
tuple good_files = glob.glob(hadoop_base + task.replace('crab_','').split('__')[0]+"/" + task + "/*/*/*root")
 
tuple runs = set([i.split('/')[-2] for i in good_files])
 
int ndls = 0
 
list abspath = template[0:template.rfind('_')]
 
tuple relpath = abspath.replace(hadoop_base,'')
 
string cmd = 'lcg-cp --verbose --vo=cms -b -D srmv2 '
 
tuple exitcode = os.system(cmd)
 

Variable Documentation

list stageout.abspath = template[0:template.rfind('_')]

Definition at line 73 of file stageout.py.

string stageout.cmd = 'lcg-cp --verbose --vo=cms -b -D srmv2 '

Definition at line 78 of file stageout.py.

string stageout.dest = 'srm://cms25.physics.ucsb.edu:8443/srm/v2/server?SFN=/mnt/hadoop/cms/store/user/ana/'

Definition at line 29 of file stageout.py.

tuple stageout.exitcode = os.system(cmd)

Definition at line 79 of file stageout.py.

tuple stageout.good_files = glob.glob(hadoop_base + task.replace('crab_','').split('__')[0]+"/" + task + "/*/*/*root")

Definition at line 50 of file stageout.py.

tuple stageout.hadoop_base = dest.split('SFN=')

Definition at line 49 of file stageout.py.

int stageout.ndls = 0

Definition at line 65 of file stageout.py.

string stageout.origin = 'srm://heplnx204.pp.rl.ac.uk:8443/srm/managerv2?SFN=/pnfs/pp.rl.ac.uk/data/cms/store/temp/user/ana.91d36fddf73016fe56a4674b87cd86f61feae489/'

Definition at line 28 of file stageout.py.

tuple stageout.relpath = abspath.replace(hadoop_base,'')

Definition at line 74 of file stageout.py.

tuple stageout.runs = set([i.split('/')[-2] for i in good_files])

Definition at line 52 of file stageout.py.

dictionary stageout.tasks
Initial value:
1 = {
2 'crab_SMS-T1tttt_mGluino-600_mLSP-250to325_TuneCUETP8M1_13TeV-madgraphMLM-pythia8__RunIISpring15FSPremix-MCRUN2_74_V9-v1__MINIAODSIM': 11,
3 'crab_SMS-T1tttt_mGluino-1150to1175_mLSP-750to925_TuneCUETP8M1_13TeV-madgraphMLM-pythia8__RunIISpring15FSPremix-MCRUN2_74_V9-v1__MINIAODSIM': 10,
4 'crab_SMS-T1tttt_mGluino-1400_mLSP-1to1175_TuneCUETP8M1_13TeV-madgraphMLM-pythia8__RunIISpring15FSPremix-MCRUN2_74_V9-v1__MINIAODSIM': 11,
5 'crab_SMS-T1tttt_mGluino-1425to1450_mLSP-1to1200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8__RunIISpring15FSPremix-MCRUN2_74_V9-v1__MINIAODSIM': 11,
6 'crab_SMS-T1tttt_mGluino-1800to1850_mLSP-1to1450_TuneCUETP8M1_13TeV-madgraphMLM-pythia8__RunIISpring15FSPremix-MCRUN2_74_V9-v1__MINIAODSIM': 13,
7 'crab_TTJets_HT-800to1200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8__RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1__MINIAODSIM': 25,
8 'crab_TTJets_SingleLeptFromT_TuneCUETP8M1_13TeV-madgraphMLM-pythia8__RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1__MINIAODSIM': 70
9 }

Definition at line 32 of file stageout.py.