1 |
buchmann |
1.1 |
#include <iostream>
|
2 |
|
|
#include <vector>
|
3 |
|
|
|
4 |
|
|
using namespace std;
|
5 |
|
|
|
6 |
|
|
namespace PlottingSetup {
|
7 |
|
|
string datajzb="datajzb_ERROR";
|
8 |
|
|
string mcjzb="mcjzb_ERROR";
|
9 |
|
|
vector<float>jzb_cuts;
|
10 |
|
|
float MCPeakError=-999;
|
11 |
|
|
}
|
12 |
|
|
|
13 |
|
|
void read_config() {
|
14 |
buchmann |
1.2 |
datajzb="(jzb[1]+0.06*pt-3.04075)";
|
15 |
buchmann |
1.1 |
mcjzb="(jzb[1]+0.04*pt-1.82559)";
|
16 |
|
|
|
17 |
buchmann |
1.2 |
|
18 |
|
|
|
19 |
|
|
MCPeakError=0.183219;
|
20 |
buchmann |
1.1 |
|
21 |
|
|
jzb_cuts.push_back(50);
|
22 |
|
|
jzb_cuts.push_back(100);
|
23 |
|
|
|
24 |
|
|
|
25 |
buchmann |
1.2 |
Nobs.push_back(20);
|
26 |
|
|
Nobs.push_back(6);
|
27 |
|
|
|
28 |
|
|
Npred.push_back(24);
|
29 |
|
|
Npred.push_back(8);
|
30 |
|
|
|
31 |
|
|
Nprederr.push_back(TMath::Sqrt(6*6+1.4*1.4+2.4*2.4));
|
32 |
|
|
Nprederr.push_back(TMath::Sqrt(4*4+0.1*0.1+0.8*0.8));
|
33 |
buchmann |
1.1 |
|
34 |
buchmann |
1.3 |
luminosity=191.0;
|
35 |
buchmann |
1.1 |
cout << "Configuration successfully loaded!" << endl;
|
36 |
|
|
|
37 |
|
|
}
|
38 |
|
|
|