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.10 by buchmann, Wed May 23 15:13:58 2012 UTC vs.
Revision 1.13 by buchmann, Tue Jun 5 09:20:16 2012 UTC

# Line 64 | Line 64 | void define_SMS_sample(bool showList, sa
64        PlottingSetup::requireZ=false;
65      }
66      dout << "Currently configuration: The mass cut is \"" << PlottingSetup::cutmass << "\" and RestrictToMassPeak is currently set to " << PlottingSetup::RestrictToMassPeak << endl;
67 <    if(PlottingSetup::DoBTag) PlottingSetup::cutnJets=PlottingSetup::cutnJets&&PlottingSetup::bTagRequirement;
67 >    
68 >    
69   }
70  
71  
# Line 112 | Line 113 | http://cms.cern.ch/iCMS/prep/requestmana
113      float VVJetsCrossSection        = 4.8; // LO;-------------------------------------
114   /*    float LM0CrossSection           =         38.93 *1.41 ;
115      float LM1CrossSection           = 4.888 *1.34 ;
116 <    float LM2CrossSection           =0.6027 *1.33 ;*/
117 <    float LM3CrossSection           = 3.438*1.40 ; // LO*k
118 < /*    float LM4CrossSection           = 1.879*1.35; // k*LO
119 <    float LM5CrossSection           = 0.473*1.34; // k*LO
120 <    float LM6CrossSection           = 0.3104*1.30; // k*LO
121 <    float LM7CrossSection           = 1.209*1.11; // k*LO
116 >    float LM2CrossSection           =0.6027 *1.33 ;
117 >    float LM3CrossSection           = 3.438*1.40 ; // LO*k*/
118 >    float LM4CrossSection           = 1.879*1.35; // k*LO
119 >    if(PlottingSetup::is2012) LM4CrossSection=2.88199;
120 >    /*
121 >    float LM5CrossSection           = 0.473*1.34; // k*LO*/
122 >    float LM6CrossSection           = 0.3104*1.30; // k*LO
123 >    if(PlottingSetup::is2012) LM6CrossSection=5.01773;
124 >    /*
125 >    float LM7CrossSection           = 1.209*1.11; // k*LO*/
126      float LM8CrossSection           = 0.7300*1.41; // k*LO
127 <    float LM9CrossSection           = 7.134*1.48; // k*LO
127 > /*    float LM9CrossSection           = 7.134*1.48; // k*LO
128      float LM10CrossSection           = 0.04778*1.22 ; // k*LO
129      float LM11CrossSection           = 0.8236 *1.35 ; // k*LO
130      float LM12CrossSection           = 4.414 *1.34 ; // k*LO
# Line 160 | Line 165 | http://cms.cern.ch/iCMS/prep/requestmana
165   /*    long totEventsLM4           =   218380;
166      long totEventsLM5           =   220000;
167      long totEventsLM6           =   220000;
168 <    long totEventsLM7           =   217800;
169 <    long totEventsLM8           =   217800;
168 >    long totEventsLM7           =   217800;*/
169 >    long totEventsLM8           =   217800;/*
170      long totEventsLM9           =   220000;
171      long totEventsLM10          =   1234567;
172      long totEventsLM11          =   216999;
# Line 215 | Line 220 | http://cms.cern.ch/iCMS/prep/requestmana
220        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);
221        allsamples.AddSample(prefix+"/buchmann/ntuples/MC/JZBplus/GVJets_7TeV-madgraph-Summer11-PU_S4.root","#gamma+VJets",1067879,56.64 ,false,false,6,kRed);
222        //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);
223 <      allsamples.AddSample("/shome//lbaeni/jzb/ntuples/MC/JZBplus/SignalSamples/LM8_SUSY_sftsht_7TeV-pythia6.root","LM3",totEventsLM3,LM3CrossSection,false,true,8,lm_color);
223 >      allsamples.AddSample("/shome//lbaeni/jzb/ntuples/MC/JZBplus/SignalSamples/LM8_SUSY_sftsht_7TeV-pythia6.root","LM8",totEventsLM8,LM8CrossSection,false,true,8,lm_color);
224      } else {
225        
226        write_info(__FUNCTION__,"Setting up 2012 configuration - once you've stopped looking at 2011 data please make this the default!");
227        cutWeight=TCut("weight3D");
228 <      basicqualitycut=TCut("(pfJetGoodNum40>=2&&pfJetGoodID[0]!=0)&&(pfJetGoodNum40>=2&&pfJetGoodID[1]!=0)"&&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.
229 <      cutnJets=TCut("pfJetGoodNum40>=3"&&basicqualitycut);
228 >      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.
229 >      PlottingSetup::cutnJets=TCut("pfJetGoodNum40>=3"&&PlottingSetup::basicqualitycut);
230        PlottingSetup::luminosity=PlottingSetup::luminosity2012;
231        PlottingSetup::lumiuncert=PlottingSetup::lumiuncert2012;
232        
# Line 229 | Line 234 | http://cms.cern.ch/iCMS/prep/requestmana
234        PlottingSetup::jzbvariabledata="(jzb[1]+0.0656534*pt)";
235        PlottingSetup::jzbvariablemc="(jzb[1]+0.0322238*pt)";
236  
237 <      allsamples.AddSample("/shome/buchmann/ntuples/Data/DataProcessed705ipb_btagfix.root","Data",1,1,true,false,0,kBlack);
238 <      allsamples.AddSample("/shome/buchmann/ntuples/MC8tev/ETHchen/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/ETHchen/TTJets_TuneZ2star_8TeV-madgraph-tauola-Summer12-PU_S7_START52_V9-v1.root","t#bar{t}",0,TTbarCrossSection,false,false,1,ttbar_color);
237 >      allsamples.AddSample("/shome/buchmann/ntuples/Data/Data_920ipb_UpdatedTriggers_updatedJetID_v2.root","Data",1,1,true,false,0,kBlack);
238 >      
239 >      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);
240 >      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);
241 >        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);
242 > //        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);
243 >        
244 > /*      if(PlottingSetup::DoBTag) {
245 >        PlottingSetup::jzbvariabledata="(jzb[1]+0.0924584*pt)";
246 >        PlottingSetup::jzbvariablemc="(jzb[1]+0.0477569*pt)";
247 >      }*/
248 >        
249      }
250      if(!PlottingSetup::RestrictToMassPeak) {
251   //      signalsamples.AddSample(prefix+"buchmann/ntuples/MC/NewSelectionForPaper/LM0_SUSY_sftsht_7TeV-pythia6.root","LM0",219796,38.93*1.41 ,false,true,3,lm_color);
# Line 244 | Line 258 | write_warning(__FUNCTION__,"CURRENTLY AL
258          signalsamples.AddSample(prefix+"buchmann/ntuples/MC/NewSelectionForPaper/LM11_SUSY_sftsht_7TeV-pythia6.root","LM11",218703,0.8236*1.35,false,true,9,lm_color);
259          signalsamples.AddSample(prefix+"buchmann/ntuples/MC/NewSelectionForPaper/LM12_SUSY_sftsht_7TeV-pythia6.root","LM12",223491,4.414*1.34,false,true,10,lm_color);
260          signalsamples.AddSample(prefix+"buchmann/ntuples/MC/NewSelectionForPaper/LM13_SUSY_sftsht_7TeV-pythia6.root","LM13",173240,6.899*1.42,false,true,11,lm_color);*/
261 +        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);
262      }
263   //    signalsamples.AddSample(prefix+"buchmann/ntuples/MC/NewSelectionForPaper/LM4_SUSY_sftsht_7TeV-pythia6.root","LM4",totEventsLM4,LM4CrossSection,false,true,1,lm_color);
264   //    signalsamples.AddSample(prefix+"buchmann/ntuples/MC/NewSelectionForPaper/LM8_SUSY_sftsht_7TeV-pythia6.root","LM8",totEventsLM8,LM8CrossSection,false,true,2,lm_color);
# Line 263 | Line 278 | write_warning(__FUNCTION__,"CURRENTLY AL
278   //signalsamples.AddSample("/shome//buchmann/ntuples/SMS_T1lh/SMS_MassGlu_400__MassLSP_200.root","SMS_MassGlu_400__MassLSP_200",0,1,false,true,12,lm_color);
279   //signalsamples.AddSample("/shome//buchmann/ntuples/SMS_T1lh/SMS_MassGlu_500__MassLSP_200.root","SMS_MassGlu_500__MassLSP_200",0,1,false,true,12,lm_color);
280   //signalsamples.AddSample("/shome//buchmann/ntuples/SMS_T1lh/SMS_MassGlu_600__MassLSP_200.root","SMS_MassGlu_600__MassLSP_200",0,1,false,true,12,lm_color);
281 < signalsamples.AddSample("/shome/lbaeni/jzb/DileptonmSUGRAScan__pieces/mSUGRA_M0_2000__M12_200.root","M_{0}=2000,M_{1/2}=200",0,1,false,true,12,lm_color);
282 < signalsamples.AddSample("/shome/lbaeni/jzb/DileptonmSUGRAScan__pieces/mSUGRA_M0_300__M12_800.root","M_{0}=300,M_{1/2}=800",0,1,false,true,12,lm_color);
268 <
281 > //signalsamples.AddSample("/shome/lbaeni/jzb/DileptonmSUGRAScan__pieces/mSUGRA_M0_2000__M12_200.root","M_{0}=2000,M_{1/2}=200",0,1,false,true,12,lm_color);
282 > //signalsamples.AddSample("/shome/lbaeni/jzb/DileptonmSUGRAScan__pieces/mSUGRA_M0_300__M12_800.root","M_{0}=300,M_{1/2}=800",0,1,false,true,12,lm_color);
283  
284 +    if(PlottingSetup::is2012) {
285 +        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);
286 +        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);
287 +    }
288   /*signalsamples.AddSample("/shome//buchmann/ntuples/SMS_T1lh/SMS_MassGlu_400__MassLSP_300.root","SMS_MassGlu_400__MassLSP_200",0,1,false,true,12,lm_color);
289   signalsamples.AddSample("/shome//buchmann/ntuples/SMS_T1lh/SMS_MassGlu_500__MassLSP_300.root","SMS_MassGlu_400__MassLSP_200",0,1,false,true,12,lm_color);
290   signalsamples.AddSample("/shome//buchmann/ntuples/SMS_T1lh/SMS_MassGlu_600__MassLSP_300.root","SMS_MassGlu_400__MassLSP_200",0,1,false,true,12,lm_color);*/
# Line 274 | Line 292 | signalsamples.AddSample("/shome//buchman
292  
293   //    systsamples.AddSample(prefix+"buchmann/ntuples/MC/NewSelectionForPaper/HighStatSamples/DYJetsToLL_TuneZ2_M-50_7TeV-madgraph-tauola_Fall11-PU_S6_START42_V14B-v1.root","Z+Jets",18368890,ZJetsCrossSection,false,false,7,dy_color);
294  
295 <    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);
296 <    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
295 >    if(!PlottingSetup::is2012) {
296 >      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);
297 >      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
298 >    } else {
299 >      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);
300 >      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);
301 >    }
302  
303   //
304   /*
# Line 306 | Line 329 | signalsamples.AddSample("/shome//buchman
329        PlottingSetup::requireZ=false;
330      }
331      
332 +    
333 +    if(PlottingSetup::DoBTag) {
334 +      PlottingSetup::cutnJets=PlottingSetup::cutnJets&&PlottingSetup::bTagRequirement;
335 +    }
336 +
337 +    
338 +    
339      if(showList) allsamples.ListSamples();
340  
341   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines