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.11 by bendavid, Thu Sep 8 15:51:23 2011 UTC vs.
Revision 1.18 by bendavid, Fri May 18 16:20:33 2012 UTC

# Line 67 | Line 67 | namespace mithep {
67         kCiCCat3,
68         kCiCCat4
69       };    
70 +    
71 +     enum eScaleCats {
72 +       kEBlowEtaGoldCenter = 0,
73 +       kEBlowEtaGoldGap,
74 +       kEBlowEtaBad,
75 +       kEBhighEtaGold,
76 +       kEBhighEtaBad,
77 +       kEElowEtaGold,
78 +       kEElowEtaBad,
79 +       kEEhighEtaGold,
80 +       kEEhighEtaBad
81 +     };
82 +    
83 +
84 +    static eScaleCats EScaleCat(const Photon *p);
85  
86      // Methods for scaling/smearing Photons
87      static void ScalePhoton(Photon* p, Double_t scale);
88      static void SmearPhoton(Photon* p, TRandom3* rng, Double_t width, UInt_t iSeed);
89      static void SmearPhotonError(Photon* p, Double_t width);
90 +    static void ScalePhotonR9(Photon *p, Double_t scale);
91 +    static void ScalePhotonError(Photon *p, Double_t scale);
92  
93 <    
93 >    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);
94      static Bool_t       PassConversionId(const Photon *p, const DecayParticle *c);
95      static Bool_t       PassElectronVeto(const Photon *p, const ElectronCol *els);
96      static Double_t     ElectronVetoCiC(const Photon *p, const ElectronCol *els);
# Line 101 | Line 118 | namespace mithep {
118      static const Electron *MatchedElectron(const Photon *p, const ElectronCol *els);
119      static const Photon *MatchedPhoton(const Electron *e, const PhotonCol *phs);
120      static const SuperCluster *MatchedSC(const SuperCluster *psc, const SuperClusterCol *scs, Double_t drMin=0.3);
121 <                                                    
121 >
122 >    static const SuperCluster *MatchedPFSC(const SuperCluster *psc, const PhotonCol *pfphos, const ElectronCol *eles, Double_t drMin=0.1);
123 >    
124      static bool PassCiCSelection(const Photon* ph,
125                                   const Vertex* vtx,
126                                   const TrackCol*    trackCol,
# Line 113 | Line 132 | namespace mithep {
132  
133                                  
134      static const MCParticle *MatchMC(const Particle *ph, const MCParticleCol *c, Bool_t matchElectrons = kFALSE);
116    
135      ClassDef(PhotonTools, 0) // Muon tools
136        };
137   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines