ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/auterman/SusyScan/PlotScript/SusyScan.cc
Revision: 1.1
Committed: Tue Nov 23 20:16:52 2010 UTC (14 years, 5 months ago) by auterman
Content type: text/plain
Branch: MAIN
Log Message:
adding new functionality

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     lnQ_b_exp = config.read<double>("-2lnQ_b@exp", 0);
22     lnQ_b_obs = config.read<double>("-2lnQ_b@obs", 0);
23     lnQ_sb_exp = config.read<double>("-2lnQ_sb@exp", 0);
24     lnQ_sb_obs = config.read<double>("-2lnQ_sb@obs", 0);
25     CLb_b_exp = config.read<double>("CLb_b_exp", 0);
26     CLb_b_obs = config.read<double>("CLb_b_obs", 0);
27     CLs_exp = config.read<double>("CLs_exp", 0);
28     CLs_obs = config.read<double>("CLs_obs", 0);
29     CLs_b_exp = config.read<double>("CLs_b_exp", 0);
30     CLs_b_obs = config.read<double>("CLs_b_obs", 0);
31     CLs_b_n1_exp = config.read<double>("CLs_b_n1_exp", 0);
32     CLs_b_n1_obs = config.read<double>("CLs_b_n1_obs", 0);
33     CLs_b_n2_exp = config.read<double>("CLs_b_n2_exp", 0);
34     CLs_b_n2_obs = config.read<double>("CLs_b_n2_obs", 0);
35     CLs_b_p1_exp = config.read<double>("CLs_b_p1_exp", 0);
36     CLs_b_p1_obs = config.read<double>("CLs_b_p1_obs", 0);
37     CLs_b_p2_exp = config.read<double>("CLs_b_p2_exp", 0);
38     CLs_b_p2_obs = config.read<double>("CLs_b_p2_obs", 0);
39     CLsb_b_exp = config.read<double>("CLsb_b_exp", 0);
40     CLsb_b_obs = config.read<double>("CLsb_b_obs", 0);
41     }