ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/auterman/SusyScan/PlotScript/SusyScan.cc
Revision: 1.4
Committed: Sat Jan 29 11:00:19 2011 UTC (14 years, 3 months ago) by auterman
Content type: text/plain
Branch: MAIN
Changes since 1.3: +26 -16 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 auterman 1.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 auterman 1.3 ExpNsigLimit = config.read<double>("ExpNsigLimit", 0);
22     ObsNsigLimit = config.read<double>("ObsNsigLimit", 0);
23 auterman 1.1 lnQ_b_exp = config.read<double>("-2lnQ_b@exp", 0);
24     lnQ_b_obs = config.read<double>("-2lnQ_b@obs", 0);
25 auterman 1.4 lnQ_b_xsec = config.read<double>("-2lnQ_b@xsec", 0);
26 auterman 1.1 lnQ_sb_exp = config.read<double>("-2lnQ_sb@exp", 0);
27     lnQ_sb_obs = config.read<double>("-2lnQ_sb@obs", 0);
28 auterman 1.4 lnQ_sb_xsec = config.read<double>("-2lnQ_sb@xsec", 0);
29     CLb_b_exp = config.read<double>("CLb_b@exp", 0);
30     CLb_b_obs = config.read<double>("CLb_b@obs", 0);
31     CLb_b_xsec = config.read<double>("CLb_b@xsec", 0);
32     CLs_exp = config.read<double>("CLs@exp", 0);
33     CLs_obs = config.read<double>("CLs@obs", 0);
34     CLs_xsec = config.read<double>("CLs@xsec", 0);
35     CLs_b_exp = config.read<double>("CLs_b@exp", 0);
36     CLs_b_obs = config.read<double>("CLs_b@obs", 0);
37     CLs_b_xsec = config.read<double>("CLs_b@xsec", 0);
38     CLs_b_n1_exp = config.read<double>("CLs_b_n1@exp", 0);
39     CLs_b_n1_obs = config.read<double>("CLs_b_n1@obs", 0);
40     CLs_b_n1_xsec = config.read<double>("CLs_b_n1@xsec", 0);
41     CLs_b_n2_exp = config.read<double>("CLs_b_n2@exp", 0);
42     CLs_b_n2_obs = config.read<double>("CLs_b_n2@obs", 0);
43     CLs_b_n2_xsec = config.read<double>("CLs_b_n2@xsec", 0);
44     CLs_b_p1_exp = config.read<double>("CLs_b_p1@exp", 0);
45     CLs_b_p1_obs = config.read<double>("CLs_b_p1@obs", 0);
46     CLs_b_p1_xsec = config.read<double>("CLs_b_p1@xsec", 0);
47     CLs_b_p2_exp = config.read<double>("CLs_b_p2@exp", 0);
48     CLs_b_p2_obs = config.read<double>("CLs_b_p2@obs", 0);
49     CLs_b_p2_xsec = config.read<double>("CLs_b_p2@xsec", 0);
50     CLsb_b_exp = config.read<double>("CLsb_b@exp", 0);
51     CLsb_b_obs = config.read<double>("CLsb_b@obs", 0);
52     CLsb_b_xsec = config.read<double>("CLsb_b@xsec", 0);
53 auterman 1.2 PLExpXsecLimit= config.read<double>("RooSimpleProfile.xsec.ExpUpperLimit", 0);
54     PLObsXsecLimit= config.read<double>("RooSimpleProfile.xsec.ObsUpperLimit", 0);
55     PLExpNsigLimit= config.read<double>("RooSimpleProfile.signal.ExpUpperLimit", 0);
56     PLObsNsigLimit= config.read<double>("RooSimpleProfile.signal.ObsUpperLimit", 0);
57 auterman 1.3 FCExpXsecLimit= config.read<double>("RooFC.xsec.ExpUpperLimit", 0);
58     FCObsXsecLimit= config.read<double>("RooFC.xsec.ObsUpperLimit", 0);
59     FCExpNsigLimit= config.read<double>("RooFC.signal.ExpUpperLimit", 0);
60     FCObsNsigLimit= config.read<double>("RooFC.signal.ObsUpperLimit", 0);
61     MCMCExpXsecLimit= config.read<double>("RooMCMC.xsec.ExpUpperLimit", 0);
62     MCMCObsXsecLimit= config.read<double>("RooMCMC.xsec.ObsUpperLimit", 0);
63     MCMCExpNsigLimit= config.read<double>("RooMCMC.signal.ExpUpperLimit", 0);
64     MCMCObsNsigLimit= config.read<double>("RooMCMC.signal.ObsUpperLimit", 0);
65 auterman 1.1 }