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.26 by ceballos, Fri Apr 27 21:06:51 2012 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines