PhysicsTools
Heppy
interface
EGammaMvaEleEstimatorFWLite.h
Go to the documentation of this file.
1
#ifndef PhysicsTools_Heppy_EGammaMvaEleEstimatorFWLite_h
2
#define PhysicsTools_Heppy_EGammaMvaEleEstimatorFWLite_h
3
4
class
EGammaMvaEleEstimator
;
5
class
EGammaMvaEleEstimatorCSA14
;
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
17
class
EGammaMvaEleEstimatorFWLite
{
18
public
:
19
EGammaMvaEleEstimatorFWLite
();
20
~EGammaMvaEleEstimatorFWLite
();
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
:
37
EGammaMvaEleEstimator
*
estimator_
;
38
EGammaMvaEleEstimatorCSA14
*
estimatorCSA14_
;
39
};
40
}
// namespace heppy
41
#endif
EGammaMvaEleEstimator
Definition:
EGammaMvaEleEstimator.h:38
HLT_FULL_cff.printDebug
printDebug
Definition:
HLT_FULL_cff.py:35542
heppy::EGammaMvaEleEstimatorFWLite::estimator_
EGammaMvaEleEstimator * estimator_
Definition:
EGammaMvaEleEstimatorFWLite.h:37
heppy::EGammaMvaEleEstimatorFWLite::kTrig
Definition:
EGammaMvaEleEstimatorFWLite.h:23
heppy::EGammaMvaEleEstimatorFWLite::kNonTrig
Definition:
EGammaMvaEleEstimatorFWLite.h:25
Electron
Definition:
Electron.py:1
heppy::EGammaMvaEleEstimatorFWLite::mvaValue
float mvaValue(const pat::Electron &ele, const reco::Vertex &vertex, double rho, bool full5x5, bool printDebug=false)
Definition:
EGammaMvaEleEstimatorFWLite.cc:60
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
heppy::EGammaMvaEleEstimatorFWLite::EGammaMvaEleEstimatorFWLite
EGammaMvaEleEstimatorFWLite()
Definition:
EGammaMvaEleEstimatorFWLite.cc:9
heppy::EGammaMvaEleEstimatorFWLite
Definition:
EGammaMvaEleEstimatorFWLite.h:17
heppy::EGammaMvaEleEstimatorFWLite::MVAType
MVAType
Definition:
EGammaMvaEleEstimatorFWLite.h:22
heppy::EGammaMvaEleEstimatorFWLite::kNonTrigPhys14
Definition:
EGammaMvaEleEstimatorFWLite.h:28
heppy::EGammaMvaEleEstimatorFWLite::kNonTrigCSA14
Definition:
EGammaMvaEleEstimatorFWLite.h:27
EGammaMvaEleEstimatorCSA14
Definition:
EGammaMvaEleEstimatorCSA14.h:38
heppy
TAKEN FROM http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/CMSSW/ElectroWeakAnalysis/Utilities/src/PdfWeig...
Definition:
AlphaT.h:16
bphysicsOniaDQM_cfi.vertex
vertex
Definition:
bphysicsOniaDQM_cfi.py:7
type
type
Definition:
SiPixelVCal_PayloadInspector.cc:39
heppy::EGammaMvaEleEstimatorFWLite::initialize
void initialize(std::string methodName, MVAType type, bool useBinnedVersion, std::vector< std::string > weightsfiles)
Definition:
EGammaMvaEleEstimatorFWLite.cc:16
pat
Definition:
HeavyIon.h:7
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
heppy::EGammaMvaEleEstimatorFWLite::kTrigCSA14
Definition:
EGammaMvaEleEstimatorFWLite.h:26
HltBtagValidation_cff.Vertex
Vertex
Definition:
HltBtagValidation_cff.py:32
MVAType
MVAType
Definition:
PFMETAlgorithmMVA.cc:16
heppy::EGammaMvaEleEstimatorFWLite::kTrigNoIP
Definition:
EGammaMvaEleEstimatorFWLite.h:24
pat::Electron
Analysis-level electron class.
Definition:
Electron.h:51
heppy::EGammaMvaEleEstimatorFWLite::~EGammaMvaEleEstimatorFWLite
~EGammaMvaEleEstimatorFWLite()
Definition:
EGammaMvaEleEstimatorFWLite.cc:11
heppy::EGammaMvaEleEstimatorFWLite::estimatorCSA14_
EGammaMvaEleEstimatorCSA14 * estimatorCSA14_
Definition:
EGammaMvaEleEstimatorFWLite.h:38
reco::Vertex
Definition:
Vertex.h:35
Generated for CMSSW Reference Manual by
1.8.16