1 |
buchmann |
1.1 |
#include <iostream>
|
2 |
|
|
#include <vector>
|
3 |
|
|
#include <sys/stat.h>
|
4 |
|
|
#include "../../Plotting/Modules/GeneralToolBox.C"
|
5 |
|
|
#include "../../Plotting/Modules/SampleClass.C"
|
6 |
|
|
#include "../../Plotting/Modules/Setup.C"
|
7 |
|
|
#include "../../Plotting/Modules/PeakFinder.C"
|
8 |
|
|
#include "../../Plotting/Modules/Poisson_Calculator.C"
|
9 |
|
|
#include "../../Plotting/Modules/setTDRStyle.C"
|
10 |
|
|
#include "../../Plotting/Modules/ActiveSamples.C"
|
11 |
|
|
#include "../../Plotting/Modules/UpperLimitsWithShape.C"
|
12 |
|
|
#include "../../Plotting/Modules/Plotting_Functions.C"
|
13 |
|
|
#include "../../Plotting/Modules/LimitCalculation.C"
|
14 |
|
|
#include "../../Plotting/Modules/ResultModule.C"
|
15 |
buchmann |
1.2 |
#include "../../Plotting/Modules/CrossSectionReader.C"
|
16 |
buchmann |
1.1 |
#include "../../Plotting/Modules/Systematics.C"
|
17 |
|
|
#include "../../Plotting/Modules/SUSYScan.C"
|
18 |
|
|
#include "../last_configuration.C"
|
19 |
|
|
|
20 |
|
|
#include <TCut.h>
|
21 |
|
|
#include <TROOT.h>
|
22 |
|
|
#include <TCanvas.h>
|
23 |
|
|
#include <TMath.h>
|
24 |
|
|
#include <TColor.h>
|
25 |
|
|
#include <TPaveText.h>
|
26 |
|
|
#include <TRandom.h>
|
27 |
|
|
#include <TH1.h>
|
28 |
|
|
#include <TH2.h>
|
29 |
|
|
#include <TF1.h>
|
30 |
|
|
#include <TSQLResult.h>
|
31 |
|
|
|
32 |
|
|
#ifndef Verbosity
|
33 |
|
|
#define Verbosity 0
|
34 |
|
|
#endif
|
35 |
|
|
#ifndef HUSH
|
36 |
|
|
#define HUSH 1
|
37 |
|
|
#endif
|
38 |
|
|
|
39 |
|
|
//using namespace std;
|
40 |
|
|
|
41 |
|
|
using namespace PlottingSetup;
|
42 |
|
|
|
43 |
|
|
int main(int narg, char *args[])
|
44 |
|
|
{
|
45 |
|
|
if(narg<3||narg>3) {
|
46 |
|
|
cout << "USAGE : " << endl;
|
47 |
|
|
cout << args[0] << " Njobs thisjob" << endl;
|
48 |
|
|
cout << " where Njobs is the number of jobs, and thisjob correspond to this jobs' job number" << endl;
|
49 |
|
|
return -1;
|
50 |
|
|
}
|
51 |
|
|
|
52 |
|
|
float njobs=atoi(args[1]);
|
53 |
|
|
float jobnumber=atoi(args[2]);
|
54 |
|
|
|
55 |
|
|
gROOT->SetStyle("Plain");
|
56 |
|
|
setTDRStyle();
|
57 |
|
|
gStyle->SetTextFont(42);
|
58 |
|
|
bool showList=false;
|
59 |
|
|
read_config();
|
60 |
|
|
set_directory(PlottingSetup::directoryname);
|
61 |
|
|
set_treename("events");//you can set the treename here to be used; options are "events" (for reco) for "PFevents" (for particle flow)
|
62 |
|
|
define_SMS_sample(showList,allsamples,signalsamples,scansample);
|
63 |
|
|
setlumi(luminosity);
|
64 |
|
|
do_png(true);
|
65 |
|
|
do_pdf(false);
|
66 |
|
|
do_eps(false);
|
67 |
|
|
do_C(false);
|
68 |
|
|
setessentialcut(essential);//this sets the essential cut; this one is used in the draw command so it is AUTOMATICALLY applied everywhere. IMPORTANT: Do NOT store weights here!
|
69 |
|
|
|
70 |
|
|
|
71 |
buchmann |
1.2 |
scan_SUSY_parameter_space(mcjzb,datajzb,jzb_cuts,PlottingSetup::requireZ,MCPeakError,DataPeakError, njobs, jobnumber);
|
72 |
buchmann |
1.1 |
|
73 |
|
|
return 0;
|
74 |
|
|
}
|
75 |
|
|
|