70 |
|
bool study_sidebands=false; /// FOR REAL |
71 |
|
bool do_test=false;/// DONE (just any test you wish) |
72 |
|
bool do_jzb_correction=false; //use this to find out the correction factor; originally this was done automatically but now you should do this separately and update Modules/Setup.C |
73 |
< |
bool do_find_sideband_definition=true; |
73 |
> |
bool do_find_sideband_definition=false; |
74 |
|
bool do_pick_up_events=false; ///DONE |
75 |
|
bool do_ttbar_with_shapes=false; |
76 |
|
bool do_upper_limits=false; |
77 |
+ |
bool do_run_check=false; |
78 |
+ |
|
79 |
+ |
bool do_show_dibosons=true; |
80 |
|
|
81 |
|
bool do_efficiency_scan_in_susy_space=false; /// NOW OUTSOURCED TO T3 |
82 |
|
bool requireZ=true; |
84 |
|
//**** part 1 : peak finding |
85 |
|
float MCPeak=0,MCPeakError=0,DataPeak=0,DataPeakError=0,MCSigma=10,DataSigma=10; |
86 |
|
method=Kostasmethod;//Kostasmethod;//dogaus3sigma;// options: dogaus,doKM,dogaus2sigma,dogaus3sigma |
87 |
< |
if(do_peak_finding||calculate_pred_and_observed||do_all) find_peaks(MCPeak,MCPeakError, DataPeak, DataPeakError,MCSigma,DataSigma,resultsummary); |
87 |
> |
if(do_peak_finding||do_show_dibosons||calculate_pred_and_observed||do_all) find_peaks(MCPeak,MCPeakError, DataPeak, DataPeakError,MCSigma,DataSigma,resultsummary); |
88 |
|
|
89 |
|
stringstream datajzb; |
90 |
|
if(DataPeak>0) datajzb<<"("<<jzbvariabledata<<"-"<<TMath::Abs(DataPeak)<<")"; |
143 |
|
pick_up_events((const char*)(sidebandcut&&cutOSSF&&cutnJets&&basiccut&&"((jzb[1]+0.06*pt-2.84727)<-100)")); |
144 |
|
} |
145 |
|
|
146 |
+ |
if(do_run_check) run_check(); |
147 |
+ |
if(do_show_dibosons) show_dibosons(datajzb.str(),mcjzb.str()); |
148 |
+ |
|
149 |
|
if(do_test) test(); |
150 |
|
|
151 |
|
return 0; |