CMS 3D CMS Logo

SoftMuonMvaEstimator.h
Go to the documentation of this file.
1 #ifndef __PhysicsTools_PatAlgos_SoftMuonMvaEstimator__
2 #define __PhysicsTools_PatAlgos_SoftMuonMvaEstimator__
3 
4 #include <memory>
5 #include <string>
6 
7 class GBRForest;
8 
9 namespace pat {
10  class Muon;
11 }
12 
13 namespace edm {
14  class FileInPath;
15 }
16 
17 namespace pat {
19  public:
20  SoftMuonMvaEstimator(const edm::FileInPath& weightsfile);
21 
23 
24  float computeMva(const pat::Muon& imuon) const;
25 
26  private:
27  std::unique_ptr<const GBRForest> gbrForest_;
28  };
29 } // namespace pat
30 #endif
pat::SoftMuonMvaEstimator
Definition: SoftMuonMvaEstimator.h:18
edm
HLT enums.
Definition: AlignableModifier.h:19
GBRForest
Definition: GBRForest.h:25
pat::SoftMuonMvaEstimator::gbrForest_
std::unique_ptr< const GBRForest > gbrForest_
Definition: SoftMuonMvaEstimator.h:27
pat::Muon
Analysis-level muon class.
Definition: Muon.h:51
Muon
Definition: Muon.py:1
edm::FileInPath
Definition: FileInPath.h:64
pat::SoftMuonMvaEstimator::~SoftMuonMvaEstimator
~SoftMuonMvaEstimator()
Definition: SoftMuonMvaEstimator.cc:16
pat
Definition: HeavyIon.h:7
pat::SoftMuonMvaEstimator::computeMva
float computeMva(const pat::Muon &imuon) const
Definition: SoftMuonMvaEstimator.cc:42
pat::SoftMuonMvaEstimator::SoftMuonMvaEstimator
SoftMuonMvaEstimator(const edm::FileInPath &weightsfile)
Definition: SoftMuonMvaEstimator.cc:12