Skip to main content

Posts

Showing posts from February 8, 2009

merge job outputs in order to have ONE root file per sample

cd /prj_root/2671/top_write/weigang/Moriond2009/RunIIa/qcd vi /work/landshark-clued0/weigang/Morion2009/top_cafe/macros/singletop/TopoMerge.sh change reco=p17 nohup /work/landshark-clued0/weigang/Morion2009/top_cafe/macros/singletop/TopoMerge.sh /prj_root/2671/top_write/weigang/Moriond2009/RunIIa/qcd QCD MU > & merge_mu.log & nohup /work/landshark-clued0/weigang/Morion2009/top_cafe/macros/singletop/TopoMerge.sh /prj_root/2671/top_write/weigang/Moriond2009/RunIIa/qcd QCD CC > & merge_cc.log & vi /work/landshark-clued0/weigang/Morion2009/top_cafe/macros/singletop/TopoMerge.sh change reco=p20 nohup /work/landshark-clued0/weigang/Morion2009/top_cafe/macros/singletop/TopoMerge.sh /prj_root/2671/top_write/weigang/Moriond2009/RunIIb/qcd QCD MU > & merge_mu.log & nohup /work/landshark-clued0/weigang/Morion2009/top_cafe/macros/singletop/TopoMerge.sh /prj_root/2671/top_write/weigang/Moriond2009/RunIIb/qcd QCD CC > & merge_cc.log & ** these jobs are run...

Check SAM Outputs for MU.

10:48 top_cafe/macros/singletop/CheckJobOutputs.sh -r p17 -a MU -s QCD -d VJets_MUinclusive_Moriond09_RunIIa_v1_singletop_02052009 /prj_root/2671/top_write/weigang/Moriond2009/RunIIa/qcd 10:49 top_cafe/macros/singletop/CheckJobOutputs.sh -r p20 -a MU -s QCD -d VJets_MUinclusive_Moriond09_RunIIb_v2_singletop_02052009 /prj_root/2671/top_write/weigang/Moriond2009/RunIIb/qcd Both are OK. So now we have finished for small QCD.

Snapshots for QCD

VJets_EMinclusive_Moriond09_RunIIa_v1_singletop_02052009 VJets_EMinclusive_Moriond09_ RunIIb_v2_singletop_02052009 VJets_MUinclusive_Moriond09_ RunIIa_v1_singletop_02052009 VJets_MUinclusive_Moriond09_ RunIIb_v2_singletop_02052009

Submit the jobs for MU

landshark-clued0:/work/landshark-clued0/weigang/Morion2009> top_cafe/configs/singletop/submit_p21_recaf.sh p20 MU qcd zero /prj_root/2671/top_write/weigang/Moriond2009/RunIIb/qcd Input parameters: p20 MU qcd zero /prj_root/2671/top_write/weigang/Moriond2009/RunIIb/qcd /prj_root/2671/top_write/weigang/Moriond2009/RunIIb/qcd/jobtarball_10-Feb-2009.tar.gz cabsrv1 Create/update the tarball /prj_root/2671/top_write/weigang/Moriond2009/RunIIb/qcd/jobtarball_10-Feb-2009.tar.gz using everything under /work/landshark-clued0/weigang/Morion2009 ? [y/n] ## press n. Submitting QCD... Sample QCD # - Submitting job 1 -- p20_MU_QCD_PreTag runcafe -no-outdir-check -dest=cabsrv1 -outdir=/prj_root/2671/top_write/weigang/Moriond2009/RunIIb/qcd -name=p20_MU_QCD_PreTag -def=VJets_MUinclusive_Moriond09_RunIIb_v2 -jobs=80 -- top_cafe/configs/singletop/mujets_p21/SingleTopMuJets_Reverse_RunIIb_recaf.config VJets.TempTree: TMBTree VJets.Analysis: MU VJets.SampleCode: p20_MU_QCD_PreTag Created subm...

Recovering failed SAM jobs

> cd /d0mino/weigang landshark-clued0:/d0mino/weigang> grep "VJets_EMinclusive_Moriond09_RunIIb_v2_singletop_02052009" p20_CC_QCD_PreTag.o* p20_CC_QCD_PreTag.o3847237:Dataset definition name: VJets_EMinclusive_Moriond09_RunIIb_v2_singletop_02052009 ID: 1607119 landshark-clued0:/d0mino/weigang> vi p20_CC_QCD_PreTag.o3847237 search "project" (/project). Stopping the project weigang_32402_20090205222821 Project 'weigang_32402_20090205222821' on station 'fnal-cabsrv1' has been stopped Project Name: weigang_32402_20090205222821 ID: 3387333 No of files in snapshot: 6640 Snapshot ID: 2191551 Dataset definition name: VJets_EMinclusive_Moriond09_RunIIb_v2_singletop_02052009 ID: 1607119 Station Name: fnal-cabsrv1 ID: 406 Username: weigang ID: 1253 Work Group Name: dzero ID: 37 cd /work/landshark-clued0/weigang/Morion2009 setup sam sam get project summary --project=weigang_32402_20090205222821 sam generate strict recovery project --projec...

Check SAM Job Outputs

use script top_cafe/macros/singletop/CheckJobOutputs.sh to check if the processed number of events is the same with total number of events in the data set. ## check p17 top_cafe/macros/singletop/CheckJobOutputs.sh -r p17 -a CC -s QCD -d VJets_EMinclusive_Moriond09_RunIIa_v1_singletop_02052009 /prj_root/2671/top_write/weigang/Moriond2009/RunIIa/qcd # everything is good. ## check p20 top_cafe/macros/singletop/CheckJobOutputs.sh -r p20 -a CC -s QCD -d VJets_EMinclusive_Moriond09_RunIIb_v2_singletop_02052009 /prj_root/2671/top_write/weigang/Moriond2009/RunIIb/qcd # need resubmit failed jobs.