1 |
#ifndef looperNew_H
|
2 |
#define looperNew_H
|
3 |
|
4 |
#include "TH1F.h"
|
5 |
#include "TH2F.h"
|
6 |
#include "CMS2.h"
|
7 |
|
8 |
typedef ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<float> > LorentzVector;
|
9 |
|
10 |
class looperNew {
|
11 |
public:
|
12 |
int ScanChain ( TChain* chain,
|
13 |
char *prefix = "",
|
14 |
int rfmethod = 0,
|
15 |
bool removeGT = false,
|
16 |
bool writeHighMET = false);
|
17 |
|
18 |
void BookHistos ( char *prefix );
|
19 |
bool isMuon ( int index );
|
20 |
bool isElectron ( int index );
|
21 |
bool isGoodTrack ( int index );
|
22 |
void correctMETforMuon ( LorentzVector p4, int index );
|
23 |
void correctMETforPion ( int index );
|
24 |
void correctSumEtForMuon ( LorentzVector p4, int index );
|
25 |
void correctSumEtForPion ( int index );
|
26 |
float deltaPhi ( float phi1, float phi2);
|
27 |
void getGhostTrackFlags();
|
28 |
float tcmet_x;
|
29 |
float tcmet_y;
|
30 |
float tcsumet;
|
31 |
bool removeGhostTracks;
|
32 |
vector<int> isGhostTrack;
|
33 |
|
34 |
TH1F* htcmet;
|
35 |
TH1F* htcmetNew;
|
36 |
TH1F* hgenmet;
|
37 |
TH1F* hmet;
|
38 |
TH1F* hmumet;
|
39 |
TH1F* hdeltamumet;
|
40 |
TH1F* hdeltatcmet;
|
41 |
TH1F* hdeltatcmetNew;
|
42 |
TH1F* hdeltaphimumet;
|
43 |
TH1F* hdeltaphitcmet;
|
44 |
TH1F* hdeltaphitcmetNew;
|
45 |
TH2F* response_function;
|
46 |
TH1F* correctedJetEta;
|
47 |
TH2F* htcmetxy_sumet;
|
48 |
TH2F* hdeltatcmetNew_genmet;
|
49 |
|
50 |
};
|
51 |
|
52 |
#endif
|