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

Comparing UserCode/MitPhysics/Utils/interface/MVAMet.h (file contents):
Revision 1.13 by pharris, Tue Sep 25 15:39:15 2012 UTC vs.
Revision 1.14 by pharris, Sat Jan 12 11:49:47 2013 UTC

# Line 1 | Line 1
1 +
2   //--------------------------------------------------------------------------------------------------
3   // $Id $
4   //
# Line 15 | Line 16
16   #include "MitAna/DataTree/interface/MuonCol.h"
17   #include "MitAna/DataTree/interface/PFTauCol.h"
18   #include "MitAna/DataTree/interface/ElectronCol.h"
19 + #include "MitAna/DataTree/interface/PhotonCol.h"
20   #include "MitAna/DataTree/interface/Met.h"
21   #include "MitAna/DataTree/interface/PFMet.h"
22   #include "MitAna/DataTree/interface/PFMetCol.h"
# Line 55 | Line 57 | namespace mithep {
57                         TString iPhiWeights   ="$CMSSW_BASE/src/MitPhysics/data/gbrmetphi.root",
58                         TString iCovU1Weights   ="$CMSSW_BASE/src/MitPhysics/data/gbrcovu1_52.root",
59                         TString iCovU2Weights   ="$CMSSW_BASE/src/MitPhysics/data/gbrcovu2_52.root",
60 <                       MVAMet::MVAType  iType=kBaseline);
60 >                       JetIDMVA::MVAType  iType=JetIDMVA::kBaseline);
61          
62      Bool_t   IsInitialized() const { return fIsInitialized; }
63      Float_t* getVals();
# Line 137 | Line 139 | namespace mithep {
139                         const PFCandidateCol *iCands,const PFJetCol  *iJets,const Vertex *iPV,const VertexCol *iVertices,const PFMetCol *iPFMet,
140                         FactorizedJetCorrector *iJetCorrector,const PileupEnergyDensityCol* iPUEnergyDensity);
141  
142 +    Met GetMet(const PhotonCol        *iPhotons,
143 +               const PFCandidateCol *iCands,const PFJetCol  *iJets,const Vertex *iPV,const VertexCol *iVertices,const PFMetCol *iPFMet,
144 +               FactorizedJetCorrector *iJetCorrector,const PileupEnergyDensityCol* iPUEnergyDensity);
145 +
146      TMatrixD*   GetMetCovariance() { return fCov;         }
147      Float_t     GetSignificance () { return fSignificance;}
148      Float_t     GetUncertainty  () { return fUncertainty;}
149      RecoilTools *fRecoilTools;
150 +
151 +    Int_t     fNPhotons;
152      
153    protected:
154      TString      fPhiMethodName;
# Line 148 | Line 156 | namespace mithep {
156      TString      fCovU1MethodName;
157      TString      fCovU2MethodName;
158      Bool_t       fIsInitialized;
159 <    MVAType      fType;
159 >    JetIDMVA::MVAType      fType;
160      Bool_t       f42;
161      
162      Float_t fSumEt  ;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines