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.6 by pharris, Mon Apr 23 15:37:59 2012 UTC vs.
Revision 1.9 by pharris, Tue Apr 24 21:28:01 2012 UTC

# Line 22 | Line 22
22   #include "MitCommon/MathTools/interface/MathUtils.h"
23  
24   #include "MitPhysics/Utils/interface/RecoilTools.h"
25 < #include "MitPhysics/Utils/interface/GBRForest.h"
25 > #include "CondFormats/EgammaObjects/interface/GBRForest.h"
26  
27   class TRandom3;
28 + class GBRForest;
29  
30   namespace mithep {
31    class MVAMet {
# Line 96 | Line 97 | namespace mithep {
97      Met GetMet(         Bool_t iPhi,Float_t iPtVis,Float_t iPhiVis,Float_t iSumEtVis,
98                          const PFMet            *iMet  ,
99                          const PFCandidateCol   *iCands,
100 <                        const Vertex *iVertex,const VertexCol *iVertices,
100 >                        const Vertex *iVertex,const VertexCol *iVertices,Double_t iRho,
101                          const PFJetCol         *iJets ,
102                          int iNPV,
103                          Bool_t printDebug=false);
# Line 118 | Line 119 | namespace mithep {
119                          Float_t iPt2,Float_t iPhi2,Float_t iEta2,
120                          const PFMet            *iMet  ,
121                          const PFCandidateCol   *iCands,
122 <                        const Vertex *iVertex,const VertexCol *iVertices,
122 >                        const Vertex *iVertex,const VertexCol *iVertices,Double_t iRho,
123                          const PFJetCol         *iJets ,
124                          int iNPV,
125                          Bool_t printDebug=false);
126  
127 <    TMatrixD GetMetCovariance() { return fCov;         }
128 <    double   GetSignificance () { return fSignificance;}
127 >    TMatrixD*   GetMetCovariance() { return fCov;         }
128 >    Float_t     GetSignificance () { return fSignificance;}
129 >    Float_t     GetUncertainty  () { return fUncertainty;}
130      RecoilTools *fRecoilTools;
131      
132    protected:
# Line 135 | Line 137 | namespace mithep {
137      Bool_t       fIsInitialized;
138      MVAType      fType;
139      
140 +    Float_t fSumEt  ;
141      Float_t fU      ;
142      Float_t fUPhi   ;
143      Float_t fTKSumEt;
# Line 170 | Line 173 | namespace mithep {
173      GBRForest *fCovU1Reader;
174      GBRForest *fCovU2Reader;
175  
176 <    Float_t  fSignificance;
177 <    TMatrixD fCov;
176 >    Float_t   fSignificance;
177 >    Float_t   fUncertainty;
178 >    TMatrixD *fCov;
179  
180      //TMVA::Reader* fPhiReader;
181      //TMVA::Reader* fU1Reader;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines