CMS 3D CMS Logo

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 {
7  class Vertex;
8 }
9 namespace pat {
10  class Electron;
11 }
12 #include <vector>
13 #include <string>
14 
15 namespace heppy {
16 
18  public:
21 
22  enum MVAType {
23  kTrig = 0, // MVA for triggering electrons
24  kTrigNoIP = 1, // MVA for triggering electrons without IP info
25  kNonTrig = 2, // MVA for non-triggering electrons
26  kTrigCSA14 = 3, // MVA for non-triggering electrons
27  kNonTrigCSA14 = 4, // MVA for non-triggering electrons
28  kNonTrigPhys14 = 5, // MVA for non-triggering electrons
29  };
30 
31  void initialize(std::string methodName, MVAType type, bool useBinnedVersion, std::vector<std::string> weightsfiles);
32 
33  float mvaValue(
34  const pat::Electron& ele, const reco::Vertex& vertex, double rho, bool full5x5, bool printDebug = false);
35 
36  private:
39  };
40 } // namespace heppy
41 #endif
float mvaValue(const pat::Electron &ele, const reco::Vertex &vertex, double rho, bool full5x5, bool printDebug=false)
Definition: HeavyIon.h:7
void initialize(std::string methodName, MVAType type, bool useBinnedVersion, std::vector< std::string > weightsfiles)
TAKEN FROM http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/CMSSW/ElectroWeakAnalysis/Utilities/src/PdfWeig...
Definition: AlphaT.h:16
EGammaMvaEleEstimatorCSA14 * estimatorCSA14_
Analysis-level electron class.
Definition: Electron.h:51
fixed size matrix