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

Comparing UserCode/MitPhysics/Utils/interface/ElectronTools.h (file contents):
Revision 1.23 by sixie, Sat Dec 31 23:17:40 2011 UTC vs.
Revision 1.24 by sixie, Sun Apr 15 12:06:26 2012 UTC

# Line 78 | Line 78 | namespace mithep {
78          kEleNeutralHadronIso007,
79          kEleHoverE,
80          kEleHcalDepth1OverEcal,
81 <        kEleHcalDepth2OverEcal    
81 >        kEleHcalDepth2OverEcal,
82 >        kEleGammaIsoDR0p0To0p1,
83 >        kEleGammaIsoDR0p1To0p2,
84 >        kEleGammaIsoDR0p2To0p3,
85 >        kEleGammaIsoDR0p3To0p4,
86 >        kEleGammaIsoDR0p4To0p5,
87 >        kEleNeutralHadronIsoDR0p0To0p1,
88 >        kEleNeutralHadronIsoDR0p1To0p2,
89 >        kEleNeutralHadronIsoDR0p2To0p3,
90 >        kEleNeutralHadronIsoDR0p3To0p4,
91 >        kEleNeutralHadronIsoDR0p4To0p5
92        };
93        
94 +      enum EElectronEffectiveAreaTarget {
95 +        kEleEANoCorr,
96 +        kEleEAData2011,
97 +        kEleEASummer11MC,
98 +        kEleEAFall11MC
99 +      };
100 +
101        static Bool_t       PassChargeFilter(const Electron *el);
102        static Bool_t       PassConversionFilter(const Electron *el, const DecayParticleCol *conversions,
103                                                 const BaseVertex *vtx, UInt_t nWrongHitsMax=0, Double_t probMin=1e-6,
# Line 99 | Line 116 | namespace mithep {
116                                        Double_t beta = 1.0);
117        static bool         compute_cut(double x, double et, double cut_min, double cut_max, bool gtn=false);
118        static Double_t     Likelihood(ElectronLikelihood *LH, const Electron *ele);
119 <      static Double_t     ElectronEffectiveArea(EElectronEffectiveAreaType type, Double_t Eta);
119 >      static Double_t     ElectronEffectiveArea(EElectronEffectiveAreaType type, Double_t Eta,
120 >                                                EElectronEffectiveAreaTarget EffectiveAreaTarget = kEleEAData2011);
121  
122      ClassDef(ElectronTools, 0) // Muon tools
123    };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines