CMS 3D CMS Logo

SoftElectronMVAEstimator.h
Go to the documentation of this file.
1 #ifndef __ElectronIdentification_SoftElectronMVAEstimator_H__
2 #define __ElectronIdentification_SoftElectronMVAEstimator_H__
3 
10 
11 #include <memory>
12 #include <string>
13 
15  public:
16  constexpr static unsigned int ExpectedNBins = 1;
17 
18  struct Configuration{
19  std::vector<std::string> vweightsfiles;
20  };
23  double mva(const reco::GsfElectron& myElectron,
24  const reco::VertexCollection&) const;
25 
26  private:
27  void bindVariables(float vars[25]) const ;
28  void init();
29 
30  private:
32  std::vector<std::unique_ptr<const GBRForest> > gbr_;
33 
34 };
35 
36 #endif
SoftElectronMVAEstimator(const Configuration &)
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
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:77
#define constexpr