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.34 by buchmann, Wed Sep 28 12:56:01 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 34 | Line 48 | void define_SMS_sample(bool showList, sa
48      if((int)((string)hostname).find("falda")>-1) {
49          scansample.AddSample("/scratch/buchmann/mSUGRA3.root","SMS_T6Z",1,1,false,true,1,kRed); // there is only one sample in the scan; we give each event weight "1"
50      } else {
51 < //      scansample.AddSample("/shome/pablom/SimplifiedModels.root","SMS",1,1,false,true,1,kRed); // there is only one sample in the scan; we give each event weight "1"
52 < //      scansample.AddSample("/shome/pablom/SimplifiedModels.root","SMS",1,1,false,true,1,kRed); // there is only one sample in the scan; we give each event weight "1"
53 <        scansample.AddSample("/scratch/buchmann/Complete_mSUGRA_Scan.root","mSUGRA",1,1,false,true,1,kRed); // there is only one sample in the scan; we give each event weight "1"
51 >      /// NEW: Only indicate the very first file - please place scans in ntuples/SMS/ and adapt the name here and in SUSYScan.C (the files are loaded when needed avoiding high memory usage and startup times)
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