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.31 by anlevin, Wed Jun 6 15:05:39 2012 UTC vs.
Revision 1.36 by pharris, Wed Jan 9 18:22:07 2013 UTC

# Line 18 | Line 18
18   #include "MitAna/DataTree/interface/TriggerObjectCol.h"
19   #include "MitCommon/MathTools/interface/MathUtils.h"
20   #include "MitPhysics/ElectronLikelihood/interface/ElectronLikelihood.h"
21 + #include <utility>
22  
23   namespace mithep {
24    class ElectronTools {
# Line 44 | Line 45 | namespace mithep {
45          kMVAID_BDTG_WithIPInfo,
46          kMVAID_BDTG_IDIsoCombined,
47          kHggLeptonTagId,
48 <        kMVAID_BDTG_IDHWW2012TrigV0
48 >        kHggLeptonTagId2012,
49 >        kHggLeptonTagId2012HCP,
50 >        kMVAID_BDTG_IDHWW2012TrigV0,
51 >        kMVAID_BDTG_IDIsoCombinedHWW2012TrigV4
52        };
53  
54        enum EElIsoType {
# Line 66 | Line 70 | namespace mithep {
70          kVBTFWorkingPoint80Iso,
71          kVBTFWorkingPoint70Iso,
72          kMVAIso_BDTG_IDIsoCombined,
73 <        kPFIso_HWW2012TrigV0
73 >        kPFIso_HWW2012TrigV0,
74 >        kPFIso_HggLeptonTag2012,
75 >        kPFIso_HggLeptonTag2012HCP,
76 >        kMVAIso_BDTG_IDIsoCombinedHWW2012TrigV4
77        };
78  
79        enum EElectronEffectiveAreaType {
# Line 100 | Line 107 | namespace mithep {
107        enum EElectronEffectiveAreaTarget {
108          kEleEANoCorr,
109          kEleEAData2011,
110 <                                kEleEAData2012,
110 >        kEleEAData2012,
111          kEleEASummer11MC,
112          kEleEAFall11MC
113        };
# Line 109 | Line 116 | namespace mithep {
116        static Bool_t       PassConversionFilter(const Electron *el, const DecayParticleCol *conversions,
117                                                 const BaseVertex *vtx, UInt_t nWrongHitsMax=0, Double_t probMin=1e-6,
118                                                 Double_t lxyMin = 2.0, Bool_t matchCkf = kTRUE, Bool_t requireArbitratedMerged = kFALSE, Double_t trkptMin = -99.);
119 +      static Bool_t       PassConversionFilterPFAOD(const Electron *el, const DecayParticleCol *conversions,
120 +                                                    const BaseVertex *vtx, UInt_t nWrongHitsMax=0, Double_t probMin=1e-6,
121 +                                                    Double_t lxyMin = 2.0, Bool_t matchCkf = kTRUE, Bool_t requireArbitratedMerged = kFALSE, Double_t trkptMin = -99.);
122        static Bool_t       PassCustomID(const Electron *el, EElIdType idType);
123        static Bool_t       PassCustomIso(const Electron *el, EElIsoType isoType,
124                                          Bool_t useCombineIso = kTRUE);
# Line 125 | Line 135 | namespace mithep {
135        static Double_t     Likelihood(ElectronLikelihood *LH, const Electron *ele);
136        static Double_t     ElectronEffectiveArea(EElectronEffectiveAreaType type, Double_t Eta,
137                                                  EElectronEffectiveAreaTarget EffectiveAreaTarget = kEleEAData2011);
138 +      static std::pair<Double_t,Double_t> ComputeEPCombination( const Electron * ele, const float regression_energy,
139 +                                                  const float regression_energy_error);
140  
141        static Bool_t       PassHggLeptonTagID(const Electron *el);
142 <
142 >      static Bool_t       PassHggLeptonTagID2012(const Electron *el);
143 >    
144      ClassDef(ElectronTools, 0) // Muon tools
145    };
146   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines