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.20 by bendavid, Fri May 25 19:41:11 2012 UTC vs.
Revision 1.24 by fabstoec, Thu Aug 2 12:30:55 2012 UTC

# Line 82 | Line 82 | namespace mithep {
82         kEEhighEtaBad
83       };
84      
85 +     enum ShowerShapeScales {
86 +       kNoShowerShapeScaling = 0,
87 +       k2011ShowerShape,
88 +       k2012ShowerShape
89 +     };
90  
91      static eScaleCats EScaleCat(const Photon *p);
92  
# Line 92 | Line 97 | namespace mithep {
97      static void ScalePhotonR9(Photon *p, Double_t scale);
98      static void ScalePhotonError(Photon *p, Double_t scale);
99  
100 +    static void ScalePhotonShowerShapes(Photon *p, ShowerShapeScales scale);
101 +
102 +
103      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);
104      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);
105 +    static Bool_t       PassSinglePhotonPreselPFISO_NoTrigger(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);
106      static Bool_t       PassConversionId(const Photon *p, const DecayParticle *c);
107      static Bool_t       PassElectronVeto(const Photon *p, const ElectronCol *els);
108      static Double_t     ElectronVetoCiC(const Photon *p, const ElectronCol *els);
# Line 134 | Line 143 | namespace mithep {
143                                   bool print = false, float* kin=NULL);
144  
145      static bool PassCiCPFIsoSelection(const Photon* ph,
146 <                                 const Vertex* vtx,
147 <                                 const PFCandidateCol*    pfCol,
148 <                                 const VertexCol*   vtxCol,
149 <                                 double rho, double ptmin);                                
150 <                                
146 >                                      const Vertex* vtx,
147 >                                      const PFCandidateCol*    pfCol,
148 >                                      const VertexCol*   vtxCol,
149 >                                      double rho, double ptmin,
150 >                                      std::vector<double>* kin = NULL);                                
151 >    
152 >    static bool PassVgamma2011Selection(const Photon* ph, double rho);
153 >
154      static const MCParticle *MatchMC(const Particle *ph, const MCParticleCol *c, Bool_t matchElectrons = kFALSE);
155      ClassDef(PhotonTools, 0) // Muon tools
156        };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines