Revision: | 1.1 |
Committed: | Fri Jul 29 10:34:15 2011 UTC (13 years, 9 months ago) by arizzi |
Content type: | text/plain |
Branch: | MAIN |
Log Message: | macros |
# | User | Rev | Content |
---|---|---|---|
1 | arizzi | 1.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(0.001),max(100), 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 | std::map<std::string,Options> options; | ||
19 | |||
20 | void initOptions() | ||
21 | { | ||
22 | Options o1; | ||
23 | o1.rebin=10; | ||
24 | options["VlightRegionHWen/SimpleJets_dPhiVlightRegionHWen"]=o1; | ||
25 | } |