ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/cbrown/AnalysisFramework/DistributedModelCalculations/last_configuration.C
Revision: 1.16
Committed: Fri Mar 9 17:05:37 2012 UTC (13 years, 1 month ago) by buchmann
Content type: text/plain
Branch: MAIN
Changes since 1.15: +4 -4 lines
Log Message:
Restored lumi

File Contents

# Content
1 #include <iostream>
2 #include <vector>
3 #ifndef SampleClassLoaded
4 #include "SampleClass.C"
5 #endif
6 #define SetupLoaded
7 #ifndef ResultLibraryClassLoaded
8 #include "ResultLibraryClass.C"
9 #endif
10
11 using namespace std;
12
13 namespace PlottingSetup {
14 string datajzb="datajzb_ERROR";
15 string mcjzb="mcjzb_ERROR";
16 vector<float>jzb_cuts;
17 float MCPeakError=-999;
18 }
19
20 void read_config() {
21 datajzb="(jzb[1]+0.06*pt-3.58612)";
22 mcjzb="(jzb[1]+0.04*pt-2.32211)";
23
24
25
26 MCPeakError=0.0990011;
27
28 jzb_cuts.push_back(50); // JZB cut at 50
29 jzb_cuts.push_back(100); // JZB cut at 100
30 jzb_cuts.push_back(150); // JZB cut at 150
31 jzb_cuts.push_back(200); // JZB cut at 200
32 jzb_cuts.push_back(250); // JZB cut at 250
33
34
35 Nobs.push_back(408); // JZB cut at 50
36 Nobs.push_back(88); // JZB cut at 100
37 Nobs.push_back(21); // JZB cut at 150
38 Nobs.push_back(5); // JZB cut at 200
39 Nobs.push_back(3); // JZB cut at 250
40 Npred.push_back(407.667); // JZB cut at 50
41 Npred.push_back(89.3333); // JZB cut at 100
42 Npred.push_back(22); // JZB cut at 150
43 Npred.push_back(8); // JZB cut at 200
44 Npred.push_back(2); // JZB cut at 250
45 Nprederr.push_back(61.1314); // JZB cut at 50
46 Nprederr.push_back(13.6275); // JZB cut at 100
47 Nprederr.push_back(4.25245); // JZB cut at 150
48 Nprederr.push_back(2.10159); // JZB cut at 200
49 Nprederr.push_back(0.874007); // JZB cut at 250
50
51
52 flippedNobs.push_back(149); // JZB cut at 50
53 flippedNobs.push_back(11); // JZB cut at 100
54 flippedNobs.push_back(3); // JZB cut at 150
55 flippedNobs.push_back(1); // JZB cut at 200
56 flippedNobs.push_back(0); // JZB cut at 250
57 flippedNpred.push_back(149.333); // JZB cut at 50
58 flippedNpred.push_back(9.66667); // JZB cut at 100
59 flippedNpred.push_back(2); // JZB cut at 150
60 flippedNpred.push_back(-2); // JZB cut at 200
61 flippedNpred.push_back(1); // JZB cut at 250
62 flippedNprederr.push_back(114.072); // JZB cut at 50
63 flippedNprederr.push_back(27.1872); // JZB cut at 100
64 flippedNprederr.push_back(7.9425); // JZB cut at 150
65 flippedNprederr.push_back(3.14907); // JZB cut at 200
66 flippedNprederr.push_back(2.08); // JZB cut at 250
67
68
69 luminosity=4653.74;
70
71
72 cout << "Configuration successfully loaded!" << endl;
73
74 }
75