1 |
#ifndef FOARGS
|
2 |
#define FOARGS
|
3 |
|
4 |
#include <iostream>
|
5 |
#include "TString.h"
|
6 |
using namespace std;
|
7 |
|
8 |
class FOFlags {
|
9 |
public :
|
10 |
TString inputdir;
|
11 |
TString etabin;
|
12 |
TString ptbin;
|
13 |
FOFlags():inputdir(""),etabin(""),ptbin(""){};
|
14 |
|
15 |
void dump() {
|
16 |
cout << "--------options---------" << endl;
|
17 |
cout << "inputdir: " << inputdir << endl;
|
18 |
cout << "etabin: " << etabin << endl;
|
19 |
cout << "ptbin: " << ptbin << endl;
|
20 |
cout << "------------------------" << endl;
|
21 |
};
|
22 |
};
|
23 |
|
24 |
void parse_foargs( int argc, char** argv, FOFlags &flags );
|
25 |
|
26 |
#endif
|