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

Comparing UserCode/cbrown/Development/Plotting/Modules/Setup.C (file contents):
Revision 1.2 by buchmann, Wed Feb 1 14:36:32 2012 UTC vs.
Revision 1.6 by buchmann, Thu Feb 23 15:18:04 2012 UTC

# Line 18 | Line 18 | using namespace std;
18  
19   namespace PlottingSetup {
20  
21 <  string directoryname="Results_With_4653ipb__Step8___AllInOne___PAPERMODE";
21 >  string directoryname="Jellyfish_tests";
22    
23    bool RestrictToMassPeak=true; //if you want to switch between offpeak ("false") and onpeak ("true") analysis please use this switch; the masscut below will be adapted automatically when adding samples :-)
24    
# Line 32 | Line 32 | namespace PlottingSetup {
32    float jzbHigh = 400.; // Range for JZB plots
33  
34    samplecollection allsamples("completesamplecollection");
35 +  samplecollection qcdsamples("QCDcollection");
36    samplecollection signalsamples("signalsamplecollection");
37    samplecollection systsamples("systematicssamplecollection");
38    samplecollection scansample("scansamplecollection");
# Line 40 | Line 41 | namespace PlottingSetup {
41    int mc=0;
42    int mcwithsignal=2;
43    TCut passtrig("(passed_triggers||!is_data)");
44 +  TCut leptoncut("(pt1>20&&pt2>20)");
45    TCut cutmass("abs(mll-91.2)<20");
46    TCut genMassCut("abs(genMll-91.2)<20");
47    TCut openmasscut("mll>40"); // this is the mass cut used in the off peak analysis!
48    TCut openGenmasscut("genMll>40");
49    //TCut cutmass("mll>2");
50 <  TCut basiccut("mll>2");//basically nothing.
50 >  TCut basiccut("mll>2"&&leptoncut);//basically nothing.
51    TCut basicqualitycut("(pfJetGoodNum>=2&&pfJetGoodID[0]!=0)&&(pfJetGoodNum>=2&&pfJetGoodID[1]!=0)");//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.
52    //TCut jetqualitycut("(pfJetGoodNum>=2&&pfJetGoodID[0])&&(pfJetGoodNum>=2&&pfJetGoodID[1])");//now part of the basiccut
53    //TCut jetqualitycut("mll>0");
# Line 64 | Line 66 | namespace PlottingSetup {
66    float m0start=200;  float m0end=3000;  float m0step=20;
67    float m12start=100; float m12end=1000;  float m12step=20;
68  
69 <  int ScanXzones=15; // number of zones in x for (mSUGRA) scans
70 <  int ScanYzones=15; // number of zones in y for (mSUGRA) scans
69 >  int ScanXzones=10; // number of zones in x for (mSUGRA) scans
70 >  int ScanYzones=10; // number of zones in y for (mSUGRA) scans
71  
72    //scan types:
73    int mSUGRA=1;
# Line 94 | Line 96 | namespace PlottingSetup {
96    
97    //here we save our "flipped" number of predicted and observed events (with errors) -- this means that we consider JZB<-X as observed and construct the corresponding prediction
98    bool alwaysflip=false;
99 +  bool allowflipping=false;
100    vector<float> flippedNobs;
101    vector<float> flippedNpred;
102    vector<float> flippedNprederr;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines