Go to the documentation of this file.
19 #ifndef PFIsolationEstimator_H
20 #define PFIsolationEstimator_H
30 #include "TMVA/Factory.h"
31 #include "TMVA/Tools.h"
32 #include "TMVA/Reader.h"
float fRectangleDeltaPhiVetoBarrelCharged
void setNumberOfCrystalEndcapPhotons(float fValue=-1)
std::vector< float > fIsolationInRingsNeutral
float fRectangleDeltaPhiVetoEndcapNeutrals
std::vector< float > fIsolationInRingsPhoton
void setRectangleDeltaPhiVetoBarrelNeutrals(float fValue=-1.0)
float fRectangleDeltaEtaVetoEndcapPhotons
reco::SuperClusterRef refSC
void setRingSize(float fValue=0.4)
void initializePhotonIsolation(Bool_t bApplyVeto)
std::vector< float > fIsolationInRingsChargedAll
void setRectangleDeltaEtaVetoBarrelNeutrals(float fValue=-1.0)
void setDeltaRVetoEndcapNeutrals(float fValue=-1.0)
void setParticleType(int iValue)
void setRectangleDeltaPhiVetoEndcapPhotons(float fValue=-1.0)
void setRectangleDeltaEtaVetoEndcapCharged(float fValue=-1.0)
void setConeSize(float fValue=0.4)
void setRectangleDeltaEtaVetoEndcapNeutrals(float fValue=-1.0)
float fDeltaRVetoBarrelCharged
void initializeElectronIsolation(Bool_t bApplyVeto)
void setRectangleDeltaEtaVetoBarrelPhotons(float fValue=-1.0)
void setRectangleVetoEndcap(Bool_t bValue=kTRUE)
std::vector< float > fIsolationInRings
float fDeltaRVetoEndcapNeutrals
float getIsolationChargedAll()
float getIsolationPhoton()
float fDeltaRVetoEndcapPhotons
float fDeltaRVetoBarrelNeutrals
Bool_t bRectangleVetoEndcap
void initializeRings(int iNumberOfRings, float fRingSize)
reco::VertexRef chargedHadronVertex(edm::Handle< reco::VertexCollection > verticies, const reco::PFCandidate &pfcand)
std::vector< float > fGetIsolationInRings(const reco::PFCandidate *pfCandidate, const reco::PFCandidateCollection *pfParticlesColl, reco::VertexRef vtx, edm::Handle< reco::VertexCollection > vertices)
void setUseCrystalSize(Bool_t bValue=kFALSE)
void setRectangleDeltaEtaVetoEndcapPhotons(float fValue=-1.0)
float fIsolationChargedAll
void setRectangleDeltaPhiVetoEndcapNeutrals(float fValue=-1.0)
float fRectangleDeltaEtaVetoEndcapNeutrals
float getIsolationCharged()
void setDeltaRVetoBarrelPhotons(float fValue=-1.0)
Bool_t checkClosestZVertex
void setNumbersOfRings(int iValue=1)
std::vector< float > getIsolationInRingsChargedAll()
void setApplyDzDxyVeto(Bool_t bValue=kTRUE)
std::vector< float > getIsolationInRingsNeutral()
float isPhotonParticleVetoed(const reco::PFCandidate *pfIsoCand)
void setApplyPFPUVeto(Bool_t bValue=kFALSE)
std::vector< float > getIsolationInRingsCharged()
void setDeltaRVetoBarrelCharged(float fValue=-1.0)
float fNumberOfCrystalEndcapPhotons
void setDeltaRVetoEndcapCharged(float fValue=-1.0)
float fRectangleDeltaEtaVetoBarrelPhotons
float fDeltaRVetoBarrelPhotons
XYZVectorD XYZVector
spatial vector with cartesian internal representation
float fGetIsolation(const reco::PFCandidate *pfCandidate, const reco::PFCandidateCollection *pfParticlesColl, reco::VertexRef vtx, edm::Handle< reco::VertexCollection > vertices)
void initializePhotonIsolationInRings(Bool_t bApplyVeto, int iNumberOfRings, float fRingSize)
float fRectangleDeltaEtaVetoBarrelCharged
void initializeElectronIsolationInRings(Bool_t bApplyVeto, int iNumberOfRings, float fRingSize)
float getIsolationNeutral()
void setRectangleDeltaPhiVetoBarrelPhotons(float fValue=-1.0)
void initialize(Bool_t bApplyVeto, int iParticleType)
float fRectangleDeltaPhiVetoBarrelPhotons
float fDeltaRVetoEndcapCharged
Bool_t bRectangleVetoBarrel
void setRectangleVetoBarrel(Bool_t bValue=kTRUE)
Bool_t bApplyMissHitPhVeto
void setApplyVeto(Bool_t bValue=kTRUE)
std::vector< float > fIsolationInRingsCharged
void setRectangleDeltaPhiVetoBarrelCharged(float fValue=-1.0)
float fRectangleDeltaPhiVetoBarrelNeutrals
Bool_t isInitialized() const
void setRectangleDeltaPhiVetoEndcapCharged(float fValue=-1.0)
float fRectangleDeltaPhiVetoEndcapPhotons
float fRectangleDeltaEtaVetoEndcapCharged
void setApplyMissHitPhVeto(Bool_t bValue=kFALSE)
std::vector< float > getIsolationInRingsPhoton()
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
void setDeltaRVetoEndcapPhotons(float fValue=-1.0)
void setDeltaRVetoBarrel(Bool_t bValue=kTRUE)
void setRectangleDeltaEtaVetoBarrelCharged(float fValue=-1.0)
Particle reconstructed by the particle flow algorithm.
math::XYZVector vtxWRTCandidate
float isChargedParticleVetoed(const reco::PFCandidate *pfIsoCand, edm::Handle< reco::VertexCollection > vertices)
int matchPFObject(const reco::Photon *photon, const reco::PFCandidateCollection *pfParticlesColl)
float fRectangleDeltaEtaVetoBarrelNeutrals
float isNeutralParticleVetoed(const reco::PFCandidate *pfIsoCand)
void setDeltaRVetoEndcap(Bool_t bValue=kTRUE)
float fRectangleDeltaPhiVetoEndcapCharged
void setDeltaRVetoBarrelNeutrals(float fValue=-1.0)