#include <PFBlockBasedIsolation.h>
Public Member Functions | |
std::vector< reco::PFCandidateRef > | calculate (math::XYZTLorentzVectorD p4, const reco::PFCandidateRef pfEGCand, const edm::Handle< reco::PFCandidateCollection > pfCandidateHandle) |
PFBlockBasedIsolation () | |
void | setup (const edm::ParameterSet &conf) |
~PFBlockBasedIsolation () | |
Private Member Functions | |
bool | elementPassesCleaning (const reco::PFCandidateRef &pfCand, const reco::PFCandidateRef &pfEGCand) |
const reco::PFBlockElementCluster * | getHighestEtECALCluster (const reco::PFCandidate &pfCand) |
bool | passesCleaningChargedHadron (const reco::PFCandidateRef &pfCand, const reco::PFCandidateRef &pfEGCand) |
bool | passesCleaningNeutralHadron (const reco::PFCandidateRef &pfCand, const reco::PFCandidateRef &pfEGCand) |
bool | passesCleaningPhoton (const reco::PFCandidateRef &pfCand, const reco::PFCandidateRef &pfEGCand) |
Private Attributes | |
double | coneSize_ |
Definition at line 33 of file PFBlockBasedIsolation.h.
PFBlockBasedIsolation::PFBlockBasedIsolation | ( | ) |
Definition at line 22 of file PFBlockBasedIsolation.cc.
PFBlockBasedIsolation::~PFBlockBasedIsolation | ( | ) |
Definition at line 27 of file PFBlockBasedIsolation.cc.
std::vector< reco::PFCandidateRef > PFBlockBasedIsolation::calculate | ( | math::XYZTLorentzVectorD | p4, |
const reco::PFCandidateRef | pfEGCand, | ||
const edm::Handle< reco::PFCandidateCollection > | pfCandidateHandle | ||
) |
Definition at line 31 of file PFBlockBasedIsolation.cc.
References coneSize_, PbPb_ZMuSkimMuonDPG_cff::deltaR, HGC3DClusterGenMatchSelector_cfi::dR, elementPassesCleaning(), and p4.
Referenced by ParticleBasedIsoProducer::produce().
|
private |
Definition at line 77 of file PFBlockBasedIsolation.cc.
References reco::PFCandidate::gamma, reco::PFCandidate::h, reco::PFCandidate::h0, passesCleaningChargedHadron(), passesCleaningNeutralHadron(), and passesCleaningPhoton().
Referenced by calculate().
|
private |
Definition at line 129 of file PFBlockBasedIsolation.cc.
References reco::PFBlockElement::clusterRef(), reco::PFBlockElement::ECAL, reco::PFCandidate::elementsInBlocks(), and reco::PFBlockElement::type().
Referenced by passesCleaningPhoton().
|
private |
Definition at line 90 of file PFBlockBasedIsolation.cc.
Referenced by elementPassesCleaning().
|
private |
Definition at line 98 of file PFBlockBasedIsolation.cc.
Referenced by elementPassesCleaning().
|
private |
Definition at line 104 of file PFBlockBasedIsolation.cc.
References reco::PFBlockElementCluster::clusterRef(), getHighestEtECALCluster(), edm::Ref< C, T, F >::isNonnull(), and reco::PFBlockElementCluster::superClusterRef().
Referenced by elementPassesCleaning().
void PFBlockBasedIsolation::setup | ( | const edm::ParameterSet & | conf | ) |
Definition at line 29 of file PFBlockBasedIsolation.cc.
References coneSize_, and edm::ParameterSet::getParameter().
Referenced by ParticleBasedIsoProducer::beginRun().
|
private |
Definition at line 55 of file PFBlockBasedIsolation.h.
Referenced by calculate(), and setup().