Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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::mva
double mva(const reco::GsfElectron &myElectron, int nvertices=0) const
Definition:
ElectronMVAEstimator.cc:23
reco::GsfElectron
Definition:
GsfElectron.h:36
ElectronMVAEstimator::gbr_
std::vector< std::unique_ptr< const GBRForest > > gbr_
Definition:
ElectronMVAEstimator.h:25
ElectronMVAEstimator::bindVariables
void bindVariables(float vars[18]) const
Definition:
ElectronMVAEstimator.cc:85
ElectronMVAEstimator
Definition:
ElectronMVAEstimator.h:10
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
MillePedeFileConverter_cfg.fileName
tuple fileName
Definition:
MillePedeFileConverter_cfg.py:32
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:8
GBRForest.h
ElectronMVAEstimator::Configuration::vweightsfiles
std::vector< std::string > vweightsfiles
Definition:
ElectronMVAEstimator.h:13
vars
vars
Definition:
DeepTauId.cc:164
Generated for CMSSW Reference Manual by
1.8.5