ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/cbrown/AnalysisFramework/DistributedModelCalculations/last_configuration.C
Revision: 1.10
Committed: Wed Nov 16 09:31:45 2011 UTC (13 years, 5 months ago) by buchmann
Content type: text/plain
Branch: MAIN
Changes since 1.9: +42 -17 lines
Log Message:
config used for PA/S1121

File Contents

# Content
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 datajzb="(jzb[1]+0.06*pt-3.34267)";
15 mcjzb="(jzb[1]+0.04*pt-2.4392)";
16
17
18
19 MCPeakError=0.1121;
20
21 jzb_cuts.push_back(50); // JZB cut at 50
22 jzb_cuts.push_back(100); // JZB cut at 100
23 jzb_cuts.push_back(150); // JZB cut at 150
24 jzb_cuts.push_back(200); // JZB cut at 200
25 jzb_cuts.push_back(250); // JZB cut at 250
26
27
28 Nobs.push_back(292); // JZB cut at 50
29 Nobs.push_back(68); // JZB cut at 100
30 Nobs.push_back(17); // JZB cut at 150
31 Nobs.push_back(4); // JZB cut at 200
32 Nobs.push_back(1); // JZB cut at 250
33 Npred.push_back(289.333); // JZB cut at 50
34 Npred.push_back(61); // JZB cut at 100
35 Npred.push_back(15); // JZB cut at 150
36 Npred.push_back(5.33333); // JZB cut at 200
37 Npred.push_back(2); // JZB cut at 250
38 Nprederr.push_back(71.4021); // JZB cut at 50
39 Nprederr.push_back(17.3704); // JZB cut at 100
40 Nprederr.push_back(4.69042); // JZB cut at 150
41 Nprederr.push_back(2.04124); // JZB cut at 200
42 Nprederr.push_back(1.0274); // JZB cut at 250
43
44
45 flippedNobs.push_back(103); // JZB cut at 50
46 flippedNobs.push_back(7); // JZB cut at 100
47 flippedNobs.push_back(2); // JZB cut at 150
48 flippedNobs.push_back(0); // JZB cut at 200
49 flippedNobs.push_back(0); // JZB cut at 250
50 flippedNpred.push_back(105.667); // JZB cut at 50
51 flippedNpred.push_back(14); // JZB cut at 100
52 flippedNpred.push_back(4); // JZB cut at 150
53 flippedNpred.push_back(-1.33333); // JZB cut at 200
54 flippedNpred.push_back(-1); // JZB cut at 250
55 flippedNprederr.push_back(99.7657); // JZB cut at 50
56 flippedNprederr.push_back(25.4689); // JZB cut at 100
57 flippedNprederr.push_back(7.40355); // JZB cut at 150
58 flippedNprederr.push_back(3.02765); // JZB cut at 200
59 flippedNprederr.push_back(1.45535); // JZB cut at 250
60
61
62 luminosity=3523.18;
63
64
65 cout << "Configuration successfully loaded!" << endl;
66
67 }
68