#include <CandViewExtractor.h>
Public Member Functions | |
CandViewExtractor () | |
CandViewExtractor (const edm::ParameterSet &par, edm::ConsumesCollector &&iC) | |
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 &muon) const override |
void | fillVetos (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &cand) override |
void | initEvent (const edm::Event &ev, const edm::EventSetup &evSetup) override |
perform some constly initialization More... | |
~CandViewExtractor () 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 | ~IsoDepositExtractor () |
Destructor. More... | |
Private Member Functions | |
template<typename T > | |
reco::IsoDeposit | depositFromObject (const edm::Event &ev, const edm::EventSetup &evSetup, const T &cand) const |
reco::IsoDeposit::Veto | veto (const reco::IsoDeposit::Direction &dir) const |
Private Attributes | |
edm::Event::CacheIdentifier_t | theCacheID |
edm::Handle< edm::View< reco::Candidate > > | theCandViewH |
edm::EDGetTokenT< edm::View< reco::Candidate > > | theCandViewToken |
std::string | theDepositLabel |
double | theDiff_r |
double | theDiff_z |
double | theDR_Max |
double | theDR_Veto |
Definition at line 19 of file CandViewExtractor.h.
|
inline |
Definition at line 23 of file CandViewExtractor.h.
CandViewExtractor::CandViewExtractor | ( | const edm::ParameterSet & | par, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 17 of file CandViewExtractor.cc.
|
inlineoverride |
Definition at line 26 of file CandViewExtractor.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 40 of file CandViewExtractor.h.
References 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 45 of file CandViewExtractor.h.
References depositFromObject(), dir, and veto().
|
private |
Referenced by deposit().
|
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 28 of file CandViewExtractor.h.
References ev, and initEvent().
|
overridevirtual |
perform some constly initialization
Reimplemented from reco::isodeposit::IsoDepositExtractor.
Definition at line 43 of file CandViewExtractor.cc.
References edm::Event::cacheIdentifier(), DEFINE_EDM_PLUGIN, edm::Event::getByToken(), theCacheID, theCandViewH, and theCandViewToken.
Referenced by fillVetos().
|
private |
Definition at line 35 of file CandViewExtractor.cc.
References dir, reco::IsoDeposit::Veto::dR, mps_fire::result, theDR_Veto, and reco::IsoDeposit::Veto::vetoDir.
Referenced by deposit().
|
private |
Definition at line 61 of file CandViewExtractor.h.
Referenced by initEvent().
|
private |
Definition at line 60 of file CandViewExtractor.h.
Referenced by initEvent().
|
private |
Definition at line 58 of file CandViewExtractor.h.
Referenced by initEvent().
|
private |
Definition at line 59 of file CandViewExtractor.h.
|
private |
Definition at line 62 of file CandViewExtractor.h.
|
private |
Definition at line 63 of file CandViewExtractor.h.
|
private |
Definition at line 64 of file CandViewExtractor.h.
|
private |
Definition at line 65 of file CandViewExtractor.h.
Referenced by veto().