#include <PFCandWithSuperClusterExtractor.h>
Public Member Functions | |
virtual reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &muon) const |
virtual reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Candidate &cand) const |
virtual void | fillVetos (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &cand) |
PFCandWithSuperClusterExtractor () | |
PFCandWithSuperClusterExtractor (const edm::ParameterSet &par) | |
virtual | ~PFCandWithSuperClusterExtractor () |
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 | ~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::InputTag | thePFCandTag |
bool | theVetoSuperClusterMatch |
Definition at line 20 of file PFCandWithSuperClusterExtractor.h.
|
inline |
Definition at line 24 of file PFCandWithSuperClusterExtractor.h.
PFCandWithSuperClusterExtractor::PFCandWithSuperClusterExtractor | ( | const edm::ParameterSet & | par | ) |
Definition at line 13 of file PFCandWithSuperClusterExtractor.cc.
|
inlinevirtual |
Definition at line 27 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 33 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 38 of file PFCandWithSuperClusterExtractor.h.
References depositFromObject().
|
private |
Definition at line 43 of file PFCandWithSuperClusterExtractor.cc.
References 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, thePFCandTag, theVetoSuperClusterMatch, reco::LeafCandidate::vertex(), veto(), and reco::LeafCandidate::vz().
Referenced by deposit().
|
private |
Definition at line 72 of file PFCandWithSuperClusterExtractor.cc.
References abs, deltaR(), deposit(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, reco::LeafCandidate::eta(), eta(), reco::GsfElectron::gsfTrack(), edm::Ref< C, T, F >::isNonnull(), phi, reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), reco::GsfElectron::superCluster(), theDiff_r, theDiff_z, theDR_Max, theDR_Veto, theMissHitVetoSuperClusterMatch, thePFCandTag, reco::LeafCandidate::vertex(), veto(), and reco::LeafCandidate::vz().
|
private |
Definition at line 105 of file PFCandWithSuperClusterExtractor.cc.
References abs, deltaR(), deposit(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, reco::TrackBase::eta(), eta(), phi, reco::TrackBase::phi(), reco::TrackBase::pt(), theDiff_r, theDiff_z, theDR_Max, theDR_Veto, thePFCandTag, reco::TrackBase::vertex(), veto(), and reco::TrackBase::vz().
|
private |
Definition at line 132 of file PFCandWithSuperClusterExtractor.cc.
References 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, thePFCandTag, 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 29 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 70 of file PFCandWithSuperClusterExtractor.h.
|
private |
Definition at line 73 of file PFCandWithSuperClusterExtractor.h.
Referenced by depositFromObject().
|
private |
Definition at line 74 of file PFCandWithSuperClusterExtractor.h.
Referenced by depositFromObject().
|
private |
Definition at line 75 of file PFCandWithSuperClusterExtractor.h.
Referenced by depositFromObject().
|
private |
Definition at line 76 of file PFCandWithSuperClusterExtractor.h.
Referenced by depositFromObject(), and veto().
|
private |
Definition at line 72 of file PFCandWithSuperClusterExtractor.h.
Referenced by depositFromObject().
|
private |
Definition at line 69 of file PFCandWithSuperClusterExtractor.h.
Referenced by depositFromObject().
|
private |
Definition at line 71 of file PFCandWithSuperClusterExtractor.h.
Referenced by depositFromObject().