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.15 by buchmann, Tue Jun 5 22:06:57 2012 UTC vs.
Revision 1.21 by fronga, Thu Jun 21 11:37:29 2012 UTC

# Line 96 | Line 96 | http://cms.cern.ch/iCMS/prep/requestmana
96      }
97    
98      float ZJetsCrossSection         = 3048.0; //NNLO----------------------------------
99 <    if(PlottingSetup::is2012) ZJetsCrossSection=3503.71;
99 >    if (PlottingSetup::is2012) ZJetsCrossSection=3503.71;
100      // at 8 TeV: 3503.71 (https://twiki.cern.ch/twiki/bin/view/CMS/Zpt8TeV)
101      float LowZJetsCrossSection      = 11908; //https://twiki.cern.ch/twiki/bin/view/CMS/TWikiTop2011DataMCTrig
102 +    if (PlottingSetup::is2012) LowZJetsCrossSection = 11050*0.069*1.15; // LO xs * filter eff * k-factor (same as ZJets)
103      
104      float TTbarCrossSection         = 165.0;//(NLO) ---- 165.0; // approx. NNLO-----
105      if(PlottingSetup::is2012) TTbarCrossSection=225.197;
# Line 219 | Line 220 | http://cms.cern.ch/iCMS/prep/requestmana
220        allsamples.AddSample(prefix+"/buchmann/ntuples/MC/NewSelectionForPaper/CorrectFull2011PileUp/TToBLNu_TuneZ2_tW-channel_7TeV-madgraph.root","Single-top",totEventsSingleTopU,SingleTopUCrossSection,false,false,2,singletop_color);
221        allsamples.AddSample(prefix+"/buchmann/ntuples/MC/NewSelectionForPaper/CorrectFull2011PileUp/ZinvisibleJets_7TeV-madgraph.root","Z nunu",totEventsZnunu,ZnunuCrossSection,false,false,4,diboson_color);
222        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);
223 <      allsamples.AddSample(prefix+"/buchmann/ntuples/MC/JZBplus/GVJets_7TeV-madgraph-Summer11-PU_S4.root","#gamma+VJets",1067879,56.64 ,false,false,6,kRed);
223 > //      allsamples.AddSample(prefix+"/buchmann/ntuples/MC/JZBplus/GVJets_7TeV-madgraph-Summer11-PU_S4.root","#gamma+VJets",1067879,56.64 ,false,false,6,kRed);
224        //allsamples.AddSample("/shome/buchmann/ntuples/MC/LM4_SUSY_sftsht_7TeV-pythia6__Summer11-PU_S4_START42_V11-v2_novtx_fixed3___WITHGENINFO.root","LM4",totEventsLM4,LM4CrossSection,false,true,8,lm_color);
225 <      allsamples.AddSample("/shome//lbaeni/jzb/ntuples/MC/JZBplus/SignalSamples/LM8_SUSY_sftsht_7TeV-pythia6.root","LM8",totEventsLM8,LM8CrossSection,false,true,8,lm_color);
225 > //      allsamples.AddSample("/shome//lbaeni/jzb/ntuples/MC/JZBplus/SignalSamples/LM8_SUSY_sftsht_7TeV-pythia6.root","LM8",totEventsLM8,LM8CrossSection,false,true,8,lm_color);
226 >      
227 > //      allsamples.AddSample("/shome/lbaeni/jzb/DileptonmSUGRAScan__pieces/mSUGRA_M0_200__M12_440.root","LM8",10000,0.132,false,true,8,lm_color);
228 >      
229      } else {
230        
231        write_info(__FUNCTION__,"Setting up 2012 configuration - once you've stopped looking at 2011 data please make this the default!");
228      cutWeight=TCut("weight3D");
232        PlottingSetup::basicqualitycut=TCut("(pfJetGoodNum40>=2&&pfJetGoodID[0]!=0)&&(pfJetGoodNum40>=2&&pfJetGoodID[1]!=0)"&&PlottingSetup::basiccut);//don't use this for the "essential cut", because we want to plot nJets as well as mll in the inclusive case; we thus use it as an addition nJets cut.
233        PlottingSetup::cutnJets=TCut("pfJetGoodNum40>=3"&&PlottingSetup::basicqualitycut);
234        PlottingSetup::luminosity=PlottingSetup::luminosity2012;
# Line 234 | Line 237 | http://cms.cern.ch/iCMS/prep/requestmana
237        // cJZB response correction (705 /pb) :
238        PlottingSetup::jzbvariabledata="(jzb[1]+0.0656534*pt)";
239        PlottingSetup::jzbvariablemc="(jzb[1]+0.0322238*pt)";
240 +      
241 +      if(!PlottingSetup::RestrictToMassPeak) {
242 +        PlottingSetup::jzbvariabledata="(((id1==0&&id1==id2)*(jzb[1]+0.0698233*pt))+((id1==1&&id1==id2)*(jzb[1]+0.0572628*pt))+((id1!=id2)*(jzb[1]+0.0629109*pt)))";
243 +        PlottingSetup::jzbvariablemc="(((id1==0&&id1==id2)*(jzb[1]+0.0409392*pt))+((id1==1&&id1==id2)*(jzb[1]+0.0327419*pt))+((id1!=id2)*(jzb[1]+0.0361354*pt)))";
244  
245 <      allsamples.AddSample("/shome/buchmann/ntuples/Data/Data_920ipb_UpdatedTriggers_updatedJetID_v2.root","Data",1,1,true,false,0,kBlack);
245 >      }
246 >        
247 >
248 >      allsamples.AddSample("/shome/buchmann/ntuples/Data/Data_3553ifb.root","Data",1,1,true,false,0,kBlack);
249        
250 <      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);
251 <      allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/TTJets_TuneZ2star_8TeV-madgraph-tauola-Summer12-PU_S7_START52_V9-v1.root","t#bar{t}",0,TTbarCrossSection,false,false,1,ttbar_color);
252 <        allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/LM4_leo____leo-PYTHIA6_SUSY_LM4_sftsht_8TeV_GEN_FASTSIM-2012_Startup_inTimeOnly-V3-84.root","LM4",0,LM4CrossSection,false,true,1,lm_color);
250 >      allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/DYJetsToLL_M-50_TuneZ2Star_8TeV-madgraph-tarball-Summer12-PU_S7_START52_V9-v2.root","Z+Jets",30346766,ZJetsCrossSection,false,false,7,dy_color);
251 >      allsamples.AddSample("/scratch/fronga/ntuples/V030300v3/DYJetsToLL_M-10To50filter_8TeV-madgraph-Summer12-PU_S7_START52_V9-v1.root","Z+Jets",7123299,LowZJetsCrossSection,false,false,7,dy_color);      
252 >      allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/TTJets_TuneZ2star_8TeV-madgraph-tauola-Summer12-PU_S7_START52_V9-v1.root","t#bar{t}",6719290,TTbarCrossSection,false,false,1,ttbar_color);
253 >
254 > //      allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/LM4_leo____leo-PYTHIA6_SUSY_LM4_sftsht_8TeV_GEN_FASTSIM-2012_Startup_inTimeOnly-V3-84.root","LM4",0,LM4CrossSection,false,true,1,lm_color);
255   //        allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/leo-PYTHIA6_SUSY_LM6_sftsht_8TeV_GEN_FASTSIM-2012_Startup_inTimeOnly.root","LM6",0,LM6CrossSection,false,true,1,lm_color);
256          
257   /*      if(PlottingSetup::DoBTag) {
# Line 249 | Line 261 | http://cms.cern.ch/iCMS/prep/requestmana
261          
262      }
263      if(!PlottingSetup::RestrictToMassPeak) {
252 write_warning(__FUNCTION__,"CURRENTLY ALL SIGNAL SAMPLES HAVE BEEN DEACTIVATED (EXCEPT LM4 N LM8)");
264          if(!PlottingSetup::is2012) signalsamples.AddSample("/shome/buchmann//ntuples/MC/NewSelectionForPaper/NewlyReweighted/DYJetsToLL_TuneZ2_M-50_7TeV-madgraph-tauola_Summer11___NTupleV020300.root","LM8",totEventsLM8,LM8CrossSection,false,true,8,lm_color);
265      }
266  
267  
268      if(PlottingSetup::is2012) {
269 <        signalsamples.AddSample("/shome/buchmann/ntuples/MC8tev/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/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/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/buchmann/ntuples/MC8tev/leo-PYTHIA6_SUSY_LM8_sftsht_8TeV_GEN_FASTSIM-2012_Startup_inTimeOnly.root","LM8",0,LM6CrossSection,false,true,3,lm_color);
272 >      //cutWeight=TCut("PUweight");
273      }
274  
275  
# Line 267 | Line 279 | write_warning(__FUNCTION__,"CURRENTLY AL
279        systsamples.AddSample(prefix+"buchmann//ntuples/MC/NewSelectionForPaper/NewlyReweighted/DYJetsToLL_TuneZ2_M-50_7TeV-madgraph-tauola_Summer11___NTupleV020300.root","Z+Jets",32005720,ZJetsCrossSection,false,false,7,dy_color);
280        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
281      } else {
282 <      systsamples.AddSample("/shome/pablom/tmp/CMSSW_5_2_5/src/DiLeptonAnalysis/NTupleProducer/macros/mc/DYJetsToLL_M-50_TuneZ2Star_8TeV-madgraph-tarball-Summer12-PU_S7_START52_V9-v2.root","Z+Jets",0,ZJetsCrossSection,false,false,7,dy_color);
283 <      systsamples.AddSample("/shome/pablom/tmp/CMSSW_5_2_5/src/DiLeptonAnalysis/NTupleProducer/macros/mc/V03-03-00_TTJets_TuneZ2star_8TeV-madgraph-tauola-Summer12-PU_S7_START52_V9-v1.root","t#bar{t}",0,TTbarCrossSection,false,false,1,ttbar_color);
282 >      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);
283 >      systsamples.AddSample("/shome/buchmann/ntuples/MC8tev/TTJets_TuneZ2star_8TeV-madgraph-tauola-Summer12-PU_S7_START52_V9-v1.root","t#bar{t}",0,TTbarCrossSection,false,false,1,ttbar_color);
284      }
285  
286  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines