Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:23:47

0001 #ifndef __PhysicsTools_PatAlgos_SoftMuonMvaEstimator__
0002 #define __PhysicsTools_PatAlgos_SoftMuonMvaEstimator__
0003 
0004 #include <memory>
0005 #include <string>
0006 
0007 class GBRForest;
0008 
0009 namespace pat {
0010   class Muon;
0011 }
0012 
0013 namespace edm {
0014   class FileInPath;
0015 }
0016 
0017 namespace pat {
0018   class SoftMuonMvaEstimator {
0019   public:
0020     SoftMuonMvaEstimator(const edm::FileInPath& weightsfile);
0021 
0022     ~SoftMuonMvaEstimator();
0023 
0024     float computeMva(const pat::Muon& imuon) const;
0025 
0026   private:
0027     std::unique_ptr<const GBRForest> gbrForest_;
0028   };
0029 }  // namespace pat
0030 #endif