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, const reco::VertexCollection&) const;
24 
25 private:
26  void bindVariables(float vars[25]) const;
27  void init();
28 
29 private:
31  std::vector<std::unique_ptr<const GBRForest> > gbr_;
32 };
33 
34 #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:158
#define constexpr