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.19 by sixie, Fri Jul 22 14:36:29 2011 UTC vs.
Revision 1.26 by ceballos, Fri Apr 27 21:06:51 2012 UTC

# Line 17 | Line 17
17   #include "MitAna/DataTree/interface/BeamSpotCol.h"
18   #include "MitAna/DataTree/interface/TriggerObjectCol.h"
19   #include "MitCommon/MathTools/interface/MathUtils.h"
20 + #include "MitPhysics/ElectronLikelihood/interface/ElectronLikelihood.h"
21  
22   namespace mithep {
23    class ElectronTools {
# Line 38 | Line 39 | namespace mithep {
39          kVBTFWorkingPoint85Id,
40          kVBTFWorkingPoint80Id,
41          kVBTFWorkingPointLowPtId,
42 <        kVBTFWorkingPoint70Id
42 >        kVBTFWorkingPoint70Id,
43 >        kMVAID_BDTG_NoIPInfo,
44 >        kMVAID_BDTG_WithIPInfo,
45 >        kMVAID_BDTG_IDIsoCombined,
46 >        kHggLeptonTagId,
47 >        kMVAID_BDTG_IDEGamma2012TrigV0
48        };
49  
50        enum EElIsoType {
# Line 58 | Line 64 | namespace mithep {
64          kVBTFWorkingPoint90Iso,
65          kVBTFWorkingPoint85Iso,
66          kVBTFWorkingPoint80Iso,
67 <        kVBTFWorkingPoint70Iso
67 >        kVBTFWorkingPoint70Iso,
68 >        kMVAIso_BDTG_IDIsoCombined
69 >      };
70 >
71 >      enum EElectronEffectiveAreaType {
72 >        kEleChargedIso03,
73 >        kEleNeutralHadronIso03,
74 >        kEleGammaIso03,
75 >        kEleGammaIsoVetoEtaStrip03,
76 >        kEleChargedIso04,
77 >        kEleNeutralHadronIso04,
78 >        kEleGammaIso04,
79 >        kEleGammaIsoVetoEtaStrip04,
80 >        kEleNeutralHadronIso007,
81 >        kEleHoverE,
82 >        kEleHcalDepth1OverEcal,
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);
# Line 78 | Line 117 | namespace mithep {
117                                        const DecayParticleCol *conversions, const Int_t typeCuts,
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,
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