-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAnalysisPhoton.h
More file actions
55 lines (45 loc) · 1.26 KB
/
AnalysisPhoton.h
File metadata and controls
55 lines (45 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#ifndef AnalysisPhoton_h
#define AnalysisPhoton_h
#include "TROOT.h"
#include <string>
#include "TLorentzVector.h"
class AnalysisPhoton : public TLorentzVector {
public:
AnalysisPhoton() : TLorentzVector(0.,0.,0.,0.) {
pt=0.;
e=0.;
};
AnalysisPhoton(float px, float py, float pz, float e) : TLorentzVector(px, py, pz, e) {
};
~AnalysisPhoton(){};
bool passedPhotonID( const std::string& tightness ) const;
bool isIsolated( const std::string& tightness ) const;
bool isIsolated_hcal( const std::string& tightness ) const;
bool isIsolated_ecal( const std::string& tightness ) const;
bool isIsolated_nTracks( const std::string& tightness ) const;
bool isIsolated_ptTracks( const std::string& tightness ) const;
bool clusterMajOK( const std::string& tightness ) const;
bool clusterMinOK( const std::string& tightness ) const;
Float_t e;
Float_t pt;
Float_t eta;
Float_t phi;
Float_t eGen;
Float_t ptGen;
Float_t etaGen;
Float_t phiGen;
Float_t hcalIso;
Float_t ecalIso;
Int_t nTrkIso;
Float_t ptTrkIso;
Float_t clusterMaj;
Float_t clusterMin;
Int_t hasPixelSeed;
Float_t pid_hlwTrack;
Float_t pid_hlwTrackNoDz;
Float_t pid_twrHCAL;
Float_t pid_HoverE;
Float_t pid_jurECAL;
Float_t pid_etawid;
};
#endif