Class Reference for E1039 Core & Analysis Software
submit_e1039.py File Reference

Go to the source code of this file.

Namespaces

 submit_e1039
 

Variables

 submit_e1039.jobname = sys.argv[1]
 
 submit_e1039.njobs = int(sys.argv[2])
 
 submit_e1039.nevents = int(sys.argv[3])
 
 submit_e1039.do_submition = bool(sys.argv[4])
 
string submit_e1039.sphenix_build_tag = 'new'
 
string submit_e1039.local_build_tag = 'install'
 
string submit_e1039.condor_base_path = '/gpfs/mnt/gpfs04/sphenix/user/yuhw/workspace/TargetSim/TargetSim'
 
string submit_e1039.macros_path = condor_base_path
 
string submit_e1039.output_path = condor_base_path + '/output/' + '/{}/'.format(jobname)
 
string submit_e1039.condor_work_dir_base = condor_base_path + '/work/' + '/{}/'.format(jobname)
 
string submit_e1039.condor_local = condor_base_path + '/temp/'
 
string submit_e1039.condor_work_dir = condor_work_dir_base + '/{}/'.format(ijob)
 
string submit_e1039.runscript = condor_work_dir + '/run.csh'
 
 submit_e1039.RUNSCRIPT = open(runscript,'w')
 
string submit_e1039.cmd = 'time root -l -b -q Fun4All_G4_E1039_R2.C\\({}\\‍)'.format(nevents)
 
string submit_e1039.condorfile = condor_work_dir + '/condor.job'
 
string submit_e1039.logfile = condor_work_dir + '/log.txt'
 
string submit_e1039.outfile = condor_work_dir + '/out.txt'
 
string submit_e1039.errfile = condor_work_dir + '/err.txt'
 
 submit_e1039.CONDORFILE = open(condorfile,'w')