9 |
|
|
10 |
|
class FOFlags { |
11 |
|
public : |
12 |
< |
std::string inputfile; |
13 |
< |
std::string outputfile; |
12 |
> |
TString config; |
13 |
> |
TString inputfile; |
14 |
|
TString outdir; |
15 |
< |
bool mc, debug; |
16 |
< |
unsigned era; |
17 |
< |
TString inputdir; |
18 |
< |
TString mufakedir; |
19 |
< |
TString elefakedir; |
15 |
> |
bool debug; |
16 |
> |
TString mufakefile2011; |
17 |
> |
TString elefakefile2011; |
18 |
> |
TString mufakefile2012; |
19 |
> |
TString elefakefile2012; |
20 |
|
TString faketype; |
21 |
– |
TString config; |
21 |
|
TString efftype; |
22 |
< |
std::string inputfiles; |
22 |
> |
TString uncert; |
23 |
> |
TString extraArgs; |
24 |
> |
bool plotWholeSample; |
25 |
> |
bool heavyFlavor; |
26 |
> |
bool ssof; |
27 |
> |
bool writessofratio; |
28 |
> |
bool plotAllCats; |
29 |
> |
bool makeFakeTuples; |
30 |
> |
bool hiStatFakes; |
31 |
|
FOFlags(): |
32 |
< |
inputfile(""),outputfile(""),outdir("."),mc(false),debug(false),era(2011),inputdir(""), |
33 |
< |
mufakedir(""),elefakedir(""),faketype(""),config(""),efftype(""),inputfiles(""){}; |
32 |
> |
config(""), |
33 |
> |
inputfile(""), |
34 |
> |
outdir("."), |
35 |
> |
debug(false), |
36 |
> |
mufakefile2011(""), |
37 |
> |
elefakefile2011(""), |
38 |
> |
mufakefile2012(""), |
39 |
> |
elefakefile2012(""), |
40 |
> |
faketype(""), |
41 |
> |
efftype(""), |
42 |
> |
uncert(""), |
43 |
> |
extraArgs(""), |
44 |
> |
plotWholeSample(false), |
45 |
> |
heavyFlavor(false), |
46 |
> |
ssof(false), |
47 |
> |
writessofratio(false), |
48 |
> |
plotAllCats(false), |
49 |
> |
makeFakeTuples(false), |
50 |
> |
hiStatFakes(false) |
51 |
> |
{}; |
52 |
|
|
53 |
|
void dump() { |
54 |
|
cout << "--------fo options---------" << endl; |
55 |
< |
cout << "inputfile: " << inputfile << endl; |
56 |
< |
cout << "outputfile: " << outputfile << endl; |
57 |
< |
cout << "outdir: " << outdir << endl; |
58 |
< |
cout << "mc: " << mc << endl; |
59 |
< |
cout << "debug: " << debug << endl; |
60 |
< |
cout << "era: " << era << endl; |
61 |
< |
cout << "inputdir: " << inputdir << endl; |
62 |
< |
cout << "mufakedir: " << mufakedir << endl; |
63 |
< |
cout << "elefakedir: " << elefakedir << endl; |
64 |
< |
cout << "faketype: " << faketype << endl; |
65 |
< |
cout << "config: " << config << endl; |
66 |
< |
cout << "efftype: " << efftype << endl; |
67 |
< |
cout << "inputfiles: " << inputfiles << endl; |
55 |
> |
cout << "config : " << config << endl; |
56 |
> |
cout << "inputfile : " << inputfile << endl; |
57 |
> |
cout << "outdir : " << outdir << endl; |
58 |
> |
cout << "debug : " << debug << endl; |
59 |
> |
cout << "mufakefile2011 : " << mufakefile2011 << endl; |
60 |
> |
cout << "elefakefile2011 : " << elefakefile2011 << endl; |
61 |
> |
cout << "mufakefile2012 : " << mufakefile2012 << endl; |
62 |
> |
cout << "elefakefile2012 : " << elefakefile2012 << endl; |
63 |
> |
cout << "faketype : " << faketype << endl; |
64 |
> |
cout << "efftype : " << efftype << endl; |
65 |
> |
cout << "uncert : " << uncert << endl; |
66 |
> |
cout << "extraArgs : " << extraArgs << endl; |
67 |
> |
cout << "plotWholeSample : " << plotWholeSample << endl; |
68 |
> |
cout << "heavyFlavor : " << heavyFlavor << endl; |
69 |
> |
cout << "ssof : " << ssof << endl; |
70 |
> |
cout << "writessofratio : " << writessofratio << endl; |
71 |
> |
cout << "plotAllCats : " << plotAllCats << endl; |
72 |
> |
cout << "makeFakeTuples : " << makeFakeTuples << endl; |
73 |
> |
cout << "hiStatFakes : " << hiStatFakes << endl; |
74 |
|
cout << "------------------------" << endl; |
75 |
|
}; |
76 |
|
}; |