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  float& miniIsoValue,
38  const reco::JetCorrector* correctorL1=nullptr,
39  const reco::JetCorrector* correctorL1L2L3Res=nullptr) const;
40 
41  private:
42 
43  std::unique_ptr<const GBRForest> gbrForest_;
44  float dRmax_;
45 
46  };
47 }
48 #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:51