CMS 3D CMS Logo

SoftMuonMvaEstimator.h
Go to the documentation of this file.
1 #ifndef __PhysicsTools_PatAlgos_SoftMuonMvaEstimator__
2 #define __PhysicsTools_PatAlgos_SoftMuonMvaEstimator__
5 #include "TMVA/Reader.h"
6 
7 namespace pat {
9 public:
11  void initialize(std::string weightsfile);
12  void computeMva(const pat::Muon& imuon);
13  float mva() const {return mva_;}
14  private:
15  TMVA::Reader tmvaReader_;
17  float mva_;
18 
19  // MVA Spectator
20  float pID_;
21  float pt_;
22  float eta_;
23  float momID_;
24  float dummy_;
25 
26  // MVA VAriables
33  float trkKink_;
36  float outerChi2_;
37  float innerChi2_;
38  float trkRelChi2_;
40  float qProd_;
41 
42  };
43 }
44 #endif
void computeMva(const pat::Muon &imuon)
void initialize(std::string weightsfile)
Definition: HeavyIon.h:7
Analysis-level muon class.
Definition: Muon.h:50