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.29 by buchmann, Mon Aug 29 06:23:01 2011 UTC vs.
Revision 1.42 by buchmann, Wed Sep 28 15:33:28 2011 UTC

# Line 13 | Line 13 | using namespace std;
13  
14  
15   namespace PlottingSetup {
16 +
17 +  string directoryname="official_2096_golden_run_PAS_v4andon";
18    
19 <  string directoryname="Testing";
19 >  bool RestrictToMassPeak=true; // at the moment setting this to false will only trigger alarms all over the place, but the idea is to be able to switch between
20 >                                // the regular on-peak JZB method and an off-peak opposite sign analysis
21    
22 <  float luminosity=1559;//751.0;//486.0;//468.0//336.;//pb^{-1}
23 <  float lumiuncert=0.04;// to be indicated in [0,1] range, e.g. for 4% write 0.04
22 >  float luminosity=2096.0;//1936;//751.0;//486.0;//468.0//336.;//pb^{-1}
23 >  float lumiuncert=0.045;// to be indicated in [0,1] range, e.g. for 4% write 0.04
24 >
25    string jzbvariabledata="jzb[1]+0.06*pt";
26    string jzbvariablemc="jzb[1]+0.04*pt";
27    float jzbHigh = 350.; // Range for JZB plots
28 <  
28 >
29    samplecollection allsamples("completesamplecollection");
30    samplecollection signalsamples("signalsamplecollection");
31    samplecollection scansample("scansamplecollection");
32 +  samplecollection raresample("raresamplecollection");
33    int data=1;
34    int mc=0;
35    int mcwithsignal=2;
# Line 47 | Line 52 | namespace PlottingSetup {
52    //TCut basiccut("(passed_triggers||!is_data)");
53    
54    // SUSY scan parameters
50 //  float mglustart=25;float mgluend=1200;float mglustep=25; //guessed values for official file
51 //  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;
54
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 63 | 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 84 | 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 <  
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