#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 19 of file PFBlockBasedIsolation.h.
PFBlockBasedIsolation::PFBlockBasedIsolation | ( | ) |
Definition at line 12 of file PFBlockBasedIsolation.cc.
PFBlockBasedIsolation::~PFBlockBasedIsolation | ( | ) |
Definition at line 17 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 21 of file PFBlockBasedIsolation.cc.
References coneSize_, PbPb_ZMuSkimMuonDPG_cff::deltaR, HGC3DClusterGenMatchSelector_cfi::dR, and elementPassesCleaning().
|
private |
Definition at line 67 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 119 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 80 of file PFBlockBasedIsolation.cc.
Referenced by elementPassesCleaning().
|
private |
Definition at line 88 of file PFBlockBasedIsolation.cc.
Referenced by elementPassesCleaning().
|
private |
Definition at line 94 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 19 of file PFBlockBasedIsolation.cc.
References coneSize_, and edm::ParameterSet::getParameter().
|
private |
Definition at line 41 of file PFBlockBasedIsolation.h.
Referenced by calculate(), and setup().