ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/cbrown/AnalysisFramework/DistributedModelCalculations/last_configuration.C
Revision: 1.7
Committed: Thu Sep 29 12:57:00 2011 UTC (13 years, 7 months ago) by buchmann
Content type: text/plain
Branch: MAIN
Changes since 1.6: +4 -0 lines
Log Message:
Also providing information about JZB>200 if we want to compute limits for it

File Contents

# User Rev Content
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.6 datajzb="(jzb[1]+0.06*pt-3.11057)";
15     mcjzb="(jzb[1]+0.04*pt-1.99849)";
16 buchmann 1.1
17 buchmann 1.2
18    
19 buchmann 1.6 MCPeakError=0.142505;
20 buchmann 1.1
21     jzb_cuts.push_back(50);
22     jzb_cuts.push_back(100);
23 buchmann 1.5 jzb_cuts.push_back(150);
24 buchmann 1.7 jzb_cuts.push_back(200);
25 buchmann 1.1
26    
27 buchmann 1.6 Nobs.push_back(168);
28     Nobs.push_back(48);
29 buchmann 1.5 Nobs.push_back(11);
30 buchmann 1.7 Nobs.push_back(3);
31 buchmann 1.6 Npred.push_back(164);
32     Npred.push_back(37.3333);
33     Npred.push_back(7);
34 buchmann 1.7 Npred.push_back(2.66667);
35 buchmann 1.6 Nprederr.push_back(43.4943);
36     Nprederr.push_back(10.5505);
37     Nprederr.push_back(2.5658);
38 buchmann 1.7 Nprederr.push_back(1.22474);
39 buchmann 1.2
40    
41 buchmann 1.6 luminosity=2096;
42 buchmann 1.4
43 buchmann 1.1
44     cout << "Configuration successfully loaded!" << endl;
45    
46     }
47