test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ElectronMVAEstimator.h
Go to the documentation of this file.
1 #ifndef __RecoEgamma_ElectronIdentification_ElectronMVAEstimator_H__
2 #define __RecoEgamma_ElectronIdentification_ElectronMVAEstimator_H__
3 
6 
7 #include <memory>
8 #include <string>
9 
11  public:
12  struct Configuration{
13  std::vector<std::string> vweightsfiles;
14  };
19  double mva(const reco::GsfElectron& myElectron, int nvertices=0) const;
20 
21  private:
23  void bindVariables(float vars[18]) const;
24 
25  std::vector<std::unique_ptr<const GBRForest> > gbr;
26 
27  Float_t fbrem; //0
28  Float_t detain; //1
29  Float_t dphiin; //2
30  Float_t sieie; //3
31  Float_t hoe; //4
32  Float_t eop; //5
33  Float_t e1x5e5x5; //6
34  Float_t eleopout; //7
35  Float_t detaeleout; //8
36  Float_t kfchi2; //9
37  Float_t mykfhits; //10
38  Float_t mymishits; //11
39  Float_t absdist; //12
40  Float_t absdcot; //13
41  Float_t myNvtx; //14
42  Float_t eta; //15
43  Float_t pt; //16
44  Int_t ecalseed; //17
45 };
46 
47 #endif
double mva(const reco::GsfElectron &myElectron, int nvertices=0) const
void bindVariables(float vars[18]) const
const Configuration cfg_
std::vector< std::string > vweightsfiles
std::vector< std::unique_ptr< const GBRForest > > gbr