#include <PFCandWithSuperClusterExtractor.h>
Private Member Functions | |
reco::IsoDeposit | depositFromObject (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Photon &cand) const |
reco::IsoDeposit | depositFromObject (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::GsfElectron &cand) const |
reco::IsoDeposit | depositFromObject (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &cand) const |
reco::IsoDeposit | depositFromObject (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::PFCandidate &cand) const |
reco::IsoDeposit::Veto | veto (const reco::IsoDeposit::Direction &dir) const |
Private Attributes | |
std::string | theDepositLabel |
double | theDiff_r |
double | theDiff_z |
double | theDR_Max |
double | theDR_Veto |
bool | theMissHitVetoSuperClusterMatch |
edm::EDGetTokenT < reco::PFCandidateCollection > | thePFCandToken |
bool | theVetoSuperClusterMatch |
Definition at line 22 of file PFCandWithSuperClusterExtractor.h.
|
inline |
Definition at line 26 of file PFCandWithSuperClusterExtractor.h.
PFCandWithSuperClusterExtractor::PFCandWithSuperClusterExtractor | ( | const edm::ParameterSet & | par, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 13 of file PFCandWithSuperClusterExtractor.cc.
|
inlinevirtual |
Definition at line 29 of file PFCandWithSuperClusterExtractor.h.
|
inlinevirtual |
make single IsoDeposit based on track as input purely virtual: have to implement in concrete implementations
Implements reco::isodeposit::IsoDepositExtractor.
Definition at line 35 of file PFCandWithSuperClusterExtractor.h.
References depositFromObject().
Referenced by depositFromObject().
|
inlinevirtual |
make single IsoDeposit based on a candidate as input purely virtual: have to implement in concrete implementations
Reimplemented from reco::isodeposit::IsoDepositExtractor.
Definition at line 40 of file PFCandWithSuperClusterExtractor.h.
References depositFromObject().
|
private |
Definition at line 43 of file PFCandWithSuperClusterExtractor.cc.
References funct::abs(), deltaR(), deposit(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, reco::LeafCandidate::eta(), eta(), edm::Ref< C, T, F >::isNonnull(), phi, reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), reco::Photon::superCluster(), theDiff_r, theDiff_z, theDR_Max, theDR_Veto, thePFCandToken, theVetoSuperClusterMatch, reco::LeafCandidate::vertex(), veto(), and reco::LeafCandidate::vz().
Referenced by deposit().
|
private |
Definition at line 72 of file PFCandWithSuperClusterExtractor.cc.
References funct::abs(), deltaR(), deposit(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, reco::LeafCandidate::eta(), eta(), reco::GsfElectron::gsfTrack(), edm::Ref< C, T, F >::isNonnull(), reco::HitPattern::MISSING_INNER_HITS, phi, reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), reco::GsfElectron::superCluster(), theDiff_r, theDiff_z, theDR_Max, theDR_Veto, theMissHitVetoSuperClusterMatch, thePFCandToken, reco::LeafCandidate::vertex(), veto(), and reco::LeafCandidate::vz().
|
private |
Definition at line 107 of file PFCandWithSuperClusterExtractor.cc.
References funct::abs(), deltaR(), deposit(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, eta(), reco::TrackBase::eta(), phi, reco::TrackBase::phi(), reco::TrackBase::pt(), theDiff_r, theDiff_z, theDR_Max, theDR_Veto, thePFCandToken, reco::TrackBase::vertex(), veto(), and reco::TrackBase::vz().
|
private |
Definition at line 134 of file PFCandWithSuperClusterExtractor.cc.
References funct::abs(), deltaR(), deposit(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, reco::LeafCandidate::eta(), eta(), edm::Ref< C, T, F >::isNonnull(), phi, reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), reco::PFCandidate::superClusterRef(), theDiff_r, theDiff_z, theDR_Max, theDR_Veto, thePFCandToken, theVetoSuperClusterMatch, reco::PFCandidate::vertex(), veto(), and reco::PFCandidate::vz().
|
inlinevirtual |
fill vetoes: to exclude deposits at IsoDeposit creation stage check concrete extractors if it's no-op !
Implements reco::isodeposit::IsoDepositExtractor.
Definition at line 31 of file PFCandWithSuperClusterExtractor.h.
|
private |
Definition at line 34 of file PFCandWithSuperClusterExtractor.cc.
References dir, reco::IsoDeposit::Veto::dR, query::result, theDR_Veto, and reco::IsoDeposit::Veto::vetoDir.
Referenced by depositFromObject().
|
private |
Definition at line 72 of file PFCandWithSuperClusterExtractor.h.
|
private |
Definition at line 75 of file PFCandWithSuperClusterExtractor.h.
Referenced by depositFromObject().
|
private |
Definition at line 76 of file PFCandWithSuperClusterExtractor.h.
Referenced by depositFromObject().
|
private |
Definition at line 77 of file PFCandWithSuperClusterExtractor.h.
Referenced by depositFromObject().
|
private |
Definition at line 78 of file PFCandWithSuperClusterExtractor.h.
Referenced by depositFromObject(), and veto().
|
private |
Definition at line 74 of file PFCandWithSuperClusterExtractor.h.
Referenced by depositFromObject().
|
private |
Definition at line 71 of file PFCandWithSuperClusterExtractor.h.
Referenced by depositFromObject().
|
private |
Definition at line 73 of file PFCandWithSuperClusterExtractor.h.
Referenced by depositFromObject().