1 |
#include "SusyScan.h"
|
2 |
#include "ConfigFile.h"
|
3 |
|
4 |
SusyScan::SusyScan(std::string filename)
|
5 |
{
|
6 |
ConfigFile config(filename);
|
7 |
Mzero = config.read<double>("Mzero", 0);
|
8 |
Mhalf = config.read<double>("Mhalf", 0);
|
9 |
Mu = config.read<double>("Mu", 0);
|
10 |
TanBeta = config.read<double>("TanBeta", 0);
|
11 |
Azero = config.read<double>("Azero", 0);
|
12 |
Run = config.read<double>("Run", 0);
|
13 |
background = config.read<double>("background", 0);
|
14 |
background_uncertainty = config.read<double>("background.uncertainty", 0);
|
15 |
data = config.read<double>("data", 0);
|
16 |
signal = config.read<double>("signal", 0);
|
17 |
signal_uncertainty = config.read<double>("signal.uncertainty", 0);
|
18 |
Xsection = config.read<double>("Xsection", 0);
|
19 |
ExpXsecLimit = config.read<double>("ExpXsecLimit", 0);
|
20 |
ObsXsecLimit = config.read<double>("ObsXsecLimit", 0);
|
21 |
ExpNsigLimit = config.read<double>("ExpNsigLimit", 0);
|
22 |
ObsNsigLimit = config.read<double>("ObsNsigLimit", 0);
|
23 |
lnQ_b_exp = config.read<double>("-2lnQ_b@exp", 0);
|
24 |
lnQ_b_obs = config.read<double>("-2lnQ_b@obs", 0);
|
25 |
lnQ_sb_exp = config.read<double>("-2lnQ_sb@exp", 0);
|
26 |
lnQ_sb_obs = config.read<double>("-2lnQ_sb@obs", 0);
|
27 |
CLb_b_exp = config.read<double>("CLb_b_exp", 0);
|
28 |
CLb_b_obs = config.read<double>("CLb_b_obs", 0);
|
29 |
CLs_exp = config.read<double>("CLs_exp", 0);
|
30 |
CLs_obs = config.read<double>("CLs_obs", 0);
|
31 |
CLs_b_exp = config.read<double>("CLs_b_exp", 0);
|
32 |
CLs_b_obs = config.read<double>("CLs_b_obs", 0);
|
33 |
CLs_b_n1_exp = config.read<double>("CLs_b_n1_exp", 0);
|
34 |
CLs_b_n1_obs = config.read<double>("CLs_b_n1_obs", 0);
|
35 |
CLs_b_n2_exp = config.read<double>("CLs_b_n2_exp", 0);
|
36 |
CLs_b_n2_obs = config.read<double>("CLs_b_n2_obs", 0);
|
37 |
CLs_b_p1_exp = config.read<double>("CLs_b_p1_exp", 0);
|
38 |
CLs_b_p1_obs = config.read<double>("CLs_b_p1_obs", 0);
|
39 |
CLs_b_p2_exp = config.read<double>("CLs_b_p2_exp", 0);
|
40 |
CLs_b_p2_obs = config.read<double>("CLs_b_p2_obs", 0);
|
41 |
CLsb_b_exp = config.read<double>("CLsb_b_exp", 0);
|
42 |
CLsb_b_obs = config.read<double>("CLsb_b_obs", 0);
|
43 |
PLExpXsecLimit= config.read<double>("RooSimpleProfile.xsec.ExpUpperLimit", 0);
|
44 |
PLObsXsecLimit= config.read<double>("RooSimpleProfile.xsec.ObsUpperLimit", 0);
|
45 |
PLExpNsigLimit= config.read<double>("RooSimpleProfile.signal.ExpUpperLimit", 0);
|
46 |
PLObsNsigLimit= config.read<double>("RooSimpleProfile.signal.ObsUpperLimit", 0);
|
47 |
FCExpXsecLimit= config.read<double>("RooFC.xsec.ExpUpperLimit", 0);
|
48 |
FCObsXsecLimit= config.read<double>("RooFC.xsec.ObsUpperLimit", 0);
|
49 |
FCExpNsigLimit= config.read<double>("RooFC.signal.ExpUpperLimit", 0);
|
50 |
FCObsNsigLimit= config.read<double>("RooFC.signal.ObsUpperLimit", 0);
|
51 |
MCMCExpXsecLimit= config.read<double>("RooMCMC.xsec.ExpUpperLimit", 0);
|
52 |
MCMCObsXsecLimit= config.read<double>("RooMCMC.xsec.ObsUpperLimit", 0);
|
53 |
MCMCExpNsigLimit= config.read<double>("RooMCMC.signal.ExpUpperLimit", 0);
|
54 |
MCMCObsNsigLimit= config.read<double>("RooMCMC.signal.ObsUpperLimit", 0);
|
55 |
}
|