16 #ifndef PFPhotonIsolationCalculator_H
17 #define PFPhotonIsolationCalculator_H
Bool_t bApplyMissHitPhVeto_
float fRectangleDeltaEtaVetoBarrelCharged_
Bool_t bCheckClosestZVertex_
~PFPhotonIsolationCalculator()
float fRectangleDeltaEtaVetoEndcapNeutrals_
float isNeutralParticleVetoed(const reco::PFCandidate *pfIsoCand)
Bool_t bRectangleVetoBarrel_
int matchPFObject(const reco::Photon *photon, const reco::PFCandidateCollection *pfParticlesColl)
float fRectangleDeltaPhiVetoBarrelPhotons_
std::vector< float > fGetIsolationInRings(const reco::Photon *photon, edm::Handle< reco::PFCandidateCollection > pfCandidateHandle, reco::VertexRef vtx, edm::Handle< reco::VertexCollection > vertices)
reco::SuperClusterRef refSC
float fDeltaRVetoEndcapNeutrals_
PFPhotonIsolationCalculator()
float fDeltaRVetoBarrelCharged_
std::vector< float > fIsolationInRingsCharged_
float fRectangleDeltaPhiVetoBarrelNeutrals_
float getIsolationPhoton()
float fDeltaRVetoEndcapPhotons_
Bool_t bRectangleVetoEndcap_
Bool_t bDeltaRVetoBarrel_
void setup(const edm::ParameterSet &conf)
float fNumberOfCrystalEndcapPhotons_
std::vector< float > fIsolationInRings_
std::vector< float > fIsolationInRingsPhoton_
std::vector< float > fIsolationInRingsChargedAll_
std::vector< float > getIsolationInRingsPhoton()
float fRectangleDeltaEtaVetoEndcapPhotons_
float getIsolationCharged()
reco::VertexRef chargedHadronVertex(edm::Handle< reco::VertexCollection > verticies, const reco::PFCandidate &pfcand)
float fDeltaRVetoBarrelPhotons_
std::vector< float > getIsolationInRingsChargedAll()
Bool_t bDeltaRVetoEndcap_
float fIsolationChargedAll_
float fRectangleDeltaPhiVetoEndcapCharged_
float fRectangleDeltaEtaVetoBarrelPhotons_
float fRectangleDeltaPhiVetoEndcapPhotons_
float getIsolationChargedAll()
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
float fDeltaRVetoEndcapCharged_
float getIsolationNeutral()
float fRectangleDeltaEtaVetoEndcapCharged_
float fRectangleDeltaPhiVetoBarrelCharged_
Particle reconstructed by the particle flow algorithm.
std::vector< float > fIsolationInRingsNeutral_
float fGetIsolation(const reco::Photon *photon, const edm::Handle< reco::PFCandidateCollection > pfCandidateHandle, reco::VertexRef vtx, edm::Handle< reco::VertexCollection > vertices)
float fDeltaRVetoBarrelNeutrals_
std::vector< float > getIsolationInRingsCharged()
float fRectangleDeltaPhiVetoEndcapNeutrals_
float isPhotonParticleVetoed(const reco::PFCandidateRef pfIsoCand)
void initializeRings(int iNumberOfRings, float fRingSize)
float isChargedParticleVetoed(const reco::PFCandidate *pfIsoCand, edm::Handle< reco::VertexCollection > vertices)
float fRectangleDeltaEtaVetoBarrelNeutrals_
std::vector< float > getIsolationInRingsNeutral()
void calculate(const reco::Photon *, const edm::Handle< reco::PFCandidateCollection > pfCandidateHandle, edm::Handle< reco::VertexCollection > &vertices, const edm::Event &e, const edm::EventSetup &es, reco::Photon::PflowIsolationVariables &phoisol03)