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

Comparing UserCode/cbrown/Development/Plotting/Modules/ExperimentalModule.C (file contents):
Revision 1.2 by buchmann, Tue Apr 10 13:44:59 2012 UTC vs.
Revision 1.3 by buchmann, Wed Aug 15 13:52:12 2012 UTC

# Line 420 | Line 420 | void do_new_prediction_plot(string jzb,
420    
421    TH1F *lm4RcorrJZBeemm   = allsamples.Draw("lm4RcorrJZBeemm",jzb.c_str(),nbins,low,hi, "JZB [GeV]", "events", cutmass&&cutOSSF&&cutnJets,is_data, luminosity,allsamples.FindSample("LM4"));
422    
423 <  if(RestrictToMassPeak) {
423 >  if(RestrictToMassPeak||!PlottingSetup::UseSidebandsForcJZB) {
424      RcorrJZBSBem   = allsamples.Draw("RcorrJZBSBem",jzb.c_str(),nbins,low,hi, "JZB [GeV]", "events", sidebandcut&&cutOSOF&&cutnJets,is_data, luminosity,allsamples.FindSample("TTJet"));
425      LcorrJZBSBem   = allsamples.Draw("LcorrJZBSBem",("-"+jzb).c_str(),nbins,low,hi, "JZB [GeV]", "events", sidebandcut&&cutOSOF&&cutnJets,is_data, luminosity,allsamples.FindSample("TTJet"));
426      RcorrJZBSBeemm = allsamples.Draw("RcorrJZBSBeemm",jzb.c_str(),nbins,low,hi, "JZB [GeV]", "events", sidebandcut&&cutOSSF&&cutnJets,is_data, luminosity,allsamples.FindSample("TTJet"));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines