babymaker  e95a6a9342d4604277fe7cc6149b6b5b24447d89
Namespaces | Variables
stageout.py File Reference

Go to the source code of this file.

Namespaces

 stageout
 

Variables

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/'
 
string stageout.dest = 'srm://cms25.physics.ucsb.edu:8443/srm/v2/server?SFN=/mnt/hadoop/cms/store/user/ana/'
 
dictionary stageout.tasks
 
tuple stageout.hadoop_base = dest.split('SFN=')
 
tuple stageout.good_files = glob.glob(hadoop_base + task.replace('crab_','').split('__')[0]+"/" + task + "/*/*/*root")
 
tuple stageout.runs = set([i.split('/')[-2] for i in good_files])
 
int stageout.ndls = 0
 
list stageout.abspath = template[0:template.rfind('_')]
 
tuple stageout.relpath = abspath.replace(hadoop_base,'')
 
string stageout.cmd = 'lcg-cp --verbose --vo=cms -b -D srmv2 '
 
tuple stageout.exitcode = os.system(cmd)