![]() |
![]() |
#include <PFEGammaFilters.h>
Public Member Functions | |
bool | isElectron (const reco::GsfElectron &) const |
bool | isElectronSafeForJetMET (const reco::GsfElectron &, const reco::PFCandidate &, const reco::Vertex &, bool &lockTracks) const |
bool | isPhotonSafeForJetMET (const reco::Photon &, const reco::PFCandidate &) const |
bool | passElectronSelection (const reco::GsfElectron &, const reco::PFCandidate &, const int &) const |
bool | passPhotonSelection (const reco::Photon &) const |
PFEGammaFilters (const edm::ParameterSet &iConfig) | |
Private Member Functions | |
bool | passGsfElePreSelWithOnlyConeHadem (const reco::GsfElectron &) const |
Definition at line 16 of file PFEGammaFilters.h.
PFEGammaFilters::PFEGammaFilters | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 29 of file PFEGammaFilters.cc.
References badHcal_dEta_, badHcal_dPhi_, badHcal_eInvPInv_, badHcal_eleEnable_, badHcal_full5x5_sigmaIetaIeta_, badHcal_phoEnable_, badHcal_phoTrkSolidConeIso_offs_, badHcal_phoTrkSolidConeIso_slope_, ele_maxDPhiIN_, ele_maxE_, ele_maxEcalEOverP_1_, ele_maxEcalEOverP_2_, ele_maxEcalEOverPRes_, ele_maxEeleOverPout_, ele_maxEeleOverPoutRes_, ele_maxEleHcalEOverEcalE_, ele_maxHcalE_, ele_maxHcalEOverEcalE_, ele_maxHcalEOverP_, ele_maxNtracks_, ele_maxTrackPOverEele_, edm::ParameterSet::getParameter(), pho_sumPtTrackIso_, and pho_sumPtTrackIsoSlope_.
bool PFEGammaFilters::isElectron | ( | const reco::GsfElectron & | electron | ) | const |
Definition at line 179 of file PFEGammaFilters.cc.
References ele_missinghits_, reco::GsfElectron::gsfTrack(), and reco::HitPattern::MISSING_INNER_HITS.
Referenced by PFAlgo::processBlock().
bool PFEGammaFilters::isElectronSafeForJetMET | ( | const reco::GsfElectron & | electron, |
const reco::PFCandidate & | pfcand, | ||
const reco::Vertex & | primaryVertex, | ||
bool & | lockTracks | ||
) | const |
Definition at line 189 of file PFEGammaFilters.cc.
References reco::PFBlock::associatedElements(), groupFilesInBlocks::block, gather_cfg::cout, reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx(), reco::GsfElectron::ecalEnergy(), reco::GsfElectron::eEleClusterOverPout(), reco::PFCandidate::egammaExtraRef(), ele_maxDPhiIN_, ele_maxE_, ele_maxEcalEOverP_1_, ele_maxEcalEOverP_2_, ele_maxEcalEOverPRes_, ele_maxEeleOverPout_, ele_maxEeleOverPoutRes_, ele_maxEleHcalEOverEcalE_, ele_maxHcalE_, ele_maxHcalEOverEcalE_, ele_maxHcalEOverP_, ele_maxNtracks_, ele_maxTrackPOverEele_, reco::GsfElectron::electronCluster(), reco::PFBlock::elements(), reco::CaloCluster::energy(), reco::GsfElectron::eSuperClusterOverP(), reco::LeafCandidate::eta(), spr::goodTrack(), reco::GsfElectron::gsfTrack(), reco::PFBlockElement::HCAL, PFTrackAlgoTools::isGoodForEGM(), reco::PFBlock::linkData(), reco::PFBlock::LINKTEST_ALL, reco::HitPattern::MISSING_INNER_HITS, reco::PFBlockElement::TRACK, reco::PFBlockElement::trackRef(), reco::Vertex::tracks_begin(), reco::Vertex::tracks_end(), and reco::PFBlockElement::type().
Referenced by PFAlgo::processBlock().
bool PFEGammaFilters::isPhotonSafeForJetMET | ( | const reco::Photon & | photon, |
const reco::PFCandidate & | pfcand | ||
) | const |
Definition at line 362 of file PFEGammaFilters.cc.
References groupFilesInBlocks::block, gather_cfg::cout, reco::PFCandidate::egammaExtraRef(), reco::PFBlock::elements(), pho_sumPtTrackIso_, pho_sumPtTrackIsoSlope_, EnergyCorrector::pt, reco::LeafCandidate::pt(), reco::PFBlockElement::TRACK, reco::PFBlockElement::trackRef(), and reco::PFBlockElement::type().
Referenced by PFAlgo::processBlock().
bool PFEGammaFilters::passElectronSelection | ( | const reco::GsfElectron & | electron, |
const reco::PFCandidate & | pfcand, | ||
const int & | nVtx | ||
) | const |
Definition at line 120 of file PFEGammaFilters.cc.
References funct::abs(), badHcal_dEta_, badHcal_dPhi_, badHcal_eInvPInv_, badHcal_eleEnable_, badHcal_full5x5_sigmaIetaIeta_, reco::LeafCandidate::charge(), gather_cfg::cout, debug_, reco::GsfElectron::deltaEtaSeedClusterTrackAtVtx(), reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx(), reco::GsfElectron::dr03EcalRecHitSumEt(), reco::GsfElectron::dr03HcalTowerSumEt(), reco::GsfElectron::dr03TkSumPt(), reco::GsfElectron::ecalEnergy(), EE, ele_iso_combIso_eb_, ele_iso_combIso_ee_, ele_iso_mva_eb_, ele_iso_mva_ee_, ele_iso_pt_, ele_noniso_mva_, reco::GsfElectron::eSuperClusterOverP(), reco::LeafCandidate::eta(), reco::GsfElectron::full5x5_sigmaIetaIeta(), reco::GsfElectron::hcalOverEcal(), reco::GsfElectron::hcalOverEcalValid(), reco::GsfElectron::mva_e_pi(), reco::GsfElectron::mva_Isolated(), passGsfElePreSelWithOnlyConeHadem(), reco::LeafCandidate::phi(), and reco::LeafCandidate::pt().
Referenced by PFAlgo::processBlock().
|
private |
Definition at line 429 of file PFEGammaFilters.cc.
References reco::GsfElectron::ecalDrivenSeed(), ele_ecalDrivenHademPreselCut_, ele_maxElePtForOnlyMVAPresel_, reco::GsfElectron::hadronicOverEm(), reco::GsfElectron::passingCutBasedPreselection(), reco::GsfElectron::passingMvaPreselection(), and reco::LeafCandidate::pt().
Referenced by passElectronSelection().
bool PFEGammaFilters::passPhotonSelection | ( | const reco::Photon & | photon | ) | const |
Definition at line 79 of file PFEGammaFilters.cc.
References badHcal_phoEnable_, badHcal_phoTrkSolidConeIso_offs_, badHcal_phoTrkSolidConeIso_slope_, gather_cfg::cout, debug_, reco::Photon::ecalRecHitSumEtConeDR03(), reco::LeafCandidate::eta(), reco::Photon::hadTowOverEm(), reco::Photon::hadTowOverEmValid(), reco::Photon::hcalTowerSumEtConeDR03(), reco::Photon::isEB(), ph_combIso_, ph_Et_, ph_loose_hoe_, ph_sietaieta_eb_, ph_sietaieta_ee_, reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), reco::Photon::sigmaIetaIeta(), reco::Photon::trkSumPtHollowConeDR03(), and reco::Photon::trkSumPtSolidConeDR03().
Referenced by PFAlgo::processBlock().
|
private |
Definition at line 77 of file PFEGammaFilters.h.
Referenced by passElectronSelection(), and PFEGammaFilters().
|
private |
Definition at line 78 of file PFEGammaFilters.h.
Referenced by passElectronSelection(), and PFEGammaFilters().
|
private |
Definition at line 76 of file PFEGammaFilters.h.
Referenced by passElectronSelection(), and PFEGammaFilters().
|
private |
Definition at line 79 of file PFEGammaFilters.h.
Referenced by passElectronSelection(), and PFEGammaFilters().
|
private |
Definition at line 75 of file PFEGammaFilters.h.
Referenced by passElectronSelection(), and PFEGammaFilters().
|
private |
Definition at line 84 of file PFEGammaFilters.h.
Referenced by passPhotonSelection(), and PFEGammaFilters().
|
private |
Definition at line 82 of file PFEGammaFilters.h.
Referenced by passPhotonSelection(), and PFEGammaFilters().
|
private |
Definition at line 83 of file PFEGammaFilters.h.
Referenced by passPhotonSelection(), and PFEGammaFilters().
|
private |
Definition at line 86 of file PFEGammaFilters.h.
Referenced by passElectronSelection(), and passPhotonSelection().
|
private |
Definition at line 58 of file PFEGammaFilters.h.
Referenced by passGsfElePreSelWithOnlyConeHadem().
|
private |
Definition at line 54 of file PFEGammaFilters.h.
Referenced by passElectronSelection().
|
private |
Definition at line 55 of file PFEGammaFilters.h.
Referenced by passElectronSelection().
|
private |
Definition at line 52 of file PFEGammaFilters.h.
Referenced by passElectronSelection().
|
private |
Definition at line 53 of file PFEGammaFilters.h.
Referenced by passElectronSelection().
|
private |
Definition at line 51 of file PFEGammaFilters.h.
Referenced by passElectronSelection().
|
private |
Definition at line 72 of file PFEGammaFilters.h.
Referenced by isElectronSafeForJetMET(), and PFEGammaFilters().
|
private |
Definition at line 63 of file PFEGammaFilters.h.
Referenced by isElectronSafeForJetMET(), and PFEGammaFilters().
|
private |
Definition at line 69 of file PFEGammaFilters.h.
Referenced by isElectronSafeForJetMET(), and PFEGammaFilters().
|
private |
Definition at line 70 of file PFEGammaFilters.h.
Referenced by isElectronSafeForJetMET(), and PFEGammaFilters().
|
private |
Definition at line 65 of file PFEGammaFilters.h.
Referenced by isElectronSafeForJetMET(), and PFEGammaFilters().
|
private |
Definition at line 71 of file PFEGammaFilters.h.
Referenced by isElectronSafeForJetMET(), and PFEGammaFilters().
|
private |
Definition at line 66 of file PFEGammaFilters.h.
Referenced by isElectronSafeForJetMET(), and PFEGammaFilters().
|
private |
Definition at line 64 of file PFEGammaFilters.h.
Referenced by isElectronSafeForJetMET(), and PFEGammaFilters().
|
private |
Definition at line 59 of file PFEGammaFilters.h.
Referenced by passGsfElePreSelWithOnlyConeHadem().
|
private |
Definition at line 61 of file PFEGammaFilters.h.
Referenced by isElectronSafeForJetMET(), and PFEGammaFilters().
|
private |
Definition at line 68 of file PFEGammaFilters.h.
Referenced by isElectronSafeForJetMET(), and PFEGammaFilters().
|
private |
Definition at line 67 of file PFEGammaFilters.h.
Referenced by isElectronSafeForJetMET(), and PFEGammaFilters().
|
private |
Definition at line 60 of file PFEGammaFilters.h.
Referenced by isElectronSafeForJetMET(), and PFEGammaFilters().
|
private |
Definition at line 62 of file PFEGammaFilters.h.
Referenced by isElectronSafeForJetMET(), and PFEGammaFilters().
|
private |
Definition at line 57 of file PFEGammaFilters.h.
Referenced by isElectron().
|
private |
Definition at line 56 of file PFEGammaFilters.h.
Referenced by passElectronSelection().
|
private |
Definition at line 43 of file PFEGammaFilters.h.
Referenced by passPhotonSelection().
|
private |
Definition at line 42 of file PFEGammaFilters.h.
Referenced by passPhotonSelection().
|
private |
Definition at line 44 of file PFEGammaFilters.h.
Referenced by passPhotonSelection().
|
private |
Definition at line 45 of file PFEGammaFilters.h.
Referenced by passPhotonSelection().
|
private |
Definition at line 46 of file PFEGammaFilters.h.
Referenced by passPhotonSelection().
|
private |
Definition at line 47 of file PFEGammaFilters.h.
Referenced by isPhotonSafeForJetMET(), and PFEGammaFilters().
|
private |
Definition at line 48 of file PFEGammaFilters.h.
Referenced by isPhotonSafeForJetMET(), and PFEGammaFilters().