ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Utils/interface/PhotonTools.h
(Generate patch)

Comparing UserCode/MitPhysics/Utils/interface/PhotonTools.h (file contents):
Revision 1.18 by bendavid, Fri May 18 16:20:33 2012 UTC vs.
Revision 1.20 by bendavid, Fri May 25 19:41:11 2012 UTC

# Line 26 | Line 26
26   #include "MitAna/DataTree/interface/SuperClusterCol.h"
27   #include "MitCommon/MathTools/interface/MathUtils.h"
28  
29 + #include "MitAna/DataTree/interface/PFCandidateCol.h"
30 +
31   class TRandom3;
32  
33   namespace mithep {
# Line 91 | Line 93 | namespace mithep {
93      static void ScalePhotonError(Photon *p, Double_t scale);
94  
95      static Bool_t       PassSinglePhotonPresel(const Photon *p,const ElectronCol *els, const DecayParticleCol *conversions, const BaseVertex *bs, const TrackCol* trackCol, const Vertex *vtx, double rho, Bool_t applyElectronVeto = kTRUE, Bool_t invertElectronVeto = kFALSE);
96 +    static Bool_t       PassSinglePhotonPreselPFISO(const Photon *p,const ElectronCol *els, const DecayParticleCol *conversions, const BaseVertex *bs, const TrackCol* trackCol,const Vertex *vtx, double rho, const PFCandidateCol *fPFCands, Bool_t applyElectronVeto = kTRUE, Bool_t invertElectronVeto = kFALSE);
97      static Bool_t       PassConversionId(const Photon *p, const DecayParticle *c);
98      static Bool_t       PassElectronVeto(const Photon *p, const ElectronCol *els);
99      static Double_t     ElectronVetoCiC(const Photon *p, const ElectronCol *els);
# Line 130 | Line 133 | namespace mithep {
133                                   bool applyEleVeto = true,
134                                   bool print = false, float* kin=NULL);
135  
136 +    static bool PassCiCPFIsoSelection(const Photon* ph,
137 +                                 const Vertex* vtx,
138 +                                 const PFCandidateCol*    pfCol,
139 +                                 const VertexCol*   vtxCol,
140 +                                 double rho, double ptmin);                                
141                                  
142      static const MCParticle *MatchMC(const Particle *ph, const MCParticleCol *c, Bool_t matchElectrons = kFALSE);
143      ClassDef(PhotonTools, 0) // Muon tools

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines