20 #ifndef PFIsolationEstimator_H
21 #define PFIsolationEstimator_H
31 #include "TMVA/Factory.h"
32 #include "TMVA/Tools.h"
33 #include "TMVA/Reader.h"
69 void initializeElectronIsolation( Bool_t bApplyVeto);
70 void initializePhotonIsolation( Bool_t bApplyVeto);
71 void initializeElectronIsolationInRings( Bool_t bApplyVeto,
int iNumberOfRings,
float fRingSize );
72 void initializePhotonIsolationInRings( Bool_t bApplyVeto,
int iNumberOfRings,
float fRingSize );
73 void initializeRings(
int iNumberOfRings,
float fRingSize);
136 float getIsolationPhoton(){ fIsolationPhoton = fIsolationInRingsPhoton[0];
return fIsolationPhoton; };
137 float getIsolationNeutral(){ fIsolationNeutral = fIsolationInRingsNeutral[0];
return fIsolationNeutral; };
138 float getIsolationCharged(){ fIsolationCharged = fIsolationInRingsCharged[0];
return fIsolationCharged; };
238 void initialize( Bool_t bApplyVeto,
int iParticleType);
void setRectangleVetoEndcap(Bool_t bValue=kTRUE)
void setDeltaRVetoBarrel(Bool_t bValue=kTRUE)
float fRectangleDeltaPhiVetoEndcapNeutrals
static AlgebraicMatrix initialize()
float getIsolationPhoton()
vector< float > fIsolationInRingsCharged
void setNumberOfCrystalEndcapPhotons(float fValue=-1)
void setDeltaRVetoEndcap(Bool_t bValue=kTRUE)
float fDeltaRVetoEndcapPhotons
void setRectangleDeltaPhiVetoBarrelPhotons(float fValue=-1.0)
void setApplyMissHitPhVeto(Bool_t bValue=kFALSE)
float fIsolationChargedAll
float fRectangleDeltaPhiVetoBarrelNeutrals
float fRectangleDeltaEtaVetoEndcapCharged
vector< float > fIsolationInRingsChargedAll
float fDeltaRVetoBarrelPhotons
void setApplyDzDxyVeto(Bool_t bValue=kTRUE)
float fRectangleDeltaEtaVetoEndcapPhotons
vector< float > fIsolationInRings
float fRectangleDeltaEtaVetoBarrelCharged
float fRectangleDeltaPhiVetoBarrelCharged
void setNumbersOfRings(int iValue=1)
void setDeltaRVetoBarrelNeutrals(float fValue=-1.0)
math::XYZVector vtxWRTCandidate
void setDeltaRVetoEndcapNeutrals(float fValue=-1.0)
float fDeltaRVetoEndcapNeutrals
void setDeltaRVetoBarrelCharged(float fValue=-1.0)
void setDeltaRVetoEndcapPhotons(float fValue=-1.0)
void setApplyPFPUVeto(Bool_t bValue=kFALSE)
vector< float > getIsolationInRingsCharged()
void setRectangleVetoBarrel(Bool_t bValue=kTRUE)
void setRectangleDeltaEtaVetoBarrelNeutrals(float fValue=-1.0)
float fRectangleDeltaPhiVetoEndcapCharged
float fRectangleDeltaEtaVetoBarrelNeutrals
float fDeltaRVetoBarrelNeutrals
float getIsolationCharged()
vector< float > fIsolationInRingsNeutral
void setUseCrystalSize(Bool_t bValue=kFALSE)
void setParticleType(int iValue)
vector< float > getIsolationInRingsNeutral()
float fDeltaRVetoEndcapCharged
void setRectangleDeltaPhiVetoBarrelCharged(float fValue=-1.0)
void setRectangleDeltaPhiVetoEndcapNeutrals(float fValue=-1.0)
void setRectangleDeltaPhiVetoBarrelNeutrals(float fValue=-1.0)
float fRectangleDeltaPhiVetoBarrelPhotons
void setRectangleDeltaEtaVetoBarrelCharged(float fValue=-1.0)
vector< float > getIsolationInRingsChargedAll()
void setDeltaRVetoBarrelPhotons(float fValue=-1.0)
void setRectangleDeltaPhiVetoEndcapCharged(float fValue=-1.0)
Bool_t checkClosestZVertex
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
void setRectangleDeltaEtaVetoEndcapCharged(float fValue=-1.0)
float getIsolationChargedAll()
void setRectangleDeltaEtaVetoEndcapPhotons(float fValue=-1.0)
XYZVectorD XYZVector
spatial vector with cartesian internal representation
void setDeltaRVetoEndcapCharged(float fValue=-1.0)
Bool_t isInitialized() const
void setApplyVeto(Bool_t bValue=kTRUE)
void setRingSize(float fValue=0.4)
vector< float > getIsolationInRingsPhoton()
Particle reconstructed by the particle flow algorithm.
Bool_t bApplyMissHitPhVeto
float getIsolationNeutral()
float fRectangleDeltaEtaVetoEndcapNeutrals
void setRectangleDeltaPhiVetoEndcapPhotons(float fValue=-1.0)
void setRectangleDeltaEtaVetoBarrelPhotons(float fValue=-1.0)
float fRectangleDeltaEtaVetoBarrelPhotons
void setRectangleDeltaEtaVetoEndcapNeutrals(float fValue=-1.0)
void setConeSize(float fValue=0.4)
float fDeltaRVetoBarrelCharged
Bool_t bRectangleVetoEndcap
vector< float > fIsolationInRingsPhoton
Bool_t bRectangleVetoBarrel
float fRectangleDeltaPhiVetoEndcapPhotons
float fNumberOfCrystalEndcapPhotons