CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SoftElectronMVAEstimator.h
Go to the documentation of this file.
1 #ifndef __ElectronIdentification_SoftElectronMVAEstimator_H__
2 #define __ElectronIdentification_SoftElectronMVAEstimator_H__
3 
8 
9 #include <memory>
10 #include <string>
11 
13 public:
14  constexpr static unsigned int ExpectedNBins = 1;
15 
16  struct Configuration {
17  std::vector<std::string> vweightsfiles;
18  };
21  double mva(const reco::GsfElectron& myElectron, const reco::VertexCollection&) const;
22 
23 private:
24  void bindVariables(float vars[25]) const;
25  void init();
26 
27 private:
29  std::vector<std::unique_ptr<const GBRForest> > gbr_;
30 };
31 
32 #endif
SoftElectronMVAEstimator(const Configuration &)
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
static constexpr unsigned int ExpectedNBins
double mva(const reco::GsfElectron &myElectron, const reco::VertexCollection &) const
std::vector< std::unique_ptr< const GBRForest > > gbr_
void bindVariables(float vars[25]) const
vars
Definition: DeepTauId.cc:164