1 |
#ifndef ELECTRON_FAKE_RATE_ARGS
|
2 |
#define ELECTRON_FAKE_RATE_ARGS
|
3 |
|
4 |
#include <iostream>
|
5 |
#include <sstream>
|
6 |
#include "TString.h"
|
7 |
#include "ParseArgs.h"
|
8 |
using namespace std;
|
9 |
|
10 |
class ElectronFakeRateFlags {
|
11 |
public :
|
12 |
string catalogDir;
|
13 |
string book;
|
14 |
string dataset;
|
15 |
string fileset;
|
16 |
string outputFilename;
|
17 |
string dielectron_or_dimuon_data;
|
18 |
Int_t isData;
|
19 |
Int_t n_events_to_process;
|
20 |
|
21 |
ElectronFakeRateFlags():
|
22 |
catalogDir(""),book(""),dataset(""),fileset(""),outputFilename(""),dielectron_or_dimuon_data(""),isData(-2),n_events_to_process(-2) {};
|
23 |
|
24 |
void dump() {
|
25 |
cout << "--------electron fake rate options---------" << endl;
|
26 |
cout << "catalogDir: " << catalogDir << endl;
|
27 |
cout << "book: " << book << endl;
|
28 |
cout << "dataset: " << dataset << endl;
|
29 |
cout << "fileset: " << fileset << endl;
|
30 |
cout << "outputFilename: " << outputFilename << endl;
|
31 |
cout << "dielectron_or_dimuon_data: " << dielectron_or_dimuon_data << endl;
|
32 |
cout << "isData: " << isData << endl;
|
33 |
cout << "n_events_to_process: " << n_events_to_process << endl;
|
34 |
};
|
35 |
};
|
36 |
|
37 |
void parse_electron_fake_rate_args( int argc, char** argv, ElectronFakeRateFlags &flags );
|
38 |
|
39 |
#endif
|