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.23 by fabstoec, Wed Jul 25 15:00:42 2012 UTC vs.
Revision 1.27 by mingyang, Mon Feb 11 13:26:41 2013 UTC

# Line 74 | Line 74 | namespace mithep {
74         kEBlowEtaGoldCenter = 0,
75         kEBlowEtaGoldGap,
76         kEBlowEtaBad,
77 +       kEBlowEtaBadCenter,
78 +       kEBlowEtaBadGap,
79         kEBhighEtaGold,
80         kEBhighEtaBad,
81         kEElowEtaGold,
# Line 81 | Line 83 | namespace mithep {
83         kEEhighEtaGold,
84         kEEhighEtaBad
85       };
86 <    
86 >      
87       enum ShowerShapeScales {
88         kNoShowerShapeScaling = 0,
89         k2011ShowerShape,
# Line 89 | Line 91 | namespace mithep {
91       };
92  
93      static eScaleCats EScaleCat(const Photon *p);
94 +    static eScaleCats EScaleCatHCP(const Photon *p);
95  
96      // Methods for scaling/smearing Photons
97      static void ScalePhoton(Photon* p, Double_t scale);
# Line 102 | Line 105 | namespace mithep {
105  
106      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);
107      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);
108 +    static Bool_t       PassSinglePhotonPreselPFISONoEcal(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);
109 +    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);
110      static Bool_t       PassConversionId(const Photon *p, const DecayParticle *c);
111      static Bool_t       PassElectronVeto(const Photon *p, const ElectronCol *els);
112      static Double_t     ElectronVetoCiC(const Photon *p, const ElectronCol *els);
# Line 123 | Line 128 | namespace mithep {
128      
129      static const DecayParticle *MatchedCiCConversion(const Photon *p, const DecayParticleCol *conversions,
130                                                       Double_t dPhiMin=0.1, Double_t dEtaMin=0.1,Double_t dRMin=0.1,
131 <                                                     bool print = false);
131 >                                                     bool print   = false,
132 >                                                     int* numLegs = NULL, int* convIdx = NULL);  // for debugging
133  
134                                                      
135      static const Electron *MatchedElectron(const Photon *p, const ElectronCol *els);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines