Public Member Functions | |
void | cleanup () |
double | compute (const reco::CandidateBaseRef &cand) |
const reco::IsoDepositMap & | map () |
void | open (const edm::Event &iEvent, const edm::EventSetup &iSetup) |
SingleDeposit (const edm::ParameterSet &, edm::ConsumesCollector &&iC) | |
Private Attributes | |
double | deltaR_ |
reco::isodeposit::EventDependentAbsVetos | evdepVetos_ |
edm::Handle< reco::IsoDepositMap > | hDeps_ |
Mode | mode_ |
bool | skipDefaultVeto_ |
edm::EDGetTokenT< reco::IsoDepositMap > | srcToken_ |
bool | usesFunction_ |
reco::isodeposit::AbsVetos | vetos_ |
double | weight_ |
StringObjectFunction< reco::Candidate > | weightExpr_ |
Definition at line 36 of file CandIsolatorFromDeposits.h.
CandIsolatorFromDeposits::SingleDeposit::SingleDeposit | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 38 of file CandIsolatorFromDeposits.cc.
References CandIsolatorFromDeposits::Count, evdepVetos_, Exception, edm::ParameterSet::getParameter(), isNumber(), IsoDepositVetoFactory::make(), CandIsolatorFromDeposits::Max, CandIsolatorFromDeposits::MaxRelative, CandIsolatorFromDeposits::MeanDR, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, mode_, CandIsolatorFromDeposits::NearestDR, AlCaHLTBitMon_QueryRunRegistry::string, CandIsolatorFromDeposits::Sum, CandIsolatorFromDeposits::Sum2, CandIsolatorFromDeposits::Sum2Relative, CandIsolatorFromDeposits::SumDR, CandIsolatorFromDeposits::SumRelative, toNumber(), usesFunction_, boostedElectronIsolation_cff::vetos, vetos_, and weight_.
Referenced by CandIsolatorFromDeposits::CandIsolatorFromDeposits().
void CandIsolatorFromDeposits::SingleDeposit::cleanup | ( | void | ) |
Definition at line 78 of file CandIsolatorFromDeposits.cc.
References evdepVetos_, and vetos_.
double CandIsolatorFromDeposits::SingleDeposit::compute | ( | const reco::CandidateBaseRef & | cand | ) |
Definition at line 93 of file CandIsolatorFromDeposits.cc.
References reco::IsoDeposit::algoWithin(), reco::IsoDeposit::candEnergy(), CandIsolatorFromDeposits::Count, reco::IsoDeposit::countWithin(), deltaR_, PVValHelper::eta, reco::IsoDeposit::eta(), Exception, CandIsolatorFromDeposits::Max, CandIsolatorFromDeposits::MaxRelative, reco::IsoDeposit::maxWithin(), CandIsolatorFromDeposits::MeanDR, mode_, CandIsolatorFromDeposits::NearestDR, reco::IsoDeposit::nearestDR(), phi, reco::IsoDeposit::phi(), skipDefaultVeto_, CandIsolatorFromDeposits::Sum, CandIsolatorFromDeposits::Sum2, CandIsolatorFromDeposits::Sum2Relative, reco::IsoDeposit::sum2Within(), CandIsolatorFromDeposits::SumDR, CandIsolatorFromDeposits::SumRelative, reco::IsoDeposit::sumWithin(), usesFunction_, vetos_, weight_, and weightExpr_.
|
inline |
Definition at line 42 of file CandIsolatorFromDeposits.h.
Referenced by CandIsolatorFromDeposits::produce().
void CandIsolatorFromDeposits::SingleDeposit::open | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 86 of file CandIsolatorFromDeposits.cc.
References evdepVetos_, edm::Event::getByToken(), hDeps_, and srcToken_.
|
private |
Definition at line 46 of file CandIsolatorFromDeposits.h.
Referenced by compute().
|
private |
Definition at line 51 of file CandIsolatorFromDeposits.h.
Referenced by cleanup(), open(), and SingleDeposit().
|
private |
Definition at line 53 of file CandIsolatorFromDeposits.h.
Referenced by open().
|
private |
Definition at line 44 of file CandIsolatorFromDeposits.h.
Referenced by compute(), and SingleDeposit().
|
private |
Definition at line 52 of file CandIsolatorFromDeposits.h.
Referenced by compute().
|
private |
Definition at line 45 of file CandIsolatorFromDeposits.h.
Referenced by open().
|
private |
Definition at line 47 of file CandIsolatorFromDeposits.h.
Referenced by compute(), and SingleDeposit().
|
private |
Definition at line 50 of file CandIsolatorFromDeposits.h.
Referenced by cleanup(), compute(), and SingleDeposit().
|
private |
Definition at line 48 of file CandIsolatorFromDeposits.h.
Referenced by compute(), and SingleDeposit().
|
private |
Definition at line 49 of file CandIsolatorFromDeposits.h.
Referenced by compute().