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 }
19 
20 namespace edm {
21  class FileInPath;
22 }
23 
24 namespace pat {
26  public:
27 
28  MuonMvaEstimator(const edm::FileInPath& weightsfile, float dRmax);
29 
31 
32  float computeMva(const pat::Muon& imuon,
33  const reco::Vertex& vertex,
35  float& jetPtRatio,
36  float& jetPtRel,
37  const reco::JetCorrector* correctorL1=nullptr,
38  const reco::JetCorrector* correctorL1L2L3Res=nullptr) const;
39 
40  private:
41 
42  std::unique_ptr<const GBRForest> gbrForest_;
43  float dRmax_;
44 
45  };
46 }
47 #endif
Definition: HeavyIon.h:7
Definition: Muon.py:1
fixed size matrix
HLT enums.
std::unique_ptr< const GBRForest > gbrForest_
Analysis-level muon class.
Definition: Muon.h:50