ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/cbrown/Development/Plotting/Modules/ActiveSamples.C
(Generate patch)

Comparing UserCode/cbrown/Development/Plotting/Modules/ActiveSamples.C (file contents):
Revision 1.23 by fronga, Fri Jul 20 16:35:06 2012 UTC vs.
Revision 1.26 by buchmann, Tue Aug 14 12:14:59 2012 UTC

# Line 24 | Line 24 | void define_SMS_sample(bool showList, sa
24   {
25      char hostname[1023];
26      gethostname(hostname,1023);
27 +    
28 +    SanityChecks();
29  
30      /*
31      
# Line 71 | Line 73 | void define_SMS_sample(bool showList, sa
73  
74   void define_samples(bool showList, samplecollection &allsamples, samplecollection &signalsamples, samplecollection &scansample, samplecollection &raresample, samplecollection &systsamples, samplecollection &qcdsamples)
75   {
76 +  SanityChecks();
77  
78   /*
79   Good sources for XS:
# Line 222 | Line 225 | http://cms.cern.ch/iCMS/prep/requestmana
225        SingleTopSCrossSection=5.55;//Top mass: m(top)=173GeV, Default scales: muF=muR=mt, PDF: MSTW2008 NNLO
226        SingleTopTCrossSection=87.1;//Top mass: m(top)=173GeV, Default scales: muF=muR=mt, PDF: MSTW2008 NNLO
227        SingleTopUCrossSection=22.2;//Top mass: m(top)=173GeV, Default scales: muF=muR=mt, PDF: MSTW2008 NNLO
225
226      
228        
229 + //       allsamples.AddSample("/shome/buchmann/ntuples/Data/METdataset_5100ipb.root","Data",1,1,true,false,0,kBlack);
230 +      allsamples.AddSample("/shome/buchmann/ntuples/Data/Data_5100ipb_ZbReady.root","Data",1,1,true,false,0,kBlack);
231        
229      allsamples.AddSample("/shome/buchmann/ntuples/Data/Data_5100ipb.root","Data",1,1,true,false,0,kBlack);
232  
233 <      allsamples.AddSample("/shome/fronga/ntuples/8TeV/DYJetsToLLNoTau_M-50_TuneZ2Star_8TeV-madgraph-tarball-Summer12-PU_S7_START52_V9-v2.root","Z+Jets",-30346766,ZJetsCrossSection,false,false,7,dy_color);
234 <      allsamples.AddSample("/shome/fronga/ntuples/8TeV/DYJetsToLLNoTau_M-10To50filter_8TeV-madgraph-Summer12-PU_S7_START52_V9-v1.root","Z+Jets",-6955271,LowZJetsCrossSection,false,false,7,dy_color);
235 <      allsamples.AddSample("/shome/fronga/ntuples/8TeV/DYJetsToTauTau_M-50_TuneZ2Star_8TeV-madgraph-tarball-Summer12-PU_S7_START52_V9-v2.root","Z+Jets (#tau#tau)",-30346766,ZJetsCrossSection,false,false,8,kRed-4);
236 <      allsamples.AddSample("/shome/fronga/ntuples/8TeV/DYJetsToTauTau_M-10To50filter_8TeV-madgraph-Summer12-PU_S7_START52_V9-v1.root","Z+Jets (#tau#tau)",-6955271,LowZJetsCrossSection,false,false,8,kRed-4);
237 <
238 < //       allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/DYJetsToLL_M-50_TuneZ2Star_8TeV-madgraph-tarball-Summer12-PU_S7_START52_V9-v2.root","Z+Jets",0,ZJetsCrossSection,false,false,7,dy_color);
239 < //       allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/DYJetsToLL_M-10To50filter_8TeV-madgraph-Summer12-PU_S7_START52_V9-v1.root","Z+Jets",0,LowZJetsCrossSection,false,false,7,dy_color);
240 <
241 <      allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/TTJets_TuneZ2star_8TeV-madgraph-tauola-Summer12-PU_S7_START52_V5-v1.root","t#bar{t}",0,TTbarCrossSection,false,false,1,ttbar_color);//summer11
242 <      allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/WJetsToLNu_TuneZ2Star_8TeV-madgraph-tarball-Summer12-PU_S7_START52_V9-v1.root","W+Jets",0,36257.2,false,false,3,wjets_color);//summer
243 < //       allsamples.AddSample(prefix+"/buchmann/ntuples/MC/NewSelectionForPaper/CorrectFull2011PileUp/VVJetsTo4L_TuneD6T_7TeV-madgraph-tauola.root","WW/WZ/ZZ",totEventsVVJets,VVJetsCrossSection,false,false,4,diboson_color);
244 <      allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/T_s-channel_TuneZ2star_8TeV-powheg-tauola-Summer12-PU_S7_START52_V9-v1.root","Single-top",0,1.76,false,false,2,singletop_color);
245 <      allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/Tbar_s-channel_TuneZ2star_8TeV-powheg-tauola-Summer12-PU_S7_START52_V9-v1.root","Single-top",0,3.79,false,false,2,singletop_color);
246 <      allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/Tbar_t-channel_TuneZ2star_8TeV-powheg-tauola-Summer12-PU_S7_START52_V9-v1.root","Single-top",0,56.4,false,false,2,singletop_color);
247 <      allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/Tbar_tW-channel-DR_TuneZ2star_8TeV-powheg-tauola-Summer12-PU_S7_START52_V9-v1.root","Single-top",0,SingleTopUCrossSection,false,false,2,singletop_color);
233 >      allsamples.AddSample("/shome/fronga/ntuples/8TeV/DYJetsToLLNoTau_M-50_TuneZ2Star_8TeV-madgraph-tarball-Summer12-PU_S7_START52_V9-v2.root","Z+Jets",-30346766,ZJetsCrossSection,false,false,8,dy_color);
234 >      allsamples.AddSample("/shome/fronga/ntuples/8TeV/DYJetsToLLNoTau_M-10To50filter_8TeV-madgraph-Summer12-PU_S7_START52_V9-v1.root","Z+Jets",-6955271,LowZJetsCrossSection,false,false,8,dy_color);
235 >      allsamples.AddSample("/shome/fronga/ntuples/8TeV/DYJetsToTauTau_M-50_TuneZ2Star_8TeV-madgraph-tarball-Summer12-PU_S7_START52_V9-v2.root","Z+Jets (#tau#tau)",-30346766,ZJetsCrossSection,false,false,7,kRed-4);
236 >      allsamples.AddSample("/shome/fronga/ntuples/8TeV/DYJetsToTauTau_M-10To50filter_8TeV-madgraph-Summer12-PU_S7_START52_V9-v1.root","Z+Jets (#tau#tau)",-6955271,LowZJetsCrossSection,false,false,7,kRed-4);
237 >
238 > //       allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/OLD/DYJetsToLL_M-50_TuneZ2Star_8TeV-madgraph-tarball-Summer12-PU_S7_START52_V9-v2.root","Z+Jets",0,ZJetsCrossSection,false,false,7,dy_color);
239 > //       allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/OLD/DYJetsToLL_M-10To50filter_8TeV-madgraph-Summer12-PU_S7_START52_V9-v1.root","Z+Jets",0,LowZJetsCrossSection,false,false,7,dy_color);
240 >
241 >      allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/OLD/TTJets_TuneZ2star_8TeV-madgraph-tauola-Summer12-PU_S7_START52_V5-v1.root","t#bar{t}",0,TTbarCrossSection,false,false,1,ttbar_color);//summer11
242 >      allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/OLD/WJetsToLNu_TuneZ2Star_8TeV-madgraph-tarball-Summer12-PU_S7_START52_V9-v1.root","W+Jets",0,36257.2,false,false,3,wjets_color);//summer
243 >
244 >      // SINGLE-TOP
245 >      allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/OLD/T_s-channel_TuneZ2star_8TeV-powheg-tauola-Summer12-PU_S7_START52_V9-v1.root","Single-top",0,1.76,false,false,2,singletop_color);
246 >      allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/OLD/Tbar_s-channel_TuneZ2star_8TeV-powheg-tauola-Summer12-PU_S7_START52_V9-v1.root","Single-top",0,3.79,false,false,2,singletop_color);
247 >      allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/OLD/Tbar_t-channel_TuneZ2star_8TeV-powheg-tauola-Summer12-PU_S7_START52_V9-v1.root","Single-top",0,56.4,false,false,2,singletop_color);
248 >      allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/OLD/Tbar_tW-channel-DR_TuneZ2star_8TeV-powheg-tauola-Summer12-PU_S7_START52_V9-v1.root","Single-top",0,SingleTopUCrossSection,false,false,2,singletop_color);
249        
250        // DIBOSONS: LO with a k-factor
251 <      allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/ZZJetsTo4L_TuneZ2star_8TeV-madgraph-tauola-Summer12-PU_S7_START52_V9-v3.root","Dibosons",0,0.181,false,false,4,diboson_color);
251 >      allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/OLD/ZZJetsTo4L_TuneZ2star_8TeV-madgraph-tauola-Summer12-PU_S7_START52_V9-v3.root","Dibosons",0,0.181,false,false,4,diboson_color);
252        allsamples.AddSample("/shome/fronga/ntuples/8TeV/ZZJetsTo2L2Nu_TuneZ2star_8TeV-madgraph-tauola-Summer12-PU_S7_START52_V9-v3.root","Dibosons",0,0.3,false,false,4,diboson_color);
253 <      allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/WZJetsTo3LNu_TuneZ2_8TeV-madgraph-tauola-Summer12-PU_S7_START52_V9-v2.root","Dibosons",0,1.06,false,false,4,diboson_color);
253 >      allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/OLD/WZJetsTo3LNu_TuneZ2_8TeV-madgraph-tauola-Summer12-PU_S7_START52_V9-v2.root","Dibosons",0,1.06,false,false,4,diboson_color);
254        allsamples.AddSample("/shome/fronga/ntuples/8TeV/WWJetsTo2L2Nu_TuneZ2star_8TeV-madgraph-tauola-Summer12-PU_S7_START52_V9-v1.root","Dibosons",0,5.0,false,false,4,diboson_color);
255  
256 <      //ttZ: irrelevant allsamples.AddSample("/shome/fronga/ntuples/8TeV/TTZJets_8TeV-madgraph_v2-Summer12-PU_S7_START52_V9-v1.root","ttZ",0,0.172,false,false,5,kOrange-2);
256 >      //ttV
257 >      //allsamples.AddSample("/shome/fronga/ntuples/8TeV/TTZJets_8TeV-madgraph_v2-Summer12-PU_S7_START52_V9-v1.root","ttV",0,0.172,false,false,5,kGreen);
258 >      //allsamples.AddSample("/shome/fronga/ntuples/8TeV/TTGJets_8TeV-madgraph-Summer12-PU_S7_START52_V9-v1.root",   "ttV",0,1.444,false,false,5,kGreen);
259 >      //allsamples.AddSample("/shome/fronga/ntuples/8TeV/TTWJets_8TeV-madgraph-Summer12-PU_S7_START52_V9-v1.root",   "ttV",0,0.2149,false,false,5,kGreen);
260        
261        
262 < //  allsamples.AddSample(prefix+"/buchmann/ntuples/MC/NewSelectionForPaper/CorrectFull2011PileUp/ZinvisibleJets_7TeV-madgraph.root","Z nunu",totEventsZnunu,ZnunuCrossSection,false,false,4,diboson_color);
257 < //  allsamples.AddSample(prefix+"/buchmann/ntuples/MC/JZBplus/WGstarToLNu2E_TuneZ2_7TeV-madgraph-tauola__Summer11-PU_S4_START42_V11-v1__AODSIM.root","W+#gamma",266882,5.546 ,false,false,5,kGreen);
262 >      //  allsamples.AddSample(prefix+"/buchmann/ntuples/MC/JZBplus/WGstarToLNu2E_TuneZ2_7TeV-madgraph-tauola__Summer11-PU_S4_START42_V11-v1__AODSIM.root","W+#gamma",266882,5.546 ,false,false,5,kGreen);
263        
264 <      
260 <
261 <      allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/leo-PYTHIA6_SUSY_LM6_sftsht_8TeV_GEN_FASTSIM-2012_Startup_inTimeOnly.root","LM6",0,LM4CrossSection,false,true,1,lm_color);
264 >      allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/OLD/leo-PYTHIA6_SUSY_LM6_sftsht_8TeV_GEN_FASTSIM-2012_Startup_inTimeOnly.root","LM6",0,LM4CrossSection,false,true,1,lm_color);
265          
266      }
267  
268      if(PlottingSetup::is2012) {
269 <        signalsamples.AddSample("/shome/buchmann/ntuples/MC8tev/trash/LM4_leo____leo-PYTHIA6_SUSY_LM4_sftsht_8TeV_GEN_FASTSIM-2012_Startup_inTimeOnly-V3-84.root","LM4",0,LM4CrossSection,false,true,1,lm_color);
270 <        signalsamples.AddSample("/shome/buchmann/ntuples/MC8tev/leo-PYTHIA6_SUSY_LM6_sftsht_8TeV_GEN_FASTSIM-2012_Startup_inTimeOnly.root","LM6",0,LM6CrossSection,false,true,2,lm_color);
271 <        signalsamples.AddSample("/shome/fronga/ntuples/8TeV/PYTHIA6_SUSY_LM3_sftsht_8TeV_GEN_FASTSIM-2012_Startup_inTimeOnly-V3-leo.root","LM3",0,LM3CrossSection,false,true,3,lm_color);
272 < //        signalsamples.AddSample("/shome/buchmann/ntuples/MC8tev/leo-PYTHIA6_SUSY_LM8_sftsht_8TeV_GEN_FASTSIM-2012_Startup_inTimeOnly.root","LM8",0,LM6CrossSection,false,true,3,lm_color);
269 >        signalsamples.AddSample("/shome/buchmann/ntuples/MC8tev/OLD/trash/LM4_leo____leo-PYTHIA6_SUSY_LM4_sftsht_8TeV_GEN_FASTSIM-2012_Startup_inTimeOnly-V3-84.root","LM4",0,LM4CrossSection,false,true,1,lm_color);
270 >        signalsamples.AddSample("/shome/buchmann/ntuples/MC8tev/OLD/leo-PYTHIA6_SUSY_LM6_sftsht_8TeV_GEN_FASTSIM-2012_Startup_inTimeOnly.root","LM6",0,LM6CrossSection,false,true,2,lm_color);
271 >        signalsamples.AddSample("/shome/buchmann/ntuples/MC8tev/OLD/PYTHIA6_SUSY_LM3_sftsht_8TeV_GEN_FASTSIM-2012_Startup_inTimeOnly-V3-leo_AllWeightOne.root","LM3",0,LM3CrossSection,false,true,3,lm_color);
272 > //        signalsamples.AddSample("/shome/buchmann/ntuples/MC8tev/OLD/leo-PYTHIA6_SUSY_LM8_sftsht_8TeV_GEN_FASTSIM-2012_Startup_inTimeOnly.root","LM8",0,LM6CrossSection,false,true,3,lm_color);
273          cutWeight=TCut("(weight*(weight<1000)*(is_data+(!is_data)*((id1==id2)*0.95+(id1!=id2)*0.94)))");
274          //FR cutWeight=TCut("(weight*(weight<1000)*(is_data+(!is_data)*((id1==id2&&id1==0)*0.95+(id1==id2&&id1==1)*0.88+(id1!=id2)*0.92)))");
275          //cutWeight=TCut("(weight*(weight<1000)*((id1==id2&&id1==0)*0.95+(id1==id2&&id1==1)*0.88+(id1!=id2)*0.92))");
# Line 280 | Line 283 | http://cms.cern.ch/iCMS/prep/requestmana
283        systsamples.AddSample(prefix+"buchmann/ntuples/MC/NewSelectionForPaper/HighStatSamples/TTJets_Fall11-PU_S6_START42_V14B.root","t#bar{t}",58370118,TTbarCrossSection,false,false,1,ttbar_color);//summer11
284      } else {
285        
286 <      systsamples.AddSample("/shome/buchmann/ntuples/MC8tev/DYJetsToLL_M-50_TuneZ2Star_8TeV-madgraph-tarball-Summer12-PU_S7_START52_V9-v2.root","Z+Jets",0,ZJetsCrossSection,false,false,7,dy_color);
287 <      systsamples.AddSample("/shome/buchmann/ntuples/MC8tev/DYJetsToLL_M-10To50filter_8TeV-madgraph-Summer12-PU_S7_START52_V9-v1.root","Z+Jets",0,LowZJetsCrossSection,false,false,7,dy_color);
288 <      systsamples.AddSample("/shome/buchmann/ntuples/MC8tev/TTJets_TuneZ2star_8TeV-madgraph-tauola-Summer12-PU_S7_START52_V5-v1.root","t#bar{t}",0,TTbarCrossSection,false,false,1,ttbar_color);//summer11
286 >      systsamples.AddSample("/shome/buchmann/ntuples/MC8tev/OLD/DYJetsToLL_M-50_TuneZ2Star_8TeV-madgraph-tarball-Summer12-PU_S7_START52_V9-v2.root","Z+Jets",0,ZJetsCrossSection,false,false,7,dy_color);
287 >      systsamples.AddSample("/shome/buchmann/ntuples/MC8tev/OLD/DYJetsToLL_M-10To50filter_8TeV-madgraph-Summer12-PU_S7_START52_V9-v1.root","Z+Jets",0,LowZJetsCrossSection,false,false,7,dy_color);
288 >      systsamples.AddSample("/shome/buchmann/ntuples/MC8tev/OLD/TTJets_TuneZ2star_8TeV-madgraph-tauola-Summer12-PU_S7_START52_V5-v1.root","t#bar{t}",0,TTbarCrossSection,false,false,1,ttbar_color);//summer11
289        
290      }
291  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines