CMS 3D CMS Logo

PFIsolationEstimator.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------------------------------
2 // $Id $
3 //
4 // PFIsolationEstimator
5 //
6 // Helper Class for calculating PFIsolation for Photons & Electron onthe fly. This class takes
7 // PF Particle collection and the reconstructed vertex collection as input.
8 //
9 // Authors: Vasundhara Chetluru
10 //--------------------------------------------------------------------------------------------------
11 
16 
17 //#define STANDALONE // <---- this line
18 
19 #ifndef PFIsolationEstimator_H
20 #define PFIsolationEstimator_H
21 
22 #ifndef STANDALONE
28 #endif
29 #include <TROOT.h>
30 #include "TMVA/Factory.h"
31 #include "TMVA/Tools.h"
32 #include "TMVA/Reader.h"
33 #include "TH1.h"
34 #include "TH2.h"
35 
42 
45 
47 
50 
52 public:
55 
56  enum VetoType {
57  kElectron = -1, // MVA for non-triggering electrons
58  kPhoton = 1 // MVA for triggering electrons
59  };
60 
65  void initializeRings(int iNumberOfRings, float fRingSize);
66  Bool_t isInitialized() const { return fisInitialized; }
67 
68  float fGetIsolation(const reco::PFCandidate* pfCandidate,
69  const reco::PFCandidateCollection* pfParticlesColl,
72  std::vector<float> fGetIsolationInRings(const reco::PFCandidate* pfCandidate,
73  const reco::PFCandidateCollection* pfParticlesColl,
76 
77  float fGetIsolation(const reco::Photon* photon,
78  const reco::PFCandidateCollection* pfParticlesColl,
81  std::vector<float> fGetIsolationInRings(const reco::Photon* photon,
82  const reco::PFCandidateCollection* pfParticlesColl,
85 
87  const reco::PFCandidateCollection* pfParticlesColl,
88  const reco::VertexRef vtx,
90  std::vector<float> fGetIsolationInRings(const reco::GsfElectron* electron,
91  const reco::PFCandidateCollection* pfParticlesColl,
94 
96 
97  void setConeSize(float fValue = 0.4) { fConeSize = fValue; };
98 
99  void setParticleType(int iValue) { iParticleType = iValue; };
100 
101  //Veto booleans
102  void setApplyVeto(Bool_t bValue = kTRUE) { bApplyVeto = bValue; };
103  void setApplyPFPUVeto(Bool_t bValue = kFALSE) { bApplyPFPUVeto = bValue; };
104  void setApplyDzDxyVeto(Bool_t bValue = kTRUE) { bApplyDzDxyVeto = bValue; };
105  void setApplyMissHitPhVeto(Bool_t bValue = kFALSE) { bApplyMissHitPhVeto = bValue; };
106  void setDeltaRVetoBarrel(Bool_t bValue = kTRUE) { bDeltaRVetoBarrel = bValue; };
107  void setDeltaRVetoEndcap(Bool_t bValue = kTRUE) { bDeltaRVetoEndcap = bValue; };
108  void setRectangleVetoBarrel(Bool_t bValue = kTRUE) { bRectangleVetoBarrel = bValue; };
109  void setRectangleVetoEndcap(Bool_t bValue = kTRUE) { bRectangleVetoEndcap = bValue; };
110  //Use crystal size
111  void setUseCrystalSize(Bool_t bValue = kFALSE) { bUseCrystalSize = bValue; };
112 
113  //Veto Values
114  void setDeltaRVetoBarrelPhotons(float fValue = -1.0) { fDeltaRVetoBarrelPhotons = fValue; };
115  void setDeltaRVetoBarrelNeutrals(float fValue = -1.0) { fDeltaRVetoBarrelNeutrals = fValue; };
116  void setDeltaRVetoBarrelCharged(float fValue = -1.0) { fDeltaRVetoBarrelCharged = fValue; };
117  void setDeltaRVetoEndcapPhotons(float fValue = -1.0) { fDeltaRVetoEndcapPhotons = fValue; };
118  void setDeltaRVetoEndcapNeutrals(float fValue = -1.0) { fDeltaRVetoEndcapNeutrals = fValue; };
119  void setDeltaRVetoEndcapCharged(float fValue = -1.0) { fDeltaRVetoEndcapCharged = fValue; };
120  void setNumberOfCrystalEndcapPhotons(float fValue = -1) { fNumberOfCrystalEndcapPhotons = fValue; };
121 
128 
135 
136  //Veto implementation
137  float isPhotonParticleVetoed(const reco::PFCandidate* pfIsoCand);
138  float isNeutralParticleVetoed(const reco::PFCandidate* pfIsoCand);
140  float isChargedParticleVetoed(const reco::PFCandidate* pfIsoCand,
143 
146  return fIsolationPhoton;
147  };
150  return fIsolationNeutral;
151  };
154  return fIsolationCharged;
155  };
157 
158  std::vector<float> getIsolationInRingsPhoton() { return fIsolationInRingsPhoton; };
159  std::vector<float> getIsolationInRingsNeutral() { return fIsolationInRingsNeutral; };
160  std::vector<float> getIsolationInRingsCharged() { return fIsolationInRingsCharged; };
162 
163  void setNumbersOfRings(int iValue = 1) { iNumberOfRings = iValue; };
164  void setRingSize(float fValue = 0.4) { fRingSize = fValue; };
165 
167  float getRingSize() { return fRingSize; };
168 
169  int matchPFObject(const reco::Photon* photon, const reco::PFCandidateCollection* pfParticlesColl);
170  int matchPFObject(const reco::GsfElectron* photon, const reco::PFCandidateCollection* pfParticlesColl);
171 
172 private:
174 
176  float fIsolation;
181 
182  std::vector<float> fIsolationInRings;
183  std::vector<float> fIsolationInRingsPhoton;
184  std::vector<float> fIsolationInRingsNeutral;
185  std::vector<float> fIsolationInRingsCharged;
186  std::vector<float> fIsolationInRingsChargedAll;
187 
189  float fConeSize;
190  Bool_t bApplyVeto;
195 
198 
201 
205 
209 
211 
215 
219 
223 
227 
230 
231  float fRingSize;
232 
233  float fDeltaR;
234  float fDeltaEta;
235  float fDeltaPhi;
236 
237  float fEta;
238  float fPhi;
239  float fEtaSC;
240  float fPhiSC;
241 
242  float fPt;
243  float fVx;
244  float fVy;
245  float fVz;
246 
249 
251 
252  void initialize(Bool_t bApplyVeto, int iParticleType);
253 };
254 
255 #endif
muons2muons_cfi.photon
photon
Definition: muons2muons_cfi.py:28
PFIsolationEstimator::fRectangleDeltaPhiVetoBarrelCharged
float fRectangleDeltaPhiVetoBarrelCharged
Definition: PFIsolationEstimator.h:214
PFIsolationEstimator::kElectron
Definition: PFIsolationEstimator.h:57
PFIsolationEstimator::setNumberOfCrystalEndcapPhotons
void setNumberOfCrystalEndcapPhotons(float fValue=-1)
Definition: PFIsolationEstimator.h:120
PFIsolationEstimator::fIsolationInRingsNeutral
std::vector< float > fIsolationInRingsNeutral
Definition: PFIsolationEstimator.h:184
PFIsolationEstimator::fRectangleDeltaPhiVetoEndcapNeutrals
float fRectangleDeltaPhiVetoEndcapNeutrals
Definition: PFIsolationEstimator.h:217
PFIsolationEstimator::fIsolationInRingsPhoton
std::vector< float > fIsolationInRingsPhoton
Definition: PFIsolationEstimator.h:183
PFIsolationEstimator::setRectangleDeltaPhiVetoBarrelNeutrals
void setRectangleDeltaPhiVetoBarrelNeutrals(float fValue=-1.0)
Definition: PFIsolationEstimator.h:123
PFIsolationEstimator::fRectangleDeltaEtaVetoEndcapPhotons
float fRectangleDeltaEtaVetoEndcapPhotons
Definition: PFIsolationEstimator.h:224
PFIsolationEstimator::refSC
reco::SuperClusterRef refSC
Definition: PFIsolationEstimator.h:247
PFIsolationEstimator::setRingSize
void setRingSize(float fValue=0.4)
Definition: PFIsolationEstimator.h:164
PFIsolationEstimator::initializePhotonIsolation
void initializePhotonIsolation(Bool_t bApplyVeto)
Definition: PFIsolationEstimator.cc:134
PFIsolationEstimator::fIsolationInRingsChargedAll
std::vector< float > fIsolationInRingsChargedAll
Definition: PFIsolationEstimator.h:186
PFCandidate.h
PFIsolationEstimator::fVx
float fVx
Definition: PFIsolationEstimator.h:243
PFIsolationEstimator::fIsolationNeutral
float fIsolationNeutral
Definition: PFIsolationEstimator.h:178
PFIsolationEstimator::setRectangleDeltaEtaVetoBarrelNeutrals
void setRectangleDeltaEtaVetoBarrelNeutrals(float fValue=-1.0)
Definition: PFIsolationEstimator.h:130
PFIsolationEstimator::setDeltaRVetoEndcapNeutrals
void setDeltaRVetoEndcapNeutrals(float fValue=-1.0)
Definition: PFIsolationEstimator.h:118
PFIsolationEstimator::fRingSize
float fRingSize
Definition: PFIsolationEstimator.h:231
PFIsolationEstimator::setParticleType
void setParticleType(int iValue)
Definition: PFIsolationEstimator.h:99
PFIsolationEstimator::setRectangleDeltaPhiVetoEndcapPhotons
void setRectangleDeltaPhiVetoEndcapPhotons(float fValue=-1.0)
Definition: PFIsolationEstimator.h:125
PFIsolationEstimator::fVz
float fVz
Definition: PFIsolationEstimator.h:245
PFIsolationEstimator::bUseCrystalSize
Bool_t bUseCrystalSize
Definition: PFIsolationEstimator.h:194
PFIsolationEstimator::setRectangleDeltaEtaVetoEndcapCharged
void setRectangleDeltaEtaVetoEndcapCharged(float fValue=-1.0)
Definition: PFIsolationEstimator.h:134
PhotonFwd.h
PFIsolationEstimator::setConeSize
void setConeSize(float fValue=0.4)
Definition: PFIsolationEstimator.h:97
EcalClusterLazyTools.h
PFIsolationEstimator::bApplyDzDxyVeto
Bool_t bApplyDzDxyVeto
Definition: PFIsolationEstimator.h:191
PFIsolationEstimator::setRectangleDeltaEtaVetoEndcapNeutrals
void setRectangleDeltaEtaVetoEndcapNeutrals(float fValue=-1.0)
Definition: PFIsolationEstimator.h:133
PFIsolationEstimator::fDeltaRVetoBarrelCharged
float fDeltaRVetoBarrelCharged
Definition: PFIsolationEstimator.h:204
PFIsolationEstimator::initializeElectronIsolation
void initializeElectronIsolation(Bool_t bApplyVeto)
Definition: PFIsolationEstimator.cc:119
edm::Handle< reco::VertexCollection >
PFIsolationEstimator::setRectangleDeltaEtaVetoBarrelPhotons
void setRectangleDeltaEtaVetoBarrelPhotons(float fValue=-1.0)
Definition: PFIsolationEstimator.h:129
PFIsolationEstimator::setRectangleVetoEndcap
void setRectangleVetoEndcap(Bool_t bValue=kTRUE)
Definition: PFIsolationEstimator.h:109
AlignmentTracksFromVertexSelector_cfi.vertices
vertices
Definition: AlignmentTracksFromVertexSelector_cfi.py:5
PFIsolationEstimator::fDeltaEta
float fDeltaEta
Definition: PFIsolationEstimator.h:234
PFIsolationEstimator::fIsolationInRings
std::vector< float > fIsolationInRings
Definition: PFIsolationEstimator.h:182
PileUpPFCandidate.h
PFIsolationEstimator::fDeltaRVetoEndcapNeutrals
float fDeltaRVetoEndcapNeutrals
Definition: PFIsolationEstimator.h:207
PFIsolationEstimator::getIsolationChargedAll
float getIsolationChargedAll()
Definition: PFIsolationEstimator.h:156
edm::Ref< VertexCollection >
pfDeepBoostedJetPreprocessParams_cfi.pfcand
pfcand
Definition: pfDeepBoostedJetPreprocessParams_cfi.py:8
PFIsolationEstimator::getIsolationPhoton
float getIsolationPhoton()
Definition: PFIsolationEstimator.h:144
PFIsolationEstimator::fDeltaRVetoEndcapPhotons
float fDeltaRVetoEndcapPhotons
Definition: PFIsolationEstimator.h:206
PFIsolationEstimator::fIsolationCharged
float fIsolationCharged
Definition: PFIsolationEstimator.h:179
PFIsolationEstimator::fDeltaRVetoBarrelNeutrals
float fDeltaRVetoBarrelNeutrals
Definition: PFIsolationEstimator.h:203
PFIsolationEstimator::bRectangleVetoEndcap
Bool_t bRectangleVetoEndcap
Definition: PFIsolationEstimator.h:200
Photon.h
PFIsolationEstimator::initializeRings
void initializeRings(int iNumberOfRings, float fRingSize)
Definition: PFIsolationEstimator.cc:152
PFIsolationEstimator::chargedHadronVertex
reco::VertexRef chargedHadronVertex(edm::Handle< reco::VertexCollection > verticies, const reco::PFCandidate &pfcand)
Definition: PFIsolationEstimator.cc:639
PFIsolationEstimator::fPhiSC
float fPhiSC
Definition: PFIsolationEstimator.h:240
PFIsolationEstimator::fGetIsolationInRings
std::vector< float > fGetIsolationInRings(const reco::PFCandidate *pfCandidate, const reco::PFCandidateCollection *pfParticlesColl, reco::VertexRef vtx, edm::Handle< reco::VertexCollection > vertices)
Definition: PFIsolationEstimator.cc:190
PFIsolationEstimator::fisInitialized
Bool_t fisInitialized
Definition: PFIsolationEstimator.h:175
PFIsolationEstimator::setUseCrystalSize
void setUseCrystalSize(Bool_t bValue=kFALSE)
Definition: PFIsolationEstimator.h:111
PFIsolationEstimator::setRectangleDeltaEtaVetoEndcapPhotons
void setRectangleDeltaEtaVetoEndcapPhotons(float fValue=-1.0)
Definition: PFIsolationEstimator.h:132
PFIsolationEstimator::fIsolationChargedAll
float fIsolationChargedAll
Definition: PFIsolationEstimator.h:180
PFIsolationEstimator::setRectangleDeltaPhiVetoEndcapNeutrals
void setRectangleDeltaPhiVetoEndcapNeutrals(float fValue=-1.0)
Definition: PFIsolationEstimator.h:126
PFIsolationEstimator::fRectangleDeltaEtaVetoEndcapNeutrals
float fRectangleDeltaEtaVetoEndcapNeutrals
Definition: PFIsolationEstimator.h:225
PFIsolationEstimator::PFIsolationEstimator
PFIsolationEstimator()
Definition: PFIsolationEstimator.cc:24
PFIsolationEstimator::bDeltaRVetoEndcap
Bool_t bDeltaRVetoEndcap
Definition: PFIsolationEstimator.h:197
PFIsolationEstimator::getIsolationCharged
float getIsolationCharged()
Definition: PFIsolationEstimator.h:152
PFIsolationEstimator::setDeltaRVetoBarrelPhotons
void setDeltaRVetoBarrelPhotons(float fValue=-1.0)
Definition: PFIsolationEstimator.h:114
PileUpPFCandidateFwd.h
PFIsolationEstimator::checkClosestZVertex
Bool_t checkClosestZVertex
Definition: PFIsolationEstimator.h:188
PFIsolationEstimator::setNumbersOfRings
void setNumbersOfRings(int iValue=1)
Definition: PFIsolationEstimator.h:163
PFIsolationEstimator::fDeltaPhi
float fDeltaPhi
Definition: PFIsolationEstimator.h:235
PFIsolationEstimator::getIsolationInRingsChargedAll
std::vector< float > getIsolationInRingsChargedAll()
Definition: PFIsolationEstimator.h:161
PFIsolationEstimator::setApplyDzDxyVeto
void setApplyDzDxyVeto(Bool_t bValue=kTRUE)
Definition: PFIsolationEstimator.h:104
PFIsolationEstimator::fVy
float fVy
Definition: PFIsolationEstimator.h:244
PFIsolationEstimator::getIsolationInRingsNeutral
std::vector< float > getIsolationInRingsNeutral()
Definition: PFIsolationEstimator.h:159
PFIsolationEstimator::isPhotonParticleVetoed
float isPhotonParticleVetoed(const reco::PFCandidate *pfIsoCand)
Definition: PFIsolationEstimator.cc:422
reco::GsfElectron
Definition: GsfElectron.h:35
PFIsolationEstimator::setApplyPFPUVeto
void setApplyPFPUVeto(Bool_t bValue=kFALSE)
Definition: PFIsolationEstimator.h:103
PFIsolationEstimator::getIsolationInRingsCharged
std::vector< float > getIsolationInRingsCharged()
Definition: PFIsolationEstimator.h:160
GsfElectron.h
PFIsolationEstimator::setDeltaRVetoBarrelCharged
void setDeltaRVetoBarrelCharged(float fValue=-1.0)
Definition: PFIsolationEstimator.h:116
PFIsolationEstimator::fIsolationPhoton
float fIsolationPhoton
Definition: PFIsolationEstimator.h:177
PFIsolationEstimator::fNumberOfCrystalEndcapPhotons
float fNumberOfCrystalEndcapPhotons
Definition: PFIsolationEstimator.h:210
PFIsolationEstimator::fEta
float fEta
Definition: PFIsolationEstimator.h:237
GsfElectronFwd.h
TransientTrackBuilder.h
PFIsolationEstimator::bApplyVeto
Bool_t bApplyVeto
Definition: PFIsolationEstimator.h:190
PFIsolationEstimator::setDeltaRVetoEndcapCharged
void setDeltaRVetoEndcapCharged(float fValue=-1.0)
Definition: PFIsolationEstimator.h:119
PFIsolationEstimator::fRectangleDeltaEtaVetoBarrelPhotons
float fRectangleDeltaEtaVetoBarrelPhotons
Definition: PFIsolationEstimator.h:220
PFIsolationEstimator::fDeltaRVetoBarrelPhotons
float fDeltaRVetoBarrelPhotons
Definition: PFIsolationEstimator.h:202
PFIsolationEstimator::fConeSize
float fConeSize
Definition: PFIsolationEstimator.h:189
PFIsolationEstimator::fIsolation
float fIsolation
Definition: PFIsolationEstimator.h:176
math::XYZVector
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition: Vector3D.h:31
PFIsolationEstimator::fDeltaR
float fDeltaR
Definition: PFIsolationEstimator.h:233
PFIsolationEstimator::fGetIsolation
float fGetIsolation(const reco::PFCandidate *pfCandidate, const reco::PFCandidateCollection *pfParticlesColl, reco::VertexRef vtx, edm::Handle< reco::VertexCollection > vertices)
Definition: PFIsolationEstimator.cc:178
PFIsolationEstimator::initializePhotonIsolationInRings
void initializePhotonIsolationInRings(Bool_t bApplyVeto, int iNumberOfRings, float fRingSize)
Definition: PFIsolationEstimator.cc:146
PFIsolationEstimator::getNumbersOfRings
int getNumbersOfRings()
Definition: PFIsolationEstimator.h:166
PFIsolationEstimator::iParticleType
int iParticleType
Definition: PFIsolationEstimator.h:173
PFIsolationEstimator::fRectangleDeltaEtaVetoBarrelCharged
float fRectangleDeltaEtaVetoBarrelCharged
Definition: PFIsolationEstimator.h:222
PFIsolationEstimator::initializeElectronIsolationInRings
void initializeElectronIsolationInRings(Bool_t bApplyVeto, int iNumberOfRings, float fRingSize)
Definition: PFIsolationEstimator.cc:140
PFIsolationEstimator::getIsolationNeutral
float getIsolationNeutral()
Definition: PFIsolationEstimator.h:148
PFIsolationEstimator::setRectangleDeltaPhiVetoBarrelPhotons
void setRectangleDeltaPhiVetoBarrelPhotons(float fValue=-1.0)
Definition: PFIsolationEstimator.h:122
PFIsolationEstimator::iMissHits
int iMissHits
Definition: PFIsolationEstimator.h:229
PFIsolationEstimator::VetoType
VetoType
Definition: PFIsolationEstimator.h:56
HPSPFTauProducerPuppi_cfi.electron
electron
Definition: HPSPFTauProducerPuppi_cfi.py:13
PFIsolationEstimator::initialize
void initialize(Bool_t bApplyVeto, int iParticleType)
Definition: PFIsolationEstimator.cc:32
PFIsolationEstimator::fRectangleDeltaPhiVetoBarrelPhotons
float fRectangleDeltaPhiVetoBarrelPhotons
Definition: PFIsolationEstimator.h:212
PFIsolationEstimator::fDeltaRVetoEndcapCharged
float fDeltaRVetoEndcapCharged
Definition: PFIsolationEstimator.h:208
PFIsolationEstimator::kPhoton
Definition: PFIsolationEstimator.h:58
PFIsolationEstimator
Definition: PFIsolationEstimator.h:51
VertexFwd.h
PFIsolationEstimator::pivotInBarrel
bool pivotInBarrel
Definition: PFIsolationEstimator.h:248
reco::Photon
Definition: Photon.h:22
PFIsolationEstimator::bRectangleVetoBarrel
Bool_t bRectangleVetoBarrel
Definition: PFIsolationEstimator.h:199
PFIsolationEstimator::setRectangleVetoBarrel
void setRectangleVetoBarrel(Bool_t bValue=kTRUE)
Definition: PFIsolationEstimator.h:108
PFIsolationEstimator::bApplyMissHitPhVeto
Bool_t bApplyMissHitPhVeto
Definition: PFIsolationEstimator.h:193
PFIsolationEstimator::setApplyVeto
void setApplyVeto(Bool_t bValue=kTRUE)
Definition: PFIsolationEstimator.h:102
PFIsolationEstimator::fIsolationInRingsCharged
std::vector< float > fIsolationInRingsCharged
Definition: PFIsolationEstimator.h:185
PFIsolationEstimator::setRectangleDeltaPhiVetoBarrelCharged
void setRectangleDeltaPhiVetoBarrelCharged(float fValue=-1.0)
Definition: PFIsolationEstimator.h:124
PFIsolationEstimator::fRectangleDeltaPhiVetoBarrelNeutrals
float fRectangleDeltaPhiVetoBarrelNeutrals
Definition: PFIsolationEstimator.h:213
PFIsolationEstimator::isInitialized
Bool_t isInitialized() const
Definition: PFIsolationEstimator.h:66
PFIsolationEstimator::setRectangleDeltaPhiVetoEndcapCharged
void setRectangleDeltaPhiVetoEndcapCharged(float fValue=-1.0)
Definition: PFIsolationEstimator.h:127
extraflags_cff.vtx
vtx
Definition: extraflags_cff.py:19
Vertex.h
PFIsolationEstimator::fEtaSC
float fEtaSC
Definition: PFIsolationEstimator.h:239
PFIsolationEstimator::fRectangleDeltaPhiVetoEndcapPhotons
float fRectangleDeltaPhiVetoEndcapPhotons
Definition: PFIsolationEstimator.h:216
PFIsolationEstimator::fRectangleDeltaEtaVetoEndcapCharged
float fRectangleDeltaEtaVetoEndcapCharged
Definition: PFIsolationEstimator.h:226
PFIsolationEstimator::setApplyMissHitPhVeto
void setApplyMissHitPhVeto(Bool_t bValue=kFALSE)
Definition: PFIsolationEstimator.h:105
PFIsolationEstimator::getIsolationInRingsPhoton
std::vector< float > getIsolationInRingsPhoton()
Definition: PFIsolationEstimator.h:158
reco::PFCandidateCollection
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
Definition: PFCandidateFwd.h:12
PFIsolationEstimator::~PFIsolationEstimator
~PFIsolationEstimator()
Definition: PFIsolationEstimator.cc:29
PFIsolationEstimator::setDeltaRVetoEndcapPhotons
void setDeltaRVetoEndcapPhotons(float fValue=-1.0)
Definition: PFIsolationEstimator.h:117
PFIsolationEstimator::setDeltaRVetoBarrel
void setDeltaRVetoBarrel(Bool_t bValue=kTRUE)
Definition: PFIsolationEstimator.h:106
PFIsolationEstimator::setRectangleDeltaEtaVetoBarrelCharged
void setRectangleDeltaEtaVetoBarrelCharged(float fValue=-1.0)
Definition: PFIsolationEstimator.h:131
PFIsolationEstimator::fPt
float fPt
Definition: PFIsolationEstimator.h:242
reco::PFCandidate
Particle reconstructed by the particle flow algorithm.
Definition: PFCandidate.h:41
PFIsolationEstimator::vtxWRTCandidate
math::XYZVector vtxWRTCandidate
Definition: PFIsolationEstimator.h:250
PFIsolationEstimator::isChargedParticleVetoed
float isChargedParticleVetoed(const reco::PFCandidate *pfIsoCand, edm::Handle< reco::VertexCollection > vertices)
Definition: PFIsolationEstimator.cc:530
PFIsolationEstimator::matchPFObject
int matchPFObject(const reco::Photon *photon, const reco::PFCandidateCollection *pfParticlesColl)
Definition: PFIsolationEstimator.cc:703
PFIsolationEstimator::fRectangleDeltaEtaVetoBarrelNeutrals
float fRectangleDeltaEtaVetoBarrelNeutrals
Definition: PFIsolationEstimator.h:221
PFIsolationEstimator::isNeutralParticleVetoed
float isNeutralParticleVetoed(const reco::PFCandidate *pfIsoCand)
Definition: PFIsolationEstimator.cc:480
PFIsolationEstimator::setDeltaRVetoEndcap
void setDeltaRVetoEndcap(Bool_t bValue=kTRUE)
Definition: PFIsolationEstimator.h:107
PFIsolationEstimator::bApplyPFPUVeto
Bool_t bApplyPFPUVeto
Definition: PFIsolationEstimator.h:192
PFIsolationEstimator::bDeltaRVetoBarrel
Bool_t bDeltaRVetoBarrel
Definition: PFIsolationEstimator.h:196
PFIsolationEstimator::fRectangleDeltaPhiVetoEndcapCharged
float fRectangleDeltaPhiVetoEndcapCharged
Definition: PFIsolationEstimator.h:218
PFIsolationEstimator::fPhi
float fPhi
Definition: PFIsolationEstimator.h:238
PFCandidateFwd.h
PFIsolationEstimator::iNumberOfRings
int iNumberOfRings
Definition: PFIsolationEstimator.h:228
PFIsolationEstimator::getRingSize
float getRingSize()
Definition: PFIsolationEstimator.h:167
PFIsolationEstimator::setDeltaRVetoBarrelNeutrals
void setDeltaRVetoBarrelNeutrals(float fValue=-1.0)
Definition: PFIsolationEstimator.h:115