CMS 3D CMS Logo

CutBasedPhotonIDAlgo.h
Go to the documentation of this file.
1 #ifndef CutBasedPhotonIDAlgo_H
2 #define CutBasedPhotonIDAlgo_H
3 
8 
10 public:
12 
13  virtual ~CutBasedPhotonIDAlgo(){};
14 
15  void setup(const edm::ParameterSet &conf);
16  void decideEB(const reco::Photon *pho, bool &LooseEM, bool &LoosePhoton, bool &TightPhoton);
17  void decideEE(const reco::Photon *pho, bool &LooseEM, bool &LoosePhoton, bool &TightPhoton);
18 
19 private:
20  //Which cuts to do?
21 
32 
47 
62 
77 
92 
107 
122 };
123 
124 #endif // CutBasedPhotonIDAlgo_H
CutBasedPhotonIDAlgo::loosephotonHadOverEMCutEE_
double loosephotonHadOverEMCutEE_
Definition: CutBasedPhotonIDAlgo.h:105
CutBasedPhotonIDAlgo::~CutBasedPhotonIDAlgo
virtual ~CutBasedPhotonIDAlgo()
Definition: CutBasedPhotonIDAlgo.h:13
CutBasedPhotonIDAlgo::tightphotonR9CutEE_
double tightphotonR9CutEE_
Definition: CutBasedPhotonIDAlgo.h:121
CutBasedPhotonIDAlgo::tightphotonSolidConeTrkIsolationCutEB_
double tightphotonSolidConeTrkIsolationCutEB_
Definition: CutBasedPhotonIDAlgo.h:71
CutBasedPhotonIDAlgo::loosephotonHollowConeNTrkCutEE_
int loosephotonHollowConeNTrkCutEE_
Definition: CutBasedPhotonIDAlgo.h:103
CutBasedPhotonIDAlgo::dophotonHcalTowerIsolationCut_
bool dophotonHcalTowerIsolationCut_
Definition: CutBasedPhotonIDAlgo.h:23
CutBasedPhotonIDAlgo::loosephotonSolidConeTrkIsolationOffsetEB_
double loosephotonSolidConeTrkIsolationOffsetEB_
Definition: CutBasedPhotonIDAlgo.h:55
CutBasedPhotonIDAlgo::tightphotonSolidConeTrkIsolationOffsetEB_
double tightphotonSolidConeTrkIsolationOffsetEB_
Definition: CutBasedPhotonIDAlgo.h:70
CutBasedPhotonIDAlgo::looseEMHcalTowerIsolationCutOffsetEB_
double looseEMHcalTowerIsolationCutOffsetEB_
Definition: CutBasedPhotonIDAlgo.h:36
CutBasedPhotonIDAlgo::tightphotonEtaWidthCutEE_
double tightphotonEtaWidthCutEE_
Definition: CutBasedPhotonIDAlgo.h:119
CutBasedPhotonIDAlgo::loosephotonHollowConeTrkIsolationOffsetEE_
double loosephotonHollowConeTrkIsolationOffsetEE_
Definition: CutBasedPhotonIDAlgo.h:98
CutBasedPhotonIDAlgo::loosephotonHollowConeTrkIsolationSlopeEB_
double loosephotonHollowConeTrkIsolationSlopeEB_
Definition: CutBasedPhotonIDAlgo.h:52
CutBasedPhotonIDAlgo::looseEMEcalIsoRelativeCutOffsetEB_
double looseEMEcalIsoRelativeCutOffsetEB_
Definition: CutBasedPhotonIDAlgo.h:34
CutBasedPhotonIDAlgo::looseEMSolidConeTrkIsolationOffsetEE_
double looseEMSolidConeTrkIsolationOffsetEE_
Definition: CutBasedPhotonIDAlgo.h:85
CutBasedPhotonIDAlgo::tightphotonHcalTowerIsolationCutSlopeEE_
double tightphotonHcalTowerIsolationCutSlopeEE_
Definition: CutBasedPhotonIDAlgo.h:110
CutBasedPhotonIDAlgo::tightphotonHollowConeNTrkCutEE_
int tightphotonHollowConeNTrkCutEE_
Definition: CutBasedPhotonIDAlgo.h:118
CutBasedPhotonIDAlgo::tightphotonHcalTowerIsolationCutSlopeEB_
double tightphotonHcalTowerIsolationCutSlopeEB_
Definition: CutBasedPhotonIDAlgo.h:65
CutBasedPhotonIDAlgo::looseEMSolidConeTrkIsolationCutEE_
double looseEMSolidConeTrkIsolationCutEE_
Definition: CutBasedPhotonIDAlgo.h:86
CutBasedPhotonIDAlgo::tightphotonEcalIsoRelativeCutOffsetEE_
double tightphotonEcalIsoRelativeCutOffsetEE_
Definition: CutBasedPhotonIDAlgo.h:109
CutBasedPhotonIDAlgo::looseEMR9CutEE_
double looseEMR9CutEE_
Definition: CutBasedPhotonIDAlgo.h:91
CutBasedPhotonIDAlgo
Definition: CutBasedPhotonIDAlgo.h:9
CutBasedPhotonIDAlgo::loosephotonHcalTowerIsolationCutSlopeEE_
double loosephotonHcalTowerIsolationCutSlopeEE_
Definition: CutBasedPhotonIDAlgo.h:95
CutBasedPhotonIDAlgo::tightphotonHollowConeTrkIsolationSlopeEE_
double tightphotonHollowConeTrkIsolationSlopeEE_
Definition: CutBasedPhotonIDAlgo.h:112
CutBasedPhotonIDAlgo::looseEMEcalIsoRelativeCutSlopeEB_
double looseEMEcalIsoRelativeCutSlopeEB_
Definition: CutBasedPhotonIDAlgo.h:33
CutBasedPhotonIDAlgo::looseEMHcalTowerIsolationCutOffsetEE_
double looseEMHcalTowerIsolationCutOffsetEE_
Definition: CutBasedPhotonIDAlgo.h:81
CutBasedPhotonIDAlgo::dorequireFiducial_
bool dorequireFiducial_
Definition: CutBasedPhotonIDAlgo.h:28
CutBasedPhotonIDAlgo::loosephotonHcalTowerIsolationCutOffsetEB_
double loosephotonHcalTowerIsolationCutOffsetEB_
Definition: CutBasedPhotonIDAlgo.h:51
CutBasedPhotonIDAlgo::loosephotonSolidConeTrkIsolationOffsetEE_
double loosephotonSolidConeTrkIsolationOffsetEE_
Definition: CutBasedPhotonIDAlgo.h:100
CutBasedPhotonIDAlgo::tightphotonHadOverEMCutEE_
double tightphotonHadOverEMCutEE_
Definition: CutBasedPhotonIDAlgo.h:120
CutBasedPhotonIDAlgo::loosephotonEcalIsoRelativeCutOffsetEE_
double loosephotonEcalIsoRelativeCutOffsetEE_
Definition: CutBasedPhotonIDAlgo.h:94
CutBasedPhotonIDAlgo::dophotonHCNTrkCut_
bool dophotonHCNTrkCut_
Definition: CutBasedPhotonIDAlgo.h:26
CutBasedPhotonIDAlgo::decideEE
void decideEE(const reco::Photon *pho, bool &LooseEM, bool &LoosePhoton, bool &TightPhoton)
Definition: CutBasedPhotonIDAlgo.cc:435
CutBasedPhotonIDAlgo::looseEMHollowConeTrkIsolationSlopeEB_
double looseEMHollowConeTrkIsolationSlopeEB_
Definition: CutBasedPhotonIDAlgo.h:37
CutBasedPhotonIDAlgo::dophotonSCNTrkCut_
bool dophotonSCNTrkCut_
Definition: CutBasedPhotonIDAlgo.h:27
CutBasedPhotonIDAlgo::decideEB
void decideEB(const reco::Photon *pho, bool &LooseEM, bool &LoosePhoton, bool &TightPhoton)
Definition: CutBasedPhotonIDAlgo.cc:109
CutBasedPhotonIDAlgo::loosephotonHollowConeTrkIsolationOffsetEB_
double loosephotonHollowConeTrkIsolationOffsetEB_
Definition: CutBasedPhotonIDAlgo.h:53
CutBasedPhotonIDAlgo::dophotonR9Cut_
bool dophotonR9Cut_
Definition: CutBasedPhotonIDAlgo.h:31
Photon.h
CutBasedPhotonIDAlgo::setup
void setup(const edm::ParameterSet &conf)
Definition: CutBasedPhotonIDAlgo.cc:5
CutBasedPhotonIDAlgo::loosephotonSolidConeTrkIsolationCutEB_
double loosephotonSolidConeTrkIsolationCutEB_
Definition: CutBasedPhotonIDAlgo.h:56
CutBasedPhotonIDAlgo::tightphotonEtaWidthCutEB_
double tightphotonEtaWidthCutEB_
Definition: CutBasedPhotonIDAlgo.h:74
CutBasedPhotonIDAlgo::tightphotonHollowConeTrkIsolationSlopeEB_
double tightphotonHollowConeTrkIsolationSlopeEB_
Definition: CutBasedPhotonIDAlgo.h:67
CutBasedPhotonIDAlgo::CutBasedPhotonIDAlgo
CutBasedPhotonIDAlgo()
Definition: CutBasedPhotonIDAlgo.h:11
CutBasedPhotonIDAlgo::looseEMSolidConeNTrkCutEB_
int looseEMSolidConeNTrkCutEB_
Definition: CutBasedPhotonIDAlgo.h:42
CutBasedPhotonIDAlgo::looseEMHollowConeTrkIsolationSlopeEE_
double looseEMHollowConeTrkIsolationSlopeEE_
Definition: CutBasedPhotonIDAlgo.h:82
CutBasedPhotonIDAlgo::tightphotonHcalTowerIsolationCutOffsetEE_
double tightphotonHcalTowerIsolationCutOffsetEE_
Definition: CutBasedPhotonIDAlgo.h:111
CutBasedPhotonIDAlgo::looseEMHadOverEMCutEE_
double looseEMHadOverEMCutEE_
Definition: CutBasedPhotonIDAlgo.h:90
CutBasedPhotonIDAlgo::dophotonHadOverEMCut_
bool dophotonHadOverEMCut_
Definition: CutBasedPhotonIDAlgo.h:29
CutBasedPhotonIDAlgo::tightphotonSolidConeNTrkCutEB_
int tightphotonSolidConeNTrkCutEB_
Definition: CutBasedPhotonIDAlgo.h:72
CutBasedPhotonIDAlgo::loosephotonR9CutEB_
double loosephotonR9CutEB_
Definition: CutBasedPhotonIDAlgo.h:61
CutBasedPhotonIDAlgo::tightphotonR9CutEB_
double tightphotonR9CutEB_
Definition: CutBasedPhotonIDAlgo.h:76
CutBasedPhotonIDAlgo::looseEMSolidConeTrkIsolationOffsetEB_
double looseEMSolidConeTrkIsolationOffsetEB_
Definition: CutBasedPhotonIDAlgo.h:40
CutBasedPhotonIDAlgo::loosephotonHcalTowerIsolationCutOffsetEE_
double loosephotonHcalTowerIsolationCutOffsetEE_
Definition: CutBasedPhotonIDAlgo.h:96
CutBasedPhotonIDAlgo::loosephotonHadOverEMCutEB_
double loosephotonHadOverEMCutEB_
Definition: CutBasedPhotonIDAlgo.h:60
CutBasedPhotonIDAlgo::looseEMSolidConeNTrkCutEE_
int looseEMSolidConeNTrkCutEE_
Definition: CutBasedPhotonIDAlgo.h:87
CutBasedPhotonIDAlgo::dophotonEcalRecHitIsolationCut_
bool dophotonEcalRecHitIsolationCut_
Definition: CutBasedPhotonIDAlgo.h:22
CutBasedPhotonIDAlgo::dophotonsigmaeeCut_
bool dophotonsigmaeeCut_
Definition: CutBasedPhotonIDAlgo.h:30
CutBasedPhotonIDAlgo::loosephotonEtaWidthCutEE_
double loosephotonEtaWidthCutEE_
Definition: CutBasedPhotonIDAlgo.h:104
CutBasedPhotonIDAlgo::looseEMHollowConeTrkIsolationOffsetEE_
double looseEMHollowConeTrkIsolationOffsetEE_
Definition: CutBasedPhotonIDAlgo.h:83
edm::ParameterSet
Definition: ParameterSet.h:36
CutBasedPhotonIDAlgo::loosephotonEcalIsoRelativeCutSlopeEB_
double loosephotonEcalIsoRelativeCutSlopeEB_
Definition: CutBasedPhotonIDAlgo.h:48
CutBasedPhotonIDAlgo::looseEMEtaWidthCutEB_
double looseEMEtaWidthCutEB_
Definition: CutBasedPhotonIDAlgo.h:44
Event.h
CutBasedPhotonIDAlgo::dophotonSCTrkIsolationCut_
bool dophotonSCTrkIsolationCut_
Definition: CutBasedPhotonIDAlgo.h:25
CutBasedPhotonIDAlgo::looseEMEcalIsoRelativeCutSlopeEE_
double looseEMEcalIsoRelativeCutSlopeEE_
Definition: CutBasedPhotonIDAlgo.h:78
CutBasedPhotonIDAlgo::tightphotonHcalTowerIsolationCutOffsetEB_
double tightphotonHcalTowerIsolationCutOffsetEB_
Definition: CutBasedPhotonIDAlgo.h:66
CutBasedPhotonIDAlgo::loosephotonSolidConeTrkIsolationSlopeEE_
double loosephotonSolidConeTrkIsolationSlopeEE_
Definition: CutBasedPhotonIDAlgo.h:99
CutBasedPhotonIDAlgo::looseEMHcalTowerIsolationCutSlopeEE_
double looseEMHcalTowerIsolationCutSlopeEE_
Definition: CutBasedPhotonIDAlgo.h:80
CutBasedPhotonIDAlgo::loosephotonEcalIsoRelativeCutOffsetEB_
double loosephotonEcalIsoRelativeCutOffsetEB_
Definition: CutBasedPhotonIDAlgo.h:49
CutBasedPhotonIDAlgo::loosephotonHcalTowerIsolationCutSlopeEB_
double loosephotonHcalTowerIsolationCutSlopeEB_
Definition: CutBasedPhotonIDAlgo.h:50
CutBasedPhotonIDAlgo::tightphotonSolidConeTrkIsolationCutEE_
double tightphotonSolidConeTrkIsolationCutEE_
Definition: CutBasedPhotonIDAlgo.h:116
CutBasedPhotonIDAlgo::looseEMSolidConeTrkIsolationSlopeEB_
double looseEMSolidConeTrkIsolationSlopeEB_
Definition: CutBasedPhotonIDAlgo.h:39
CutBasedPhotonIDAlgo::tightphotonSolidConeTrkIsolationSlopeEB_
double tightphotonSolidConeTrkIsolationSlopeEB_
Definition: CutBasedPhotonIDAlgo.h:69
CutBasedPhotonIDAlgo::tightphotonSolidConeNTrkCutEE_
int tightphotonSolidConeNTrkCutEE_
Definition: CutBasedPhotonIDAlgo.h:117
CutBasedPhotonIDAlgo::loosephotonHollowConeTrkIsolationSlopeEE_
double loosephotonHollowConeTrkIsolationSlopeEE_
Definition: CutBasedPhotonIDAlgo.h:97
CutBasedPhotonIDAlgo::tightphotonEcalIsoRelativeCutOffsetEB_
double tightphotonEcalIsoRelativeCutOffsetEB_
Definition: CutBasedPhotonIDAlgo.h:64
CutBasedPhotonIDAlgo::tightphotonSolidConeTrkIsolationOffsetEE_
double tightphotonSolidConeTrkIsolationOffsetEE_
Definition: CutBasedPhotonIDAlgo.h:115
CutBasedPhotonIDAlgo::loosephotonSolidConeTrkIsolationCutEE_
double loosephotonSolidConeTrkIsolationCutEE_
Definition: CutBasedPhotonIDAlgo.h:101
CutBasedPhotonIDAlgo::looseEMSolidConeTrkIsolationSlopeEE_
double looseEMSolidConeTrkIsolationSlopeEE_
Definition: CutBasedPhotonIDAlgo.h:84
reco::Photon
Definition: Photon.h:21
CutBasedPhotonIDAlgo::dophotonHCTrkIsolationCut_
bool dophotonHCTrkIsolationCut_
Definition: CutBasedPhotonIDAlgo.h:24
CutBasedPhotonIDAlgo::tightphotonEcalIsoRelativeCutSlopeEE_
double tightphotonEcalIsoRelativeCutSlopeEE_
Definition: CutBasedPhotonIDAlgo.h:108
CutBasedPhotonIDAlgo::looseEMSolidConeTrkIsolationCutEB_
double looseEMSolidConeTrkIsolationCutEB_
Definition: CutBasedPhotonIDAlgo.h:41
CutBasedPhotonIDAlgo::loosephotonEcalIsoRelativeCutSlopeEE_
double loosephotonEcalIsoRelativeCutSlopeEE_
Definition: CutBasedPhotonIDAlgo.h:93
CutBasedPhotonIDAlgo::tightphotonHollowConeTrkIsolationOffsetEE_
double tightphotonHollowConeTrkIsolationOffsetEE_
Definition: CutBasedPhotonIDAlgo.h:113
CutBasedPhotonIDAlgo::loosephotonHollowConeNTrkCutEB_
int loosephotonHollowConeNTrkCutEB_
Definition: CutBasedPhotonIDAlgo.h:58
CutBasedPhotonIDAlgo::looseEMR9CutEB_
double looseEMR9CutEB_
Definition: CutBasedPhotonIDAlgo.h:46
EventSetup.h
CutBasedPhotonIDAlgo::tightphotonEcalIsoRelativeCutSlopeEB_
double tightphotonEcalIsoRelativeCutSlopeEB_
Definition: CutBasedPhotonIDAlgo.h:63
CutBasedPhotonIDAlgo::looseEMHollowConeTrkIsolationOffsetEB_
double looseEMHollowConeTrkIsolationOffsetEB_
Definition: CutBasedPhotonIDAlgo.h:38
CutBasedPhotonIDAlgo::looseEMHcalTowerIsolationCutSlopeEB_
double looseEMHcalTowerIsolationCutSlopeEB_
Definition: CutBasedPhotonIDAlgo.h:35
CutBasedPhotonIDAlgo::loosephotonEtaWidthCutEB_
double loosephotonEtaWidthCutEB_
Definition: CutBasedPhotonIDAlgo.h:59
ParameterSet.h
CutBasedPhotonIDAlgo::looseEMHollowConeNTrkCutEE_
int looseEMHollowConeNTrkCutEE_
Definition: CutBasedPhotonIDAlgo.h:88
CutBasedPhotonIDAlgo::tightphotonHollowConeTrkIsolationOffsetEB_
double tightphotonHollowConeTrkIsolationOffsetEB_
Definition: CutBasedPhotonIDAlgo.h:68
CutBasedPhotonIDAlgo::tightphotonSolidConeTrkIsolationSlopeEE_
double tightphotonSolidConeTrkIsolationSlopeEE_
Definition: CutBasedPhotonIDAlgo.h:114
CutBasedPhotonIDAlgo::tightphotonHollowConeNTrkCutEB_
int tightphotonHollowConeNTrkCutEB_
Definition: CutBasedPhotonIDAlgo.h:73
CutBasedPhotonIDAlgo::loosephotonSolidConeNTrkCutEB_
int loosephotonSolidConeNTrkCutEB_
Definition: CutBasedPhotonIDAlgo.h:57
CutBasedPhotonIDAlgo::looseEMEtaWidthCutEE_
double looseEMEtaWidthCutEE_
Definition: CutBasedPhotonIDAlgo.h:89
CutBasedPhotonIDAlgo::looseEMHadOverEMCutEB_
double looseEMHadOverEMCutEB_
Definition: CutBasedPhotonIDAlgo.h:45
CutBasedPhotonIDAlgo::looseEMHollowConeNTrkCutEB_
int looseEMHollowConeNTrkCutEB_
Definition: CutBasedPhotonIDAlgo.h:43
CutBasedPhotonIDAlgo::loosephotonSolidConeTrkIsolationSlopeEB_
double loosephotonSolidConeTrkIsolationSlopeEB_
Definition: CutBasedPhotonIDAlgo.h:54
CutBasedPhotonIDAlgo::looseEMEcalIsoRelativeCutOffsetEE_
double looseEMEcalIsoRelativeCutOffsetEE_
Definition: CutBasedPhotonIDAlgo.h:79
CutBasedPhotonIDAlgo::loosephotonR9CutEE_
double loosephotonR9CutEE_
Definition: CutBasedPhotonIDAlgo.h:106
CutBasedPhotonIDAlgo::tightphotonHadOverEMCutEB_
double tightphotonHadOverEMCutEB_
Definition: CutBasedPhotonIDAlgo.h:75
CutBasedPhotonIDAlgo::loosephotonSolidConeNTrkCutEE_
int loosephotonSolidConeNTrkCutEE_
Definition: CutBasedPhotonIDAlgo.h:102