Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
I wanted to generate events for a series of values of Higgs mass. Here are the files: This is my condor job file myjob.cmd . The last line of the job file Queue 10 creates 10 condor jobs. The variable $(Process) runs from 0..9.
initialdir = /a/home/karthur/apenson/testarea/13.0.40/AtlfastII/test | ||||||||
Line: 15 to 15 | ||||||||
This is my executable myjob . Its argument is the $(Process) variable. The expr function converts this into a mass (in GeV). The sed function then creates a temporary joboptions file from the master file CSC.00xxxx.Hppee.py . The csc_* scripts generate events using AtlfastII | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | #!/bin/zsh | |||||||
source ~/cmthome/setup.sh -tag=13.0.40 | ||||||||
Changed: | ||||||||
< < | cd ~/testarea/13.0.40/AtlfastII/test | |||||||
> > | cd /a/home/karthur/apenson/testarea/13.0.40/AtlfastII/WprWZqqee_mass | |||||||
higgs_mass=`expr 1000 + 100 \* $1` | ||||||||
Changed: | ||||||||
< < | events=100 | |||||||
> > | events=1000 joboptions_file=CSC.00xxxx.WprWZqqee.mass.py.tmp sed '/pmas 34/s/2000/'$higgs_mass'/' CSC.00xxxx.WprWZqqee.py > $joboptions_file | |||||||
Changed: | ||||||||
< < | joboptions_file=CSC.00xxxx.Hppee.mass.py.tmp output_file=CSC.00xxxx.Hppee.${higgs_mass}.AANT.root | |||||||
> > | output_aant_file=CSC.00xxxx.WprWZqqee.${higgs_mass}.AANT.root output_aod_file=CSC.00xxxx.WprWZqqee.${higgs_mass}.AOD.root | |||||||
Changed: | ||||||||
< < | sed '/pmas 9900042/s/2000/'$higgs_mass'/' CSC.00xxxx.Hppee.py > $joboptions_file ../csc_evgen_trf.py -t 8999 1 $events 54298752 $joboptions_file CSC.00xxxx.Hppee.evgen.pool.root.tmp NONE NONE |tee -a evgen.Hppee.${higgs_mass}.log ../csc_simul_trf.py CSC.00xxxx.Hppee.evgen.pool.root.tmp HITS.root.tmp RDO.root.tmp $events 0 12 "ATLAS-CSC-01-02-00" 1 2 'QGSP_EMV' 'CaloMuonOffSimulDigitConfig.py' |tee -a simul.Hppee.${higgs_mass}.log ../csc_recoFastCaloSim_IDonly_trf.py RDO.root.tmp AOD.root.tmp $output_file $events 0 "ATLAS-CSC-01-02-00" NONE |tee -a reco.Hppee.${higgs_mass}.log | |||||||
> > | ../csc_evgen_trf.py -t 8999 1 $events 54298752 $joboptions_file CSC.00xxxx.WprWZqqee.evgen.pool.root NONE NONE |tee -a evgen.WprWZqqee.${higgs_mass}.log ../csc_simul_trf.py CSC.00xxxx.WprWZqqee.evgen.pool.root HITS.root RDO.root $events 0 12 "ATLAS-CSC-01-02-00" 1 2 'QGSP_EMV' 'CaloMuonOffSimulDigitConfig.py' |tee -a simul.WprWZqqee.${higgs_mass}.log ../csc_recoFastCaloSim_IDonly_trf.py RDO.root $output_aod_file $output_aant_file $events 0 "ATLAS-CSC-01-02-00" NONE |tee -a reco.WprWZqqee.${higgs_mass}.log |