#include <PFCandWithSuperClusterExtractor.h>
Public Member Functions | |
reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Candidate &cand) const override |
reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &muon) 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::CandidateBaseRef &track) const |
make single IsoDeposit based on a CandidateBaseRef as input More... | |
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 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 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 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::GsfElectron &cand) const |
reco::IsoDeposit | depositFromObject (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::PFCandidate &cand) const |
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::Track &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 20 of file PFCandWithSuperClusterExtractor.h.
|
inline |
Definition at line 22 of file PFCandWithSuperClusterExtractor.h.
PFCandWithSuperClusterExtractor::PFCandWithSuperClusterExtractor | ( | const edm::ParameterSet & | par, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 12 of file PFCandWithSuperClusterExtractor.cc.
|
inlineoverride |
Definition at line 25 of file PFCandWithSuperClusterExtractor.h.
|
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 35 of file PFCandWithSuperClusterExtractor.h.
References depositFromObject(), and ev.
|
inlineoverridevirtual |
make single IsoDeposit based on track as input purely virtual: have to implement in concrete implementations
Implements reco::isodeposit::IsoDepositExtractor.
Definition at line 29 of file PFCandWithSuperClusterExtractor.h.
References depositFromObject(), and ev.
Referenced by depositFromObject().
|
private |
Definition at line 69 of file PFCandWithSuperClusterExtractor.cc.
References funct::abs(), reco::IsoDeposit::addCandEnergy(), reco::IsoDeposit::addDeposit(), PbPb_ZMuSkimMuonDPG_cff::deltaR, deposit(), HGC3DClusterGenMatchSelector_cfi::dR, PVValHelper::eta, reco::HitPattern::MISSING_INNER_HITS, phi, reco::IsoDeposit::setVeto(), theDiff_r, theDiff_z, theDR_Max, theDR_Veto, theMissHitVetoSuperClusterMatch, thePFCandToken, veto(), and badGlobalMuonTaggersAOD_cff::vtx.
|
private |
Definition at line 127 of file PFCandWithSuperClusterExtractor.cc.
References funct::abs(), reco::IsoDeposit::addCandEnergy(), reco::IsoDeposit::addDeposit(), PbPb_ZMuSkimMuonDPG_cff::deltaR, deposit(), HGC3DClusterGenMatchSelector_cfi::dR, PVValHelper::eta, phi, reco::IsoDeposit::setVeto(), theDiff_r, theDiff_z, theDR_Max, theDR_Veto, thePFCandToken, theVetoSuperClusterMatch, veto(), and badGlobalMuonTaggersAOD_cff::vtx.
|
private |
Definition at line 39 of file PFCandWithSuperClusterExtractor.cc.
References funct::abs(), reco::IsoDeposit::addCandEnergy(), reco::IsoDeposit::addDeposit(), PbPb_ZMuSkimMuonDPG_cff::deltaR, deposit(), HGC3DClusterGenMatchSelector_cfi::dR, PVValHelper::eta, phi, reco::IsoDeposit::setVeto(), theDiff_r, theDiff_z, theDR_Max, theDR_Veto, thePFCandToken, theVetoSuperClusterMatch, veto(), and badGlobalMuonTaggersAOD_cff::vtx.
Referenced by deposit().
|
private |
Definition at line 101 of file PFCandWithSuperClusterExtractor.cc.
References funct::abs(), reco::IsoDeposit::addCandEnergy(), reco::IsoDeposit::addDeposit(), PbPb_ZMuSkimMuonDPG_cff::deltaR, deposit(), HGC3DClusterGenMatchSelector_cfi::dR, PVValHelper::eta, phi, reco::IsoDeposit::setVeto(), theDiff_r, theDiff_z, theDR_Max, theDR_Veto, thePFCandToken, veto(), and badGlobalMuonTaggersAOD_cff::vtx.
|
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 27 of file PFCandWithSuperClusterExtractor.h.
|
private |
Definition at line 32 of file PFCandWithSuperClusterExtractor.cc.
References DeadROC_duringRun::dir, mps_fire::result, and theDR_Veto.
Referenced by depositFromObject().
|
private |
Definition at line 71 of file PFCandWithSuperClusterExtractor.h.
|
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().
|
private |
Definition at line 77 of file PFCandWithSuperClusterExtractor.h.
Referenced by depositFromObject(), and veto().
|
private |
Definition at line 73 of file PFCandWithSuperClusterExtractor.h.
Referenced by depositFromObject().
|
private |
Definition at line 70 of file PFCandWithSuperClusterExtractor.h.
Referenced by depositFromObject().
|
private |
Definition at line 72 of file PFCandWithSuperClusterExtractor.h.
Referenced by depositFromObject().