CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EGammaMvaEleEstimatorFWLite.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_Heppy_EGammaMvaEleEstimatorFWLite_h
2 #define PhysicsTools_Heppy_EGammaMvaEleEstimatorFWLite_h
3 
5 namespace reco { struct Vertex; }
6 namespace pat { struct Electron; }
7 #include <vector>
8 #include <string>
9 
10 namespace heppy {
11 
13  public:
16 
17  enum MVAType {
18  kTrig = 0, // MVA for triggering electrons
19  kTrigNoIP = 1, // MVA for triggering electrons without IP info
20  kNonTrig = 2, // MVA for non-triggering electrons
21  };
22 
23  void initialize( std::string methodName,
24  MVAType type,
25  bool useBinnedVersion,
26  std::vector<std::string> weightsfiles );
27 
28  float mvaValue(const pat::Electron& ele,
29  const reco::Vertex& vertex,
30  double rho,
31  bool full5x5,
32  bool printDebug = false);
33  private:
35 };
36 }
37 #endif
type
Definition: HCALResponse.h:21
Definition: DDAxes.h:10
float mvaValue(const pat::Electron &ele, const reco::Vertex &vertex, double rho, bool full5x5, bool printDebug=false)
void initialize(std::string methodName, MVAType type, bool useBinnedVersion, std::vector< std::string > weightsfiles)
Analysis-level electron class.
Definition: Electron.h:52