CMS 3D CMS Logo

MuonMvaEstimator.h
Go to the documentation of this file.
1 #ifndef __PhysicsTools_PatAlgos_MuonMvaEstimator__
2 #define __PhysicsTools_PatAlgos_MuonMvaEstimator__
3 
5 
6 #include <memory>
7 #include <string>
8 
9 class GBRForest;
10 
11 namespace pat {
12  class Muon;
13 }
14 
15 namespace reco {
16  class JetCorrector;
17  class Vertex;
18 } // namespace reco
19 
20 namespace edm {
21  class FileInPath;
22 }
23 
24 namespace pat {
26  public:
27  MuonMvaEstimator(const edm::FileInPath& weightsfile, float dRmax);
28 
30 
31  float computeMva(const pat::Muon& imuon,
32  const reco::Vertex& vertex,
34  float& jetPtRatio,
35  float& jetPtRel,
36  float& miniIsoValue,
37  const reco::JetCorrector* correctorL1 = nullptr,
38  const reco::JetCorrector* correctorL1L2L3Res = nullptr) const;
39 
40  private:
41  std::unique_ptr<const GBRForest> gbrForest_;
42  float dRmax_;
43  };
44 } // namespace pat
45 #endif
MuonMvaEstimator(const edm::FileInPath &weightsfile, float dRmax)
Definition: HeavyIon.h:7
float computeMva(const pat::Muon &imuon, const reco::Vertex &vertex, const reco::JetTagCollection &bTags, float &jetPtRatio, float &jetPtRel, float &miniIsoValue, const reco::JetCorrector *correctorL1=nullptr, const reco::JetCorrector *correctorL1L2L3Res=nullptr) const
Definition: Muon.py:1
fixed size matrix
HLT enums.
std::unique_ptr< const GBRForest > gbrForest_
Analysis-level muon class.
Definition: Muon.h:51