Main Page
Namespaces
Classes
Package Documentation
RecoEgamma
ElectronIdentification
interface
ElectronMVAEstimator.h
Go to the documentation of this file.
1
#ifndef __RecoEgamma_ElectronIdentification_ElectronMVAEstimator_H__
2
#define __RecoEgamma_ElectronIdentification_ElectronMVAEstimator_H__
3
4
#include "
DataFormats/EgammaCandidates/interface/GsfElectron.h
"
5
#include "
RecoEgamma/EgammaTools/interface/GBRForestTools.h
"
6
7
#include <memory>
8
#include <string>
9
10
class
ElectronMVAEstimator
{
11
public
:
12
struct
Configuration
{
13
std::vector<std::string>
vweightsfiles
;
14
};
15
ElectronMVAEstimator
();
16
ElectronMVAEstimator
(
std::string
fileName
);
17
ElectronMVAEstimator
(
const
Configuration
& );
18
~ElectronMVAEstimator
() {;}
19
double
mva
(
const
reco::GsfElectron
& myElectron,
int
nvertices=0)
const
;
20
21
private
:
22
const
Configuration
cfg_
;
23
void
bindVariables
(
float
vars[18])
const
;
24
25
std::vector<std::unique_ptr<const GBRForest> >
gbr_
;
26
27
};
28
29
#endif
ElectronMVAEstimator::mva
double mva(const reco::GsfElectron &myElectron, int nvertices=0) const
Definition:
ElectronMVAEstimator.cc:27
reco::GsfElectron
Definition:
GsfElectron.h:37
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ElectronMVAEstimator::gbr_
std::vector< std::unique_ptr< const GBRForest > > gbr_
Definition:
ElectronMVAEstimator.h:25
GBRForestTools.h
ElectronMVAEstimator::bindVariables
void bindVariables(float vars[18]) const
Definition:
ElectronMVAEstimator.cc:90
ElectronMVAEstimator
Definition:
ElectronMVAEstimator.h:10
ElectronMVAEstimator::cfg_
const Configuration cfg_
Definition:
ElectronMVAEstimator.h:22
ElectronMVAEstimator::Configuration
Definition:
ElectronMVAEstimator.h:12
GsfElectron.h
ElectronMVAEstimator::~ElectronMVAEstimator
~ElectronMVAEstimator()
Definition:
ElectronMVAEstimator.h:18
ElectronMVAEstimator::ElectronMVAEstimator
ElectronMVAEstimator()
Definition:
ElectronMVAEstimator.cc:7
ElectronMVAEstimator::Configuration::vweightsfiles
std::vector< std::string > vweightsfiles
Definition:
ElectronMVAEstimator.h:13
MillePedeFileConverter_cfg.fileName
fileName
Definition:
MillePedeFileConverter_cfg.py:32
Generated for CMSSW Reference Manual by
1.8.11