#include <MuPFIsoHelper.h>
Public Types | |
typedef edm::ValueMap< double > | CandDoubleMap |
Public Member Functions | |
void | beginEvent (const edm::Event &iEvent) |
int | embedPFIsolation (reco::Muon &, reco::MuonRef &) |
reco::MuonPFIsolation | makeIsoDeposit (reco::MuonRef &, const edm::Handle< CandDoubleMap > &, const edm::Handle< CandDoubleMap > &, const edm::Handle< CandDoubleMap > &, const edm::Handle< CandDoubleMap > &, const edm::Handle< CandDoubleMap > &, const edm::Handle< CandDoubleMap > &, const edm::Handle< CandDoubleMap > &) |
MuPFIsoHelper (const std::map< std::string, edm::ParameterSet > &, edm::ConsumesCollector &&) | |
~MuPFIsoHelper () | |
Private Attributes | |
std::vector< edm::Handle < CandDoubleMap > > | chargedHadron_ |
std::vector< edm::EDGetTokenT < CandDoubleMap > > | chargedHadronToken_ |
std::vector< edm::Handle < CandDoubleMap > > | chargedParticle_ |
std::vector< edm::EDGetTokenT < CandDoubleMap > > | chargedParticleToken_ |
std::map< std::string, edm::ParameterSet > | labelMap_ |
std::vector< edm::Handle < CandDoubleMap > > | neutralHadron_ |
std::vector< edm::Handle < CandDoubleMap > > | neutralHadronHighThreshold_ |
std::vector< edm::EDGetTokenT < CandDoubleMap > > | neutralHadronHighThresholdToken_ |
std::vector< edm::EDGetTokenT < CandDoubleMap > > | neutralHadronToken_ |
std::vector< edm::Handle < CandDoubleMap > > | photon_ |
std::vector< edm::Handle < CandDoubleMap > > | photonHighThreshold_ |
std::vector< edm::EDGetTokenT < CandDoubleMap > > | photonHighThresholdToken_ |
std::vector< edm::EDGetTokenT < CandDoubleMap > > | photonToken_ |
std::vector< edm::Handle < CandDoubleMap > > | pu_ |
std::vector< edm::EDGetTokenT < CandDoubleMap > > | puToken_ |
Definition at line 29 of file MuPFIsoHelper.h.
typedef edm::ValueMap<double> MuPFIsoHelper::CandDoubleMap |
Definition at line 31 of file MuPFIsoHelper.h.
MuPFIsoHelper::MuPFIsoHelper | ( | const std::map< std::string, edm::ParameterSet > & | labelMap, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 4 of file MuPFIsoHelper.cc.
References chargedHadron_, chargedHadronToken_, chargedParticle_, chargedParticleToken_, i, labelMap_, neutralHadron_, neutralHadronHighThreshold_, neutralHadronHighThresholdToken_, neutralHadronToken_, photon_, photonHighThreshold_, photonHighThresholdToken_, photonToken_, pu_, and puToken_.
MuPFIsoHelper::~MuPFIsoHelper | ( | ) |
Definition at line 33 of file MuPFIsoHelper.cc.
void MuPFIsoHelper::beginEvent | ( | const edm::Event & | iEvent | ) |
Definition at line 96 of file MuPFIsoHelper.cc.
References chargedHadron_, chargedHadronToken_, chargedParticle_, chargedParticleToken_, KineDebug3::count(), edm::Event::getByToken(), i, labelMap_, neutralHadron_, neutralHadronHighThreshold_, neutralHadronHighThresholdToken_, neutralHadronToken_, photon_, photonHighThreshold_, photonHighThresholdToken_, photonToken_, pu_, and puToken_.
Referenced by MuPFIsoEmbedder::produce(), and MuonProducer::produce().
int MuPFIsoHelper::embedPFIsolation | ( | reco::Muon & | muon, |
reco::MuonRef & | muonRef | ||
) |
Definition at line 73 of file MuPFIsoHelper.cc.
References chargedHadron_, chargedParticle_, KineDebug3::count(), i, labelMap_, makeIsoDeposit(), neutralHadron_, neutralHadronHighThreshold_, photon_, photonHighThreshold_, pu_, and reco::Muon::setPFIsolation().
Referenced by MuPFIsoEmbedder::produce(), and MuonProducer::produce().
reco::MuonPFIsolation MuPFIsoHelper::makeIsoDeposit | ( | reco::MuonRef & | muonRef, |
const edm::Handle< CandDoubleMap > & | chargedParticle, | ||
const edm::Handle< CandDoubleMap > & | chargedHadron, | ||
const edm::Handle< CandDoubleMap > & | neutralHadron, | ||
const edm::Handle< CandDoubleMap > & | neutralHadronHighThreshold, | ||
const edm::Handle< CandDoubleMap > & | photon, | ||
const edm::Handle< CandDoubleMap > & | photonHighThreshold, | ||
const edm::Handle< CandDoubleMap > & | pu | ||
) |
Definition at line 38 of file MuPFIsoHelper.cc.
References edm::HandleBase::isValid(), reco::MuonPFIsolation::sumChargedHadronPt, reco::MuonPFIsolation::sumChargedParticlePt, reco::MuonPFIsolation::sumNeutralHadronEt, reco::MuonPFIsolation::sumNeutralHadronEtHighThreshold, reco::MuonPFIsolation::sumPhotonEt, reco::MuonPFIsolation::sumPhotonEtHighThreshold, and reco::MuonPFIsolation::sumPUPt.
Referenced by embedPFIsolation().
|
private |
Definition at line 56 of file MuPFIsoHelper.h.
Referenced by beginEvent(), embedPFIsolation(), and MuPFIsoHelper().
|
private |
Definition at line 64 of file MuPFIsoHelper.h.
Referenced by beginEvent(), and MuPFIsoHelper().
|
private |
Definition at line 55 of file MuPFIsoHelper.h.
Referenced by beginEvent(), embedPFIsolation(), and MuPFIsoHelper().
|
private |
Definition at line 63 of file MuPFIsoHelper.h.
Referenced by beginEvent(), and MuPFIsoHelper().
|
private |
Definition at line 53 of file MuPFIsoHelper.h.
Referenced by beginEvent(), embedPFIsolation(), and MuPFIsoHelper().
|
private |
Definition at line 57 of file MuPFIsoHelper.h.
Referenced by beginEvent(), embedPFIsolation(), and MuPFIsoHelper().
|
private |
Definition at line 58 of file MuPFIsoHelper.h.
Referenced by beginEvent(), embedPFIsolation(), and MuPFIsoHelper().
|
private |
Definition at line 66 of file MuPFIsoHelper.h.
Referenced by beginEvent(), and MuPFIsoHelper().
|
private |
Definition at line 65 of file MuPFIsoHelper.h.
Referenced by beginEvent(), and MuPFIsoHelper().
|
private |
Definition at line 59 of file MuPFIsoHelper.h.
Referenced by beginEvent(), embedPFIsolation(), and MuPFIsoHelper().
|
private |
Definition at line 60 of file MuPFIsoHelper.h.
Referenced by beginEvent(), embedPFIsolation(), and MuPFIsoHelper().
|
private |
Definition at line 68 of file MuPFIsoHelper.h.
Referenced by beginEvent(), and MuPFIsoHelper().
|
private |
Definition at line 67 of file MuPFIsoHelper.h.
Referenced by beginEvent(), and MuPFIsoHelper().
|
private |
Definition at line 61 of file MuPFIsoHelper.h.
Referenced by beginEvent(), embedPFIsolation(), and MuPFIsoHelper().
|
private |
Definition at line 69 of file MuPFIsoHelper.h.
Referenced by beginEvent(), and MuPFIsoHelper().