#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 25 of file MuPFIsoHelper.h.
typedef edm::ValueMap<double> MuPFIsoHelper::CandDoubleMap |
Definition at line 27 of file MuPFIsoHelper.h.
MuPFIsoHelper::MuPFIsoHelper | ( | const std::map< std::string, edm::ParameterSet > & | labelMap, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 3 of file MuPFIsoHelper.cc.
References chargedHadron_, chargedHadronToken_, chargedParticle_, chargedParticleToken_, mps_fire::i, labelMap_, neutralHadron_, neutralHadronHighThreshold_, neutralHadronHighThresholdToken_, neutralHadronToken_, photon_, photonHighThreshold_, photonHighThresholdToken_, photonToken_, pu_, and puToken_.
MuPFIsoHelper::~MuPFIsoHelper | ( | ) |
Definition at line 28 of file MuPFIsoHelper.cc.
void MuPFIsoHelper::beginEvent | ( | const edm::Event & | iEvent | ) |
Definition at line 82 of file MuPFIsoHelper.cc.
References chargedHadron_, chargedHadronToken_, chargedParticle_, chargedParticleToken_, submitPVResolutionJobs::count, mps_fire::i, iEvent, 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 63 of file MuPFIsoHelper.cc.
References chargedHadron_, chargedParticle_, submitPVResolutionJobs::count, mps_fire::i, labelMap_, makeIsoDeposit(), neutralHadron_, neutralHadronHighThreshold_, photon_, photonHighThreshold_, and pu_.
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 30 of file MuPFIsoHelper.cc.
References HPSPFTauProducerPuppi_cfi::chargedHadron, displacedMuons_cfi::chargedParticle, displacedMuons_cfi::neutralHadron, displacedMuons_cfi::neutralHadronHighThreshold, displacedMuons_cfi::photon, displacedMuons_cfi::photonHighThreshold, displacedMuons_cfi::pu, 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 49 of file MuPFIsoHelper.h.
Referenced by beginEvent(), embedPFIsolation(), and MuPFIsoHelper().
|
private |
Definition at line 57 of file MuPFIsoHelper.h.
Referenced by beginEvent(), and MuPFIsoHelper().
|
private |
Definition at line 48 of file MuPFIsoHelper.h.
Referenced by beginEvent(), embedPFIsolation(), and MuPFIsoHelper().
|
private |
Definition at line 56 of file MuPFIsoHelper.h.
Referenced by beginEvent(), and MuPFIsoHelper().
|
private |
Definition at line 46 of file MuPFIsoHelper.h.
Referenced by beginEvent(), embedPFIsolation(), and MuPFIsoHelper().
|
private |
Definition at line 50 of file MuPFIsoHelper.h.
Referenced by beginEvent(), embedPFIsolation(), and MuPFIsoHelper().
|
private |
Definition at line 51 of file MuPFIsoHelper.h.
Referenced by beginEvent(), embedPFIsolation(), and MuPFIsoHelper().
|
private |
Definition at line 59 of file MuPFIsoHelper.h.
Referenced by beginEvent(), and MuPFIsoHelper().
|
private |
Definition at line 58 of file MuPFIsoHelper.h.
Referenced by beginEvent(), and MuPFIsoHelper().
|
private |
Definition at line 52 of file MuPFIsoHelper.h.
Referenced by beginEvent(), embedPFIsolation(), and MuPFIsoHelper().
|
private |
Definition at line 53 of file MuPFIsoHelper.h.
Referenced by beginEvent(), embedPFIsolation(), and MuPFIsoHelper().
|
private |
Definition at line 61 of file MuPFIsoHelper.h.
Referenced by beginEvent(), and MuPFIsoHelper().
|
private |
Definition at line 60 of file MuPFIsoHelper.h.
Referenced by beginEvent(), and MuPFIsoHelper().
|
private |
Definition at line 54 of file MuPFIsoHelper.h.
Referenced by beginEvent(), embedPFIsolation(), and MuPFIsoHelper().
|
private |
Definition at line 62 of file MuPFIsoHelper.h.
Referenced by beginEvent(), and MuPFIsoHelper().