#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 36 of file PFBlockBasedIsolation.h.
PFBlockBasedIsolation::PFBlockBasedIsolation | ( | ) |
Definition at line 24 of file PFBlockBasedIsolation.cc.
PFBlockBasedIsolation::~PFBlockBasedIsolation | ( | ) |
Definition at line 32 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 45 of file PFBlockBasedIsolation.cc.
References coneSize_, deltaR(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, and elementPassesCleaning().
Referenced by ParticleBasedIsoProducer::produce().
|
private |
Definition at line 102 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 149 of file PFBlockBasedIsolation.cc.
References reco::PFBlockElement::clusterRef(), reco::PFBlockElement::ECAL, HTMLExport::elem(), reco::PFCandidate::elementsInBlocks(), and reco::PFBlockElement::type().
Referenced by passesCleaningPhoton().
|
private |
Definition at line 111 of file PFBlockBasedIsolation.cc.
Referenced by elementPassesCleaning().
|
private |
Definition at line 119 of file PFBlockBasedIsolation.cc.
Referenced by elementPassesCleaning().
|
private |
Definition at line 125 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 38 of file PFBlockBasedIsolation.cc.
References coneSize_, and edm::ParameterSet::getParameter().
Referenced by ParticleBasedIsoProducer::beginRun().
|
private |
Definition at line 68 of file PFBlockBasedIsolation.h.
Referenced by calculate(), and setup().