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

Comparing UserCode/cbrown/AnalysisFramework/Plotting/Modules/ActiveSamples.C (file contents):
Revision 1.36 by buchmann, Wed Sep 28 19:45:35 2011 UTC vs.
Revision 1.39 by buchmann, Thu Sep 29 14:19:30 2011 UTC

# Line 1 | Line 1
1 + /****
2 +
3 + Off peak status (RestrictToMassPeak) :
4 +
5 + x  Necessary adaptations identified
6 + x  Started working on necessary adaptations
7 + x  Necessary adaptations implemented
8 + x  Necessary adaptations tested
9 +
10 + DONE!
11 +
12 +
13 + ****/
14 +
15   #include <iostream>
16   #include <vector>
17   #include <sys/stat.h>
# Line 38 | Line 52 | void define_SMS_sample(bool showList, sa
52   //      scansample.AddSample("/shome/buchmann/ntuples/mSUGRA/mSUGRA_clean_splitup_0_0.root","mSUGRA",1,1,false,true,0,kRed); // there is only one sample in the scan; we give each event weight "1"
53          scansample.AddSample("/shome/buchmann/ntuples/SMS/SMS_clean_splitup_0_0.root","SMS",1,1,false,true,0,kRed); // there is only one sample in the scan; we give each event weight "1"
54      }
55 +
56 +    flag_this_change(__FUNCTION__,__LINE__,false);//PlottingSetup::RestrictToMassPeak
57 +    if(!PlottingSetup::RestrictToMassPeak) {
58 +      PlottingSetup::cutmass=TCut("mll>55");
59 +      PlottingSetup::sidebandcut=TCut("mll<2&&mll>3");//impossible cut - because we don't want any sidebands!
60 +    }
61   }
62  
63   void define_samples(bool showList, samplecollection &allsamples, samplecollection &signalsamples, samplecollection &scansample, samplecollection &raresample)
64   {
65 +    flag_this_change(__FUNCTION__,__LINE__,false);//PlottingSetup::RestrictToMassPeak
66 +    if(!PlottingSetup::RestrictToMassPeak) {
67 +      PlottingSetup::cutmass=PlottingSetup::openmasscut;
68 +      PlottingSetup::sidebandcut=TCut("mll<2&&mll>3");//impossible cut - because we don't want any sidebands!
69 +    }
70    
71      float ZJetsCrossSection         = 3048.0; //NNLO----------------------------------
72      float TTbarCrossSection         = 165.0;//(NLO) ---- 165.0; // approx. NNLO-----

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines