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

Comparing UserCode/cbrown/AnalysisFramework/Plotting/Modules/Setup.C (file contents):
Revision 1.25 by fronga, Mon Aug 8 14:10:25 2011 UTC vs.
Revision 1.43 by buchmann, Thu Sep 29 13:57:42 2011 UTC

# Line 13 | Line 13 | using namespace std;
13  
14  
15   namespace PlottingSetup {
16 <  float luminosity=1078;//751.0;//486.0;//468.0//336.;//pb^{-1}
17 <  float lumiuncert=0.04;// to be indicated in [0,1] range, e.g. for 4% write 0.04
16 >
17 >  string directoryname="official_2096_golden_run_PAS_v4andon";
18 >  
19 >  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 :-)
20 >  
21 >  float luminosity=2096.0;//1936;//751.0;//486.0;//468.0//336.;//pb^{-1}
22 >  float lumiuncert=0.045;// to be indicated in [0,1] range, e.g. for 4% write 0.04
23 >
24    string jzbvariabledata="jzb[1]+0.06*pt";
25    string jzbvariablemc="jzb[1]+0.04*pt";
26    float jzbHigh = 350.; // Range for JZB plots
27 <  
27 >
28    samplecollection allsamples("completesamplecollection");
29    samplecollection signalsamples("signalsamplecollection");
30    samplecollection scansample("scansamplecollection");
31 +  samplecollection raresample("raresamplecollection");
32    int data=1;
33    int mc=0;
34    int mcwithsignal=2;
35    TCut passtrig("(passed_triggers||!is_data)");
36    TCut cutmass("abs(mll-91.2)<20");
37 +  TCut openmasscut("mll>50"); // this is the mass cut used in the off peak analysis!
38    //TCut cutmass("mll>2");
39    TCut basiccut("mll>2");//basically nothing.
40    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.
# Line 44 | Line 52 | namespace PlottingSetup {
52    //TCut basiccut("(passed_triggers||!is_data)");
53    
54    // SUSY scan parameters
47 //  float mglustart=25;float mgluend=1200;float mglustep=25; //guessed values for official file
48 //  float mLSPstart=25;float mLSPend=1200;float mLSPstep=25; //guessed values for official file
55    float mglustart=25;float mgluend=1200;float mglustep=25;
56    float mLSPstart=25;float mLSPend=1200;float mLSPstep=25;
51
57    
58 +  float m0start=20;  float m0end=2000;  float m0step=20;
59 +  float m12start=20; float m12end=760;  float m12step=20;
60 +  
61 +  int ScanXzones=10; // number of zones in x for (mSUGRA) scans
62 +  int ScanYzones=10; // number of zones in y for (mSUGRA) scans
63 +
64    TCut essential(passtrig);//add here any cuts you ALWAYS want
65    int dogaus=0;
66    int doKM=1;
# Line 60 | Line 71 | namespace PlottingSetup {
71    float fitresultconstdata=0;//this is the result when fitting in the 0-30 GeV range
72    float fitresultconstmc=0;//this is the result when fitting in the 0-30 GeV range
73    
74 <  int method=-1;
74 >  int method=-1;//Fitting method
75    
76    //now some style issues:
77    float DataMarkerSize=1.2;
# Line 81 | Line 92 | namespace PlottingSetup {
92    Double_t blue[5]  = { 0.51, 1.00, 0.12, 0.00, 0.00 };
93    int fi=TColor::CreateGradientColorTable(5, stops, red, green,blue, 255);
94    
95 +  // LIMITS
96 +  int nlimittoys=1000; // how many toys for setting limits
97 +  string limitmethod="cls";//what method to use to set limits
98    int limitpatience=50; // for how many minutes should the limit calculation (for one configuration!) be allowed to run before being aborted? this only has an effect when when running on the grid.
99 +  bool ConsiderSignalContaminationForLimits=true; //whether or not to consider signal contamination when computing limits (standard:true)
100 +  int nuisancemodel=1;
101    
102 +  float JZBPeakPositionData=-999;
103 +  float JZBPeakPositionMC=-999;
104 +  float JZBPeakWidthData=-999;
105 +  float JZBPeakWidthMC=-999;
106 +
107 +  // two possible future systematics that ATM only take up CPU time in SUSY scans
108 +  bool computeJZBefficiency=false;
109 +  bool computeJZBresponse=false;
110 +
111 +  //watch out, the cbafbasedir string is in GeneralToolBox
112   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines