Revision: | 1.1 |
Committed: | Fri Apr 27 14:25:30 2012 UTC (13 years ago) by bortigno |
Content type: | text/plain |
Branch: | MAIN |
CVS Tags: | lhcp_UnblindFix, hcp_Unblind, lhcp_11April, LHCP_PreAppFixAfterFreeze, LHCP_PreAppFreeze, workingVersionAfterHCP, hcpApproval, hcpPreApp, ICHEP8TeV, ichep8TeV, AN-12-181-7TeV_patch1, AN-12-181-7TeV, HEAD |
Log Message: | Pier code |
# | Content |
---|---|
1 | #include<string> |
2 | #include<map> |
3 | |
4 | struct Options |
5 | { |
6 | Options():rebin(50), legendx1(0.7),legendy1(0.65),legendx2(0.88),legendy2(0.90),min(-100),max(1000), yaxis("Events") {} |
7 | int rebin; |
8 | float legendx1; |
9 | float legendy1; |
10 | float legendx2; |
11 | float legendy2; |
12 | std::string xaxis; |
13 | std::string yaxis; |
14 | float min; |
15 | float max; |
16 | }; |
17 | |
18 | |
19 | std::map<std::string,Options> options; |
20 | void initOptions() |
21 | { |
22 | Options o1; |
23 | o1.rebin=5; |
24 | std::string sampleString("VlightRegionZee"); |
25 | options[sampleString]=o1; |
26 | } |