test
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 
6 namespace reco { struct Vertex; }
7 namespace pat { struct Electron; }
8 #include <vector>
9 #include <string>
10 
11 namespace heppy {
12 
14  public:
17 
18  enum MVAType {
19  kTrig = 0, // MVA for triggering electrons
20  kTrigNoIP = 1, // MVA for triggering electrons without IP info
21  kNonTrig = 2, // MVA for non-triggering electrons
22  kTrigCSA14 = 3, // MVA for non-triggering electrons
23  kNonTrigCSA14 = 4, // MVA for non-triggering electrons
24  kNonTrigPhys14 = 5, // MVA for non-triggering electrons
25  };
26 
27  void initialize( std::string methodName,
28  MVAType type,
29  bool useBinnedVersion,
30  std::vector<std::string> weightsfiles );
31 
32  float mvaValue(const pat::Electron& ele,
33  const reco::Vertex& vertex,
34  double rho,
35  bool full5x5,
36  bool printDebug = false);
37  private:
40 };
41 }
42 #endif
type
Definition: HCALResponse.h:21
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)
EGammaMvaEleEstimatorCSA14 * estimatorCSA14_
Analysis-level electron class.
Definition: Electron.h:52