1 |
buchmann |
1.1 |
#include <iostream>
|
2 |
|
|
#include <vector>
|
3 |
buchmann |
1.11 |
#ifndef SampleClassLoaded
|
4 |
|
|
#include "SampleClass.C"
|
5 |
|
|
#endif
|
6 |
|
|
#define SetupLoaded
|
7 |
|
|
#ifndef ResultLibraryClassLoaded
|
8 |
|
|
#include "ResultLibraryClass.C"
|
9 |
|
|
#endif
|
10 |
buchmann |
1.1 |
|
11 |
|
|
using namespace std;
|
12 |
|
|
|
13 |
|
|
namespace PlottingSetup {
|
14 |
|
|
string datajzb="datajzb_ERROR";
|
15 |
|
|
string mcjzb="mcjzb_ERROR";
|
16 |
|
|
vector<float>jzb_cuts;
|
17 |
|
|
float MCPeakError=-999;
|
18 |
|
|
}
|
19 |
|
|
|
20 |
|
|
void read_config() {
|
21 |
buchmann |
1.14 |
datajzb="(jzb[1]+0.06*pt-3.58613)";
|
22 |
|
|
mcjzb="(jzb[1]+0.04*pt-2.32212)";
|
23 |
buchmann |
1.1 |
|
24 |
buchmann |
1.2 |
|
25 |
|
|
|
26 |
buchmann |
1.15 |
MCPeakError=0.0959939;
|
27 |
buchmann |
1.1 |
|
28 |
buchmann |
1.10 |
jzb_cuts.push_back(50); // JZB cut at 50
|
29 |
|
|
jzb_cuts.push_back(100); // JZB cut at 100
|
30 |
|
|
jzb_cuts.push_back(150); // JZB cut at 150
|
31 |
|
|
jzb_cuts.push_back(200); // JZB cut at 200
|
32 |
|
|
jzb_cuts.push_back(250); // JZB cut at 250
|
33 |
|
|
|
34 |
|
|
|
35 |
buchmann |
1.13 |
Nobs.push_back(408); // JZB cut at 50
|
36 |
|
|
Nobs.push_back(88); // JZB cut at 100
|
37 |
buchmann |
1.12 |
Nobs.push_back(21); // JZB cut at 150
|
38 |
buchmann |
1.11 |
Nobs.push_back(5); // JZB cut at 200
|
39 |
|
|
Nobs.push_back(3); // JZB cut at 250
|
40 |
buchmann |
1.13 |
Npred.push_back(407.667); // JZB cut at 50
|
41 |
|
|
Npred.push_back(89.3333); // JZB cut at 100
|
42 |
buchmann |
1.12 |
Npred.push_back(22); // JZB cut at 150
|
43 |
|
|
Npred.push_back(8); // JZB cut at 200
|
44 |
|
|
Npred.push_back(2); // JZB cut at 250
|
45 |
buchmann |
1.13 |
Nprederr.push_back(61.1314); // JZB cut at 50
|
46 |
|
|
Nprederr.push_back(13.6275); // JZB cut at 100
|
47 |
buchmann |
1.12 |
Nprederr.push_back(4.25245); // JZB cut at 150
|
48 |
|
|
Nprederr.push_back(2.10159); // JZB cut at 200
|
49 |
|
|
Nprederr.push_back(0.874007); // JZB cut at 250
|
50 |
|
|
|
51 |
|
|
|
52 |
buchmann |
1.13 |
flippedNobs.push_back(149); // JZB cut at 50
|
53 |
buchmann |
1.12 |
flippedNobs.push_back(11); // JZB cut at 100
|
54 |
|
|
flippedNobs.push_back(3); // JZB cut at 150
|
55 |
|
|
flippedNobs.push_back(1); // JZB cut at 200
|
56 |
buchmann |
1.10 |
flippedNobs.push_back(0); // JZB cut at 250
|
57 |
buchmann |
1.13 |
flippedNpred.push_back(149.333); // JZB cut at 50
|
58 |
|
|
flippedNpred.push_back(9.66667); // JZB cut at 100
|
59 |
buchmann |
1.12 |
flippedNpred.push_back(2); // JZB cut at 150
|
60 |
|
|
flippedNpred.push_back(-2); // JZB cut at 200
|
61 |
|
|
flippedNpred.push_back(1); // JZB cut at 250
|
62 |
buchmann |
1.13 |
flippedNprederr.push_back(114.072); // JZB cut at 50
|
63 |
|
|
flippedNprederr.push_back(27.1872); // JZB cut at 100
|
64 |
buchmann |
1.12 |
flippedNprederr.push_back(7.9425); // JZB cut at 150
|
65 |
|
|
flippedNprederr.push_back(3.14907); // JZB cut at 200
|
66 |
|
|
flippedNprederr.push_back(2.08); // JZB cut at 250
|
67 |
buchmann |
1.2 |
|
68 |
|
|
|
69 |
buchmann |
1.15 |
luminosity=4950;
|
70 |
buchmann |
1.4 |
|
71 |
buchmann |
1.1 |
|
72 |
|
|
cout << "Configuration successfully loaded!" << endl;
|
73 |
|
|
|
74 |
|
|
}
|
75 |
|
|
|