1 |
dkralph |
1.1 |
#ifndef CSAMPLE_HH
|
2 |
|
|
#define CSAMPLE_HH
|
3 |
|
|
|
4 |
|
|
//
|
5 |
|
|
// helper class to handle sample inputs
|
6 |
|
|
//
|
7 |
|
|
class CSample
|
8 |
|
|
{
|
9 |
|
|
public:
|
10 |
|
|
CSample(){}
|
11 |
|
|
~CSample(){}
|
12 |
|
|
|
13 |
|
|
TString label; // plot item label
|
14 |
|
|
Int_t color; // plot item color
|
15 |
|
|
vector<TString> fnamev; // ntuple files
|
16 |
|
|
vector<Double_t> xsecv; // per file cross section
|
17 |
|
|
vector<TString> jsonv; // per file JSON file
|
18 |
|
|
vector<Double_t> weightv; // per file event weight
|
19 |
|
|
|
20 |
|
|
// data type
|
21 |
|
|
// 0 : MC
|
22 |
|
|
// 1 : mu-el
|
23 |
|
|
// 2 : di-mu
|
24 |
|
|
// 3 : mu
|
25 |
|
|
// 4 : di-el
|
26 |
|
|
// 5 : el
|
27 |
|
|
vector<Int_t> typev;
|
28 |
|
|
};
|
29 |
|
|
|
30 |
|
|
#endif
|