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 "
CondFormats/EgammaObjects/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
(
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
Float_t
fbrem
;
//0
28
Float_t
detain
;
//1
29
Float_t
dphiin
;
//2
30
Float_t
sieie
;
//3
31
Float_t
hoe
;
//4
32
Float_t
eop
;
//5
33
Float_t
e1x5e5x5
;
//6
34
Float_t
eleopout
;
//7
35
Float_t
detaeleout
;
//8
36
Float_t
kfchi2
;
//9
37
Float_t
mykfhits
;
//10
38
Float_t
mymishits
;
//11
39
Float_t
absdist
;
//12
40
Float_t
absdcot
;
//13
41
Float_t
myNvtx
;
//14
42
Float_t
eta
;
//15
43
Float_t
pt
;
//16
44
Int_t
ecalseed
;
//17
45
};
46
47
#endif
ElectronMVAEstimator::ecalseed
Int_t ecalseed
Definition:
ElectronMVAEstimator.h:44
ElectronMVAEstimator::mva
double mva(const reco::GsfElectron &myElectron, int nvertices=0) const
Definition:
ElectronMVAEstimator.cc:88
ElectronMVAEstimator::sieie
Float_t sieie
Definition:
ElectronMVAEstimator.h:30
reco::GsfElectron
Definition:
GsfElectron.h:37
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
ElectronMVAEstimator::detaeleout
Float_t detaeleout
Definition:
ElectronMVAEstimator.h:35
ElectronMVAEstimator::absdcot
Float_t absdcot
Definition:
ElectronMVAEstimator.h:40
ElectronMVAEstimator::e1x5e5x5
Float_t e1x5e5x5
Definition:
ElectronMVAEstimator.h:33
ElectronMVAEstimator::bindVariables
void bindVariables(float vars[18]) const
Definition:
ElectronMVAEstimator.cc:151
ElectronMVAEstimator
Definition:
ElectronMVAEstimator.h:10
ElectronMVAEstimator::myNvtx
Float_t myNvtx
Definition:
ElectronMVAEstimator.h:41
ElectronMVAEstimator::mykfhits
Float_t mykfhits
Definition:
ElectronMVAEstimator.h:37
ElectronMVAEstimator::dphiin
Float_t dphiin
Definition:
ElectronMVAEstimator.h:29
ElectronMVAEstimator::mymishits
Float_t mymishits
Definition:
ElectronMVAEstimator.h:38
ElectronMVAEstimator::kfchi2
Float_t kfchi2
Definition:
ElectronMVAEstimator.h:36
ElectronMVAEstimator::cfg_
const Configuration cfg_
Definition:
ElectronMVAEstimator.h:22
ElectronMVAEstimator::absdist
Float_t absdist
Definition:
ElectronMVAEstimator.h:39
ElectronMVAEstimator::Configuration
Definition:
ElectronMVAEstimator.h:12
GsfElectron.h
ElectronMVAEstimator::hoe
Float_t hoe
Definition:
ElectronMVAEstimator.h:31
ElectronMVAEstimator::~ElectronMVAEstimator
~ElectronMVAEstimator()
Definition:
ElectronMVAEstimator.h:18
ElectronMVAEstimator::eta
Float_t eta
Definition:
ElectronMVAEstimator.h:42
ElectronMVAEstimator::ElectronMVAEstimator
ElectronMVAEstimator()
Definition:
ElectronMVAEstimator.cc:16
GBRForest.h
ElectronMVAEstimator::Configuration::vweightsfiles
std::vector< std::string > vweightsfiles
Definition:
ElectronMVAEstimator.h:13
MillePedeFileConverter_cfg.fileName
fileName
Definition:
MillePedeFileConverter_cfg.py:32
ElectronMVAEstimator::eop
Float_t eop
Definition:
ElectronMVAEstimator.h:32
ElectronMVAEstimator::fbrem
Float_t fbrem
Definition:
ElectronMVAEstimator.h:27
ElectronMVAEstimator::pt
Float_t pt
Definition:
ElectronMVAEstimator.h:43
ElectronMVAEstimator::eleopout
Float_t eleopout
Definition:
ElectronMVAEstimator.h:34
vars
vars
Definition:
DeepTauId.cc:77
ElectronMVAEstimator::detain
Float_t detain
Definition:
ElectronMVAEstimator.h:28
ElectronMVAEstimator::gbr
std::vector< std::unique_ptr< const GBRForest > > gbr
Definition:
ElectronMVAEstimator.h:25
Generated for CMSSW Reference Manual by
1.8.11