#include <CutBasedPhotonIDAlgo.h>
Public Member Functions | |
CutBasedPhotonIDAlgo () | |
void | decideEB (const reco::Photon *pho, bool &LooseEM, bool &LoosePhoton, bool &TightPhoton) |
void | decideEE (const reco::Photon *pho, bool &LooseEM, bool &LoosePhoton, bool &TightPhoton) |
void | setup (const edm::ParameterSet &conf) |
virtual | ~CutBasedPhotonIDAlgo () |
Definition at line 9 of file CutBasedPhotonIDAlgo.h.
|
inline |
Definition at line 11 of file CutBasedPhotonIDAlgo.h.
|
inlinevirtual |
Definition at line 13 of file CutBasedPhotonIDAlgo.h.
void CutBasedPhotonIDAlgo::decideEB | ( | const reco::Photon * | pho, |
bool & | LooseEM, | ||
bool & | LoosePhoton, | ||
bool & | TightPhoton | ||
) |
Definition at line 109 of file CutBasedPhotonIDAlgo.cc.
References dophotonEcalRecHitIsolationCut_, dophotonHadOverEMCut_, dophotonHcalTowerIsolationCut_, dophotonHCNTrkCut_, dophotonHCTrkIsolationCut_, dophotonR9Cut_, dophotonSCNTrkCut_, dophotonSCTrkIsolationCut_, dophotonsigmaeeCut_, dorequireFiducial_, reco::Photon::ecalRecHitSumEtConeDR04(), reco::Photon::hadronicOverEm(), reco::Photon::hcalTowerSumEtConeDR04(), reco::Photon::isEBEEGap(), reco::Photon::isEBEtaGap(), reco::Photon::isEBPhiGap(), reco::Photon::isEEDeeGap(), reco::Photon::isEERingGap(), looseEMEcalIsoRelativeCutOffsetEB_, looseEMEcalIsoRelativeCutSlopeEB_, looseEMEtaWidthCutEB_, looseEMHadOverEMCutEB_, looseEMHcalTowerIsolationCutOffsetEB_, looseEMHcalTowerIsolationCutSlopeEB_, looseEMHollowConeNTrkCutEB_, looseEMHollowConeTrkIsolationOffsetEB_, looseEMHollowConeTrkIsolationSlopeEB_, looseEMR9CutEB_, looseEMSolidConeNTrkCutEB_, looseEMSolidConeTrkIsolationOffsetEB_, looseEMSolidConeTrkIsolationSlopeEB_, loosephotonEcalIsoRelativeCutOffsetEB_, loosephotonEcalIsoRelativeCutSlopeEB_, loosephotonEtaWidthCutEB_, loosephotonHadOverEMCutEB_, loosephotonHcalTowerIsolationCutOffsetEB_, loosephotonHcalTowerIsolationCutSlopeEB_, loosephotonHollowConeNTrkCutEB_, loosephotonHollowConeTrkIsolationOffsetEB_, loosephotonHollowConeTrkIsolationSlopeEB_, loosephotonR9CutEB_, loosephotonSolidConeNTrkCutEB_, loosephotonSolidConeTrkIsolationOffsetEB_, loosephotonSolidConeTrkIsolationSlopeEB_, reco::Photon::nTrkHollowConeDR04(), reco::Photon::nTrkSolidConeDR04(), reco::LeafCandidate::pt(), reco::Photon::r9(), reco::Photon::sigmaIetaIeta(), tightphotonEcalIsoRelativeCutOffsetEB_, tightphotonEcalIsoRelativeCutSlopeEB_, tightphotonEtaWidthCutEB_, tightphotonHadOverEMCutEB_, tightphotonHcalTowerIsolationCutOffsetEB_, tightphotonHcalTowerIsolationCutSlopeEB_, tightphotonHollowConeNTrkCutEB_, tightphotonHollowConeTrkIsolationOffsetEB_, tightphotonHollowConeTrkIsolationSlopeEB_, tightphotonR9CutEB_, tightphotonSolidConeNTrkCutEB_, tightphotonSolidConeTrkIsolationOffsetEB_, tightphotonSolidConeTrkIsolationSlopeEB_, reco::Photon::trkSumPtHollowConeDR04(), and reco::Photon::trkSumPtSolidConeDR04().
Referenced by PhotonIDProducer::produce().
void CutBasedPhotonIDAlgo::decideEE | ( | const reco::Photon * | pho, |
bool & | LooseEM, | ||
bool & | LoosePhoton, | ||
bool & | TightPhoton | ||
) |
Definition at line 435 of file CutBasedPhotonIDAlgo.cc.
References dophotonEcalRecHitIsolationCut_, dophotonHadOverEMCut_, dophotonHcalTowerIsolationCut_, dophotonHCNTrkCut_, dophotonHCTrkIsolationCut_, dophotonR9Cut_, dophotonSCNTrkCut_, dophotonSCTrkIsolationCut_, dophotonsigmaeeCut_, dorequireFiducial_, reco::Photon::ecalRecHitSumEtConeDR04(), reco::Photon::hadronicOverEm(), reco::Photon::hcalTowerSumEtConeDR04(), reco::Photon::isEBEEGap(), reco::Photon::isEBEtaGap(), reco::Photon::isEBPhiGap(), reco::Photon::isEEDeeGap(), reco::Photon::isEERingGap(), looseEMEcalIsoRelativeCutOffsetEE_, looseEMEcalIsoRelativeCutSlopeEE_, looseEMEtaWidthCutEE_, looseEMHadOverEMCutEE_, looseEMHcalTowerIsolationCutOffsetEE_, looseEMHcalTowerIsolationCutSlopeEE_, looseEMHollowConeNTrkCutEE_, looseEMHollowConeTrkIsolationOffsetEE_, looseEMHollowConeTrkIsolationSlopeEE_, looseEMR9CutEE_, looseEMSolidConeNTrkCutEE_, looseEMSolidConeTrkIsolationOffsetEE_, looseEMSolidConeTrkIsolationSlopeEE_, loosephotonEcalIsoRelativeCutOffsetEE_, loosephotonEcalIsoRelativeCutSlopeEE_, loosephotonEtaWidthCutEE_, loosephotonHadOverEMCutEE_, loosephotonHcalTowerIsolationCutOffsetEE_, loosephotonHcalTowerIsolationCutSlopeEE_, loosephotonHollowConeNTrkCutEE_, loosephotonHollowConeTrkIsolationOffsetEE_, loosephotonHollowConeTrkIsolationSlopeEE_, loosephotonR9CutEE_, loosephotonSolidConeNTrkCutEE_, loosephotonSolidConeTrkIsolationOffsetEE_, loosephotonSolidConeTrkIsolationSlopeEE_, reco::Photon::nTrkHollowConeDR04(), reco::Photon::nTrkSolidConeDR04(), reco::LeafCandidate::pt(), reco::Photon::r9(), reco::Photon::sigmaIetaIeta(), tightphotonEcalIsoRelativeCutOffsetEE_, tightphotonEcalIsoRelativeCutSlopeEE_, tightphotonEtaWidthCutEE_, tightphotonHadOverEMCutEE_, tightphotonHcalTowerIsolationCutOffsetEE_, tightphotonHcalTowerIsolationCutSlopeEE_, tightphotonHollowConeNTrkCutEE_, tightphotonHollowConeTrkIsolationOffsetEE_, tightphotonHollowConeTrkIsolationSlopeEE_, tightphotonR9CutEE_, tightphotonSolidConeNTrkCutEE_, tightphotonSolidConeTrkIsolationOffsetEE_, tightphotonSolidConeTrkIsolationSlopeEE_, reco::Photon::trkSumPtHollowConeDR04(), and reco::Photon::trkSumPtSolidConeDR04().
Referenced by PhotonIDProducer::produce().
void CutBasedPhotonIDAlgo::setup | ( | const edm::ParameterSet & | conf | ) |
Definition at line 5 of file CutBasedPhotonIDAlgo.cc.
References dophotonEcalRecHitIsolationCut_, dophotonHadOverEMCut_, dophotonHcalTowerIsolationCut_, dophotonHCNTrkCut_, dophotonHCTrkIsolationCut_, dophotonR9Cut_, dophotonSCNTrkCut_, dophotonSCTrkIsolationCut_, dophotonsigmaeeCut_, dorequireFiducial_, edm::ParameterSet::getParameter(), looseEMEcalIsoRelativeCutOffsetEB_, looseEMEcalIsoRelativeCutOffsetEE_, looseEMEcalIsoRelativeCutSlopeEB_, looseEMEcalIsoRelativeCutSlopeEE_, looseEMEtaWidthCutEB_, looseEMEtaWidthCutEE_, looseEMHadOverEMCutEB_, looseEMHadOverEMCutEE_, looseEMHcalTowerIsolationCutOffsetEB_, looseEMHcalTowerIsolationCutOffsetEE_, looseEMHcalTowerIsolationCutSlopeEB_, looseEMHcalTowerIsolationCutSlopeEE_, looseEMHollowConeNTrkCutEB_, looseEMHollowConeNTrkCutEE_, looseEMHollowConeTrkIsolationOffsetEB_, looseEMHollowConeTrkIsolationOffsetEE_, looseEMHollowConeTrkIsolationSlopeEB_, looseEMHollowConeTrkIsolationSlopeEE_, looseEMR9CutEB_, looseEMR9CutEE_, looseEMSolidConeNTrkCutEB_, looseEMSolidConeNTrkCutEE_, looseEMSolidConeTrkIsolationCutEB_, looseEMSolidConeTrkIsolationCutEE_, looseEMSolidConeTrkIsolationOffsetEB_, looseEMSolidConeTrkIsolationOffsetEE_, looseEMSolidConeTrkIsolationSlopeEB_, looseEMSolidConeTrkIsolationSlopeEE_, loosephotonEcalIsoRelativeCutOffsetEB_, loosephotonEcalIsoRelativeCutOffsetEE_, loosephotonEcalIsoRelativeCutSlopeEB_, loosephotonEcalIsoRelativeCutSlopeEE_, loosephotonEtaWidthCutEB_, loosephotonEtaWidthCutEE_, loosephotonHadOverEMCutEB_, loosephotonHadOverEMCutEE_, loosephotonHcalTowerIsolationCutOffsetEB_, loosephotonHcalTowerIsolationCutOffsetEE_, loosephotonHcalTowerIsolationCutSlopeEB_, loosephotonHcalTowerIsolationCutSlopeEE_, loosephotonHollowConeNTrkCutEB_, loosephotonHollowConeNTrkCutEE_, loosephotonHollowConeTrkIsolationOffsetEB_, loosephotonHollowConeTrkIsolationOffsetEE_, loosephotonHollowConeTrkIsolationSlopeEB_, loosephotonHollowConeTrkIsolationSlopeEE_, loosephotonR9CutEB_, loosephotonR9CutEE_, loosephotonSolidConeNTrkCutEB_, loosephotonSolidConeNTrkCutEE_, loosephotonSolidConeTrkIsolationCutEB_, loosephotonSolidConeTrkIsolationCutEE_, loosephotonSolidConeTrkIsolationOffsetEB_, loosephotonSolidConeTrkIsolationOffsetEE_, loosephotonSolidConeTrkIsolationSlopeEB_, loosephotonSolidConeTrkIsolationSlopeEE_, tightphotonEcalIsoRelativeCutOffsetEB_, tightphotonEcalIsoRelativeCutOffsetEE_, tightphotonEcalIsoRelativeCutSlopeEB_, tightphotonEcalIsoRelativeCutSlopeEE_, tightphotonEtaWidthCutEB_, tightphotonEtaWidthCutEE_, tightphotonHadOverEMCutEB_, tightphotonHadOverEMCutEE_, tightphotonHcalTowerIsolationCutOffsetEB_, tightphotonHcalTowerIsolationCutOffsetEE_, tightphotonHcalTowerIsolationCutSlopeEB_, tightphotonHcalTowerIsolationCutSlopeEE_, tightphotonHollowConeNTrkCutEB_, tightphotonHollowConeNTrkCutEE_, tightphotonHollowConeTrkIsolationOffsetEB_, tightphotonHollowConeTrkIsolationOffsetEE_, tightphotonHollowConeTrkIsolationSlopeEB_, tightphotonHollowConeTrkIsolationSlopeEE_, tightphotonR9CutEB_, tightphotonR9CutEE_, tightphotonSolidConeNTrkCutEB_, tightphotonSolidConeNTrkCutEE_, tightphotonSolidConeTrkIsolationOffsetEB_, tightphotonSolidConeTrkIsolationOffsetEE_, tightphotonSolidConeTrkIsolationSlopeEB_, and tightphotonSolidConeTrkIsolationSlopeEE_.
|
private |
Definition at line 22 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), decideEE(), and setup().
|
private |
Definition at line 29 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), decideEE(), and setup().
|
private |
Definition at line 23 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), decideEE(), and setup().
|
private |
Definition at line 26 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), decideEE(), and setup().
|
private |
Definition at line 24 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), decideEE(), and setup().
|
private |
Definition at line 31 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), decideEE(), and setup().
|
private |
Definition at line 27 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), decideEE(), and setup().
|
private |
Definition at line 25 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), decideEE(), and setup().
|
private |
Definition at line 30 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), decideEE(), and setup().
|
private |
Definition at line 28 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), decideEE(), and setup().
|
private |
Definition at line 34 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 79 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 33 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 78 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 44 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 89 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 45 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 90 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 36 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 81 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 35 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 80 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 43 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 88 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 38 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 83 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 37 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 82 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 46 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 91 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 42 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 87 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 41 of file CutBasedPhotonIDAlgo.h.
Referenced by setup().
|
private |
Definition at line 86 of file CutBasedPhotonIDAlgo.h.
Referenced by setup().
|
private |
Definition at line 40 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 85 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 39 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 84 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 49 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 94 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 48 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 93 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 59 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 104 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 60 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 105 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 51 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 96 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 50 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 95 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 58 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 103 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 53 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 98 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 52 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 97 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 61 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 106 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 57 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 102 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 56 of file CutBasedPhotonIDAlgo.h.
Referenced by setup().
|
private |
Definition at line 101 of file CutBasedPhotonIDAlgo.h.
Referenced by setup().
|
private |
Definition at line 55 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 100 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 54 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 99 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 64 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 109 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 63 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 108 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 74 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 119 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 75 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 120 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 66 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 111 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 65 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 110 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 73 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 118 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 68 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 113 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 67 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 112 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 76 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 121 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 72 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 117 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 71 of file CutBasedPhotonIDAlgo.h.
|
private |
Definition at line 116 of file CutBasedPhotonIDAlgo.h.
|
private |
Definition at line 70 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 115 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().
|
private |
Definition at line 69 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEB(), and setup().
|
private |
Definition at line 114 of file CutBasedPhotonIDAlgo.h.
Referenced by decideEE(), and setup().