SkimTest061212
Description
This tests executes the chain done on a smaller sample in
DssPrototype.
Here the skim is executed on the whole dataset (instead of 250 elements - 20 positive samples) and using submitted jobs (Condor or Grid).
The execution and validation are not fully automatic even if these are more automatic than the one in
DssPrototype.
To concatenate inputs and plot them in root:
TChain* tags = new TChain();
tags->AddFile("/local/workdir/testIdeal_07.005711.PythiaB_bbmu6mu4X.recon.TAG.v12000201_tid002968/testIdeal_07.005711.PythiaB_bbmu6mu4X.recon.TAG.v12000201_tid002968._01-04.root",TChain::kBigNumber,"CollectionTree");
tags->AddFile("/local/workdir/testIdeal_07.005711.PythiaB_bbmu6mu4X.recon.TAG.v12000201_tid002968/testIdeal_07.005711.PythiaB_bbmu6mu4X.recon.TAG.v12000201_tid002968._05-09.root",TChain::kBigNumber,"CollectionTree");
tags->AddFile("/local/workdir/testIdeal_07.005711.PythiaB_bbmu6mu4X.recon.TAG.v12000201_tid002968/testIdeal_07.005711.PythiaB_bbmu6mu4X.recon.TAG.v12000201_tid002968._10-13.root",TChain::kBigNumber,"CollectionTree");
tags->AddFile("/local/workdir/testIdeal_07.005711.PythiaB_bbmu6mu4X.recon.TAG.v12000201_tid002968/testIdeal_07.005711.PythiaB_bbmu6mu4X.recon.TAG.v12000201_tid002968._14-17.root",TChain::kBigNumber,"CollectionTree");
tags->AddFile("/local/workdir/testIdeal_07.005711.PythiaB_bbmu6mu4X.recon.TAG.v12000201_tid002968/testIdeal_07.005711.PythiaB_bbmu6mu4X.recon.TAG.v12000201_tid002968._18-21.root",TChain::kBigNumber,"CollectionTree");
tags->AddFile("/local/workdir/testIdeal_07.005711.PythiaB_bbmu6mu4X.recon.TAG.v12000201_tid002968/testIdeal_07.005711.PythiaB_bbmu6mu4X.recon.TAG.v12000201_tid002968._22-25.root",TChain::kBigNumber,"CollectionTree");
tags->AddFile("/local/workdir/testIdeal_07.005711.PythiaB_bbmu6mu4X.recon.TAG.v12000201_tid002968/testIdeal_07.005711.PythiaB_bbmu6mu4X.recon.TAG.v12000201_tid002968._26-30.root",TChain::kBigNumber,"CollectionTree");
tags->AddFile("/local/workdir/testIdeal_07.005711.PythiaB_bbmu6mu4X.recon.TAG.v12000201_tid002968/testIdeal_07.005711.PythiaB_bbmu6mu4X.recon.TAG.v12000201_tid002968._31-34.root",TChain::kBigNumber,"CollectionTree");
tags->AddFile("/local/workdir/testIdeal_07.005711.PythiaB_bbmu6mu4X.recon.TAG.v12000201_tid002968/testIdeal_07.005711.PythiaB_bbmu6mu4X.recon.TAG.v12000201_tid002968._35-38.root",TChain::kBigNumber,"CollectionTree");
tags->AddFile("/local/workdir/testIdeal_07.005711.PythiaB_bbmu6mu4X.recon.TAG.v12000201_tid002968/testIdeal_07.005711.PythiaB_bbmu6mu4X.recon.TAG.v12000201_tid002968._39-50.root",TChain::kBigNumber,"CollectionTree");
tags.Print()
tags.Draw("NJet")
tags.Draw("NLooseElectron")
tags.Draw("NJet", "NJet>0&&NLooseElectron>0")
tags.Draw("NJet", "NLooseElectron>0")
tags.Draw("NLooseElectron", "NJet>0&&NLooseElectron>0")
tags.Draw("NLooseElectron", "NJet>0")
Results are produced using
condorjobsubmit.sh or
gridjobsubmit.sh that run
dsspilot.sh
(attached:
dsspilot.sh) on the worker nodes.
The script
submitloop.py
is a simple loop to submit multiple jobs.
To concatenate the results and plot them (in root):
TChain* outtags = new TChain();
outtags->AddFile("/share/data/t2data/results2/mytest_0_400.TAG.root",TChain::kBigNumber,"CollectionTree");
outtags->AddFile("/share/data/t2data/results2/mytest_400_400.TAG.root",TChain::kBigNumber,"CollectionTree");
outtags->AddFile("/share/data/t2data/results2/mytest_800_400.TAG.root",TChain::kBigNumber,"CollectionTree");
outtags->AddFile("/share/data/t2data/results2/mytest_1200_400.TAG.root",TChain::kBigNumber,"CollectionTree");
outtags->AddFile("/share/data/t2data/results2/mytest_1600_400.TAG.root",TChain::kBigNumber,"CollectionTree");
outtags->AddFile("/share/data/t2data/results2/mytest_2000_400.TAG.root",TChain::kBigNumber,"CollectionTree");
outtags->AddFile("/share/data/t2data/results2/mytest_2400_400.TAG.root",TChain::kBigNumber,"CollectionTree");
outtags->AddFile("/share/data/t2data/results2/mytest_2800_400.TAG.root",TChain::kBigNumber,"CollectionTree");
outtags->AddFile("/share/data/t2data/results2/mytest_3200_400.TAG.root",TChain::kBigNumber,"CollectionTree");
outtags->AddFile("/share/data/t2data/results2/mytest_3600_400.TAG.root",TChain::kBigNumber,"CollectionTree");
outtags->AddFile("/share/data/t2data/results2/mytest_4000_400.TAG.root",TChain::kBigNumber,"CollectionTree");
outtags.Print()
outtags.Draw("NJet")
outtags.Draw("NLooseElectron")
To compare the input data subject to the cut to the output data you can use the attached root macro in
doplot.C.
--
MarcoMambelli - 13 Dec 2006
- NJet comparison: