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
JetTag.h
edm
HLT enums.
Definition: AlignableModifier.h:19
GBRForest
Definition: GBRForest.h:25
reco::JetCorrector
Definition: JetCorrector.h:35
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
pat::Muon
Analysis-level muon class.
Definition: Muon.h:51
JetCorrector
Definition: JetCorrector.h:19
Muon
Definition: Muon.py:1
pat::MuonMvaEstimator::computeMva
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: MuonMvaEstimator.cc:53
pat::MuonMvaEstimator::MuonMvaEstimator
MuonMvaEstimator(const edm::FileInPath &weightsfile, float dRmax)
Definition: MuonMvaEstimator.cc:16
edm::FileInPath
Definition: FileInPath.h:64
pat::MuonMvaEstimator::~MuonMvaEstimator
~MuonMvaEstimator()
Definition: MuonMvaEstimator.cc:20
edm::AssociationVector
Definition: AssociationVector.h:67
bphysicsOniaDQM_cfi.vertex
vertex
Definition: bphysicsOniaDQM_cfi.py:7
TtFullHadKinFitProducer_cfi.bTags
bTags
Definition: TtFullHadKinFitProducer_cfi.py:40
pat::MuonMvaEstimator::dRmax_
float dRmax_
Definition: MuonMvaEstimator.h:42
pat
Definition: HeavyIon.h:7
HltBtagValidation_cff.Vertex
Vertex
Definition: HltBtagValidation_cff.py:32
pat::MuonMvaEstimator::gbrForest_
std::unique_ptr< const GBRForest > gbrForest_
Definition: MuonMvaEstimator.h:41
reco::Vertex
Definition: Vertex.h:35
pat::MuonMvaEstimator
Definition: MuonMvaEstimator.h:25