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 "
CondFormats/GBRForest/interface/GBRForest.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
(
const
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
#endif
ElectronMVAEstimator
Definition:
ElectronMVAEstimator.h:10
ElectronMVAEstimator::cfg_
const Configuration cfg_
Definition:
ElectronMVAEstimator.h:22
MillePedeFileConverter_cfg.fileName
fileName
Definition:
MillePedeFileConverter_cfg.py:32
GBRForest.h
ElectronMVAEstimator::mva
double mva(const reco::GsfElectron &myElectron, int nvertices=0) const
Definition:
ElectronMVAEstimator.cc:23
vars
vars
Definition:
DeepTauId.cc:164
ElectronMVAEstimator::~ElectronMVAEstimator
~ElectronMVAEstimator()
Definition:
ElectronMVAEstimator.h:18
reco::GsfElectron
Definition:
GsfElectron.h:34
GsfElectron.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ElectronMVAEstimator::bindVariables
void bindVariables(float vars[18]) const
Definition:
ElectronMVAEstimator.cc:85
ElectronMVAEstimator::Configuration
Definition:
ElectronMVAEstimator.h:12
ElectronMVAEstimator::Configuration::vweightsfiles
std::vector< std::string > vweightsfiles
Definition:
ElectronMVAEstimator.h:13
ElectronMVAEstimator::ElectronMVAEstimator
ElectronMVAEstimator()
Definition:
ElectronMVAEstimator.cc:8
ElectronMVAEstimator::gbr_
std::vector< std::unique_ptr< const GBRForest > > gbr_
Definition:
ElectronMVAEstimator.h:25
Generated for CMSSW Reference Manual by
1.8.16