#include <PFCandWithSuperClusterExtractor.h>
Public Member Functions | |
reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &muon) const override |
reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Candidate &cand) const override |
void | fillVetos (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &cand) override |
PFCandWithSuperClusterExtractor () | |
PFCandWithSuperClusterExtractor (const edm::ParameterSet &par, edm::ConsumesCollector &&iC) | |
~PFCandWithSuperClusterExtractor () override | |
Public Member Functions inherited from reco::isodeposit::IsoDepositExtractor | |
virtual reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackBaseRef &track) const |
make single IsoDeposit based on trackRef as input More... | |
virtual reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::CandidateBaseRef &track) const |
make single IsoDeposit based on a CandidateBaseRef as input More... | |
virtual std::vector< reco::IsoDeposit > | deposits (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const |
virtual std::vector< reco::IsoDeposit > | deposits (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackBaseRef &track) const |
virtual std::vector< reco::IsoDeposit > | deposits (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Candidate &track) const |
virtual std::vector< reco::IsoDeposit > | deposits (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::CandidateBaseRef &track) const |
virtual void | initEvent (const edm::Event &, const edm::EventSetup &) |
perform some constly initialization More... | |
virtual | ~IsoDepositExtractor () |
Destructor. More... | |
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.
|
inlineoverride |
Definition at line 29 of file PFCandWithSuperClusterExtractor.h.
|
inlineoverridevirtual |
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().
|
inlineoverridevirtual |
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(), dir, ev, and veto().
|
private |
Definition at line 43 of file PFCandWithSuperClusterExtractor.cc.
References funct::abs(), deltaR(), deposit(), PATTauDiscriminationAgainstElectronDeadECAL_cfi::dR, PVValHelper::eta, reco::LeafCandidate::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(), badGlobalMuonTaggersAOD_cff::vtx, and reco::LeafCandidate::vz().
Referenced by deposit().
|
private |
Definition at line 72 of file PFCandWithSuperClusterExtractor.cc.
References funct::abs(), deltaR(), deposit(), PATTauDiscriminationAgainstElectronDeadECAL_cfi::dR, PVValHelper::eta, reco::LeafCandidate::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(), badGlobalMuonTaggersAOD_cff::vtx, and reco::LeafCandidate::vz().
|
private |
Definition at line 107 of file PFCandWithSuperClusterExtractor.cc.
References funct::abs(), deltaR(), deposit(), PATTauDiscriminationAgainstElectronDeadECAL_cfi::dR, PVValHelper::eta, reco::TrackBase::eta(), phi, reco::TrackBase::phi(), reco::TrackBase::pt(), theDiff_r, theDiff_z, theDR_Max, theDR_Veto, thePFCandToken, reco::TrackBase::vertex(), veto(), badGlobalMuonTaggersAOD_cff::vtx, and reco::TrackBase::vz().
|
private |
Definition at line 134 of file PFCandWithSuperClusterExtractor.cc.
References funct::abs(), DEFINE_EDM_PLUGIN, deltaR(), deposit(), PATTauDiscriminationAgainstElectronDeadECAL_cfi::dR, PVValHelper::eta, reco::LeafCandidate::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(), badGlobalMuonTaggersAOD_cff::vtx, and reco::PFCandidate::vz().
|
inlineoverridevirtual |
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, mps_fire::result, theDR_Veto, and reco::IsoDeposit::Veto::vetoDir.
Referenced by deposit(), and 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().