4 : labelMap_(labelMap) {
6 for (std::map<std::string, edm::ParameterSet>::const_iterator
i =
labelMap_.begin();
i !=
labelMap_.end(); ++
i) {
13 pu_.push_back(nullHandle);
48 if (neutralHadronHighThreshold.
isValid())
54 if (photonHighThreshold.
isValid())
64 unsigned int count = 0;
65 for (std::map<std::string, edm::ParameterSet>::const_iterator
i =
labelMap_.begin();
i !=
labelMap_.end(); ++
i) {
83 unsigned int count = 0;
84 for (std::map<std::string, edm::ParameterSet>::const_iterator
i =
labelMap_.begin();
i !=
labelMap_.end(); ++
i) {
std::vector< edm::EDGetTokenT< CandDoubleMap > > neutralHadronHighThresholdToken_
std::vector< edm::EDGetTokenT< CandDoubleMap > > chargedHadronToken_
std::vector< edm::Handle< CandDoubleMap > > chargedHadron_
float sumNeutralHadronEtHighThreshold
sum pt of neutral hadrons with a higher threshold
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< edm::EDGetTokenT< CandDoubleMap > > photonHighThresholdToken_
float sumPhotonEt
sum pt of PF photons
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 > &)
std::vector< edm::Handle< CandDoubleMap > > pu_
std::vector< edm::EDGetTokenT< CandDoubleMap > > neutralHadronToken_
float sumNeutralHadronEt
sum pt of neutral hadrons
float sumChargedParticlePt
sum-pt of charged Particles(inludes e/mu)
std::vector< edm::Handle< CandDoubleMap > > neutralHadronHighThreshold_
float sumPUPt
sum pt of charged Particles not from PV (for Pu corrections)
std::map< std::string, edm::ParameterSet > labelMap_
void setPFIsolation(const std::string &label, const reco::MuonPFIsolation &deposit)
std::vector< edm::EDGetTokenT< CandDoubleMap > > chargedParticleToken_
std::vector< edm::Handle< CandDoubleMap > > chargedParticle_
std::vector< edm::Handle< CandDoubleMap > > photon_
std::vector< edm::Handle< CandDoubleMap > > neutralHadron_
int embedPFIsolation(reco::Muon &, reco::MuonRef &)
std::vector< edm::EDGetTokenT< CandDoubleMap > > puToken_
std::vector< edm::Handle< CandDoubleMap > > photonHighThreshold_
void beginEvent(const edm::Event &iEvent)
float sumPhotonEtHighThreshold
sum pt of PF photons with a higher threshold
std::vector< edm::EDGetTokenT< CandDoubleMap > > photonToken_
MuPFIsoHelper(const std::map< std::string, edm::ParameterSet > &, edm::ConsumesCollector &&)
float sumChargedHadronPt
sum-pt of charged Hadron