1 |
dkralph |
1.1 |
#ifndef FR_STRUCT
|
2 |
|
|
#define FR_STRUCT
|
3 |
|
|
|
4 |
|
|
#include <iostream>
|
5 |
|
|
#include <iomanip>
|
6 |
|
|
|
7 |
|
|
#include "TString.h"
|
8 |
|
|
#include "SimpleLepton.h"
|
9 |
|
|
#include "TH2DAsymErr.h"
|
10 |
|
|
#include "CEffUser2D.h"
|
11 |
|
|
#include "TH2D.h"
|
12 |
|
|
#include "TFile.h"
|
13 |
|
|
using namespace std;
|
14 |
|
|
using namespace mithep;
|
15 |
|
|
//----------------------------------------------------------------------------------------
|
16 |
|
|
// class to hold files and graphs with FR info
|
17 |
|
|
class FR_struct {
|
18 |
|
|
public:
|
19 |
|
|
FR_struct(TString, TString);
|
20 |
|
|
~FR_struct();
|
21 |
|
|
double get_fake_weight(TString uncert, SimpleLepton fake_lep);
|
22 |
|
|
void setErrors(TH2DAsymErr *h, CEffUser2D *fr);
|
23 |
|
|
void printSiEff(TH2DAsymErr *h, TH2DAsymErr::EErrType errType);
|
24 |
|
|
TFile *mufrfile,*elefrfile;
|
25 |
|
|
TH2D *hFRmu,*hFRele;
|
26 |
|
|
TH2D *hFRmuErrl,*hFReleErrl;
|
27 |
|
|
TH2D *hFRmuErrh,*hFReleErrh;
|
28 |
|
|
CEffUser2D mufr, elefr;
|
29 |
|
|
bool absEtaMu,absEtaEle;
|
30 |
|
|
bool dynamicMuErrHists,dynamicEleErrHists;
|
31 |
|
|
};
|
32 |
|
|
#endif
|