Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoEgamma
ElectronIdentification
interface
ElectronMVAEstimator.h
Go to the documentation of this file.
1
#ifndef ElectronMVA_H
2
#define ElectronMVA_H
3
4
#include "
DataFormats/EgammaCandidates/interface/GsfElectron.h
"
5
#include "TMVA/Reader.h"
6
#include<string>
7
8
class
ElectronMVAEstimator
{
9
public
:
10
struct
Configuration
{
11
std::vector<std::string>
vweightsfiles
;
12
};
13
ElectronMVAEstimator
();
14
ElectronMVAEstimator
(
std::string
fileName
);
15
ElectronMVAEstimator
(
const
Configuration
& );
16
~ElectronMVAEstimator
() {;}
17
double
mva
(
const
reco::GsfElectron
& myElectron,
int
nvertices=0);
18
19
private
:
20
const
Configuration
cfg_
;
21
void
bindVariables
();
22
void
init
(
std::string
fileName
);
23
24
private
:
25
TMVA::Reader *
tmvaReader_
;
26
27
Float_t
fbrem
;
28
Float_t
detain
;
29
Float_t
dphiin
;
30
Float_t
sieie
;
31
Float_t
hoe
;
32
Float_t
eop
;
33
Float_t
e1x5e5x5
;
34
Float_t
eleopout
;
35
Float_t
detaeleout
;
36
Float_t
kfchi2
;
37
Float_t
dist
;
38
Float_t
dcot
;
39
Float_t
eta
;
40
Float_t
pt
;
41
Int_t
kfhits
;
42
Int_t
mishits
;
43
Int_t
ecalseed
;
44
Int_t
Nvtx
;
45
46
Float_t
absdist
;
47
Float_t
absdcot
;
48
Float_t
mykfhits
;
49
Float_t
mymishits
;
50
Float_t
myNvtx
;
51
};
52
53
#endif
ElectronMVAEstimator::ecalseed
Int_t ecalseed
Definition:
ElectronMVAEstimator.h:43
ElectronMVAEstimator::kfhits
Int_t kfhits
Definition:
ElectronMVAEstimator.h:41
ElectronMVAEstimator::sieie
Float_t sieie
Definition:
ElectronMVAEstimator.h:30
reco::GsfElectron
Definition:
GsfElectron.h:37
ElectronMVAEstimator::detaeleout
Float_t detaeleout
Definition:
ElectronMVAEstimator.h:35
ElectronMVAEstimator::absdcot
Float_t absdcot
Definition:
ElectronMVAEstimator.h:47
ElectronMVAEstimator::dist
Float_t dist
Definition:
ElectronMVAEstimator.h:37
ElectronMVAEstimator::e1x5e5x5
Float_t e1x5e5x5
Definition:
ElectronMVAEstimator.h:33
ElectronMVAEstimator
Definition:
ElectronMVAEstimator.h:8
ElectronMVAEstimator::myNvtx
Float_t myNvtx
Definition:
ElectronMVAEstimator.h:50
convertXMLtoSQLite_cfg.fileName
tuple fileName
Definition:
convertXMLtoSQLite_cfg.py:13
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
ElectronMVAEstimator::bindVariables
void bindVariables()
Definition:
ElectronMVAEstimator.cc:133
ElectronMVAEstimator::mykfhits
Float_t mykfhits
Definition:
ElectronMVAEstimator.h:48
ElectronMVAEstimator::dphiin
Float_t dphiin
Definition:
ElectronMVAEstimator.h:29
ElectronMVAEstimator::mymishits
Float_t mymishits
Definition:
ElectronMVAEstimator.h:49
ElectronMVAEstimator::kfchi2
Float_t kfchi2
Definition:
ElectronMVAEstimator.h:36
ElectronMVAEstimator::cfg_
const Configuration cfg_
Definition:
ElectronMVAEstimator.h:20
ElectronMVAEstimator::absdist
Float_t absdist
Definition:
ElectronMVAEstimator.h:46
ElectronMVAEstimator::Nvtx
Int_t Nvtx
Definition:
ElectronMVAEstimator.h:44
ElectronMVAEstimator::tmvaReader_
TMVA::Reader * tmvaReader_
Definition:
ElectronMVAEstimator.h:25
ElectronMVAEstimator::Configuration
Definition:
ElectronMVAEstimator.h:10
GsfElectron.h
ElectronMVAEstimator::hoe
Float_t hoe
Definition:
ElectronMVAEstimator.h:31
ElectronMVAEstimator::dcot
Float_t dcot
Definition:
ElectronMVAEstimator.h:38
ElectronMVAEstimator::~ElectronMVAEstimator
~ElectronMVAEstimator()
Definition:
ElectronMVAEstimator.h:16
ElectronMVAEstimator::mishits
Int_t mishits
Definition:
ElectronMVAEstimator.h:42
ElectronMVAEstimator::init
void init(std::string fileName)
ElectronMVAEstimator::eta
Float_t eta
Definition:
ElectronMVAEstimator.h:39
ElectronMVAEstimator::ElectronMVAEstimator
ElectronMVAEstimator()
Definition:
ElectronMVAEstimator.cc:8
ElectronMVAEstimator::Configuration::vweightsfiles
std::vector< std::string > vweightsfiles
Definition:
ElectronMVAEstimator.h:11
ElectronMVAEstimator::mva
double mva(const reco::GsfElectron &myElectron, int nvertices=0)
Definition:
ElectronMVAEstimator.cc:77
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:40
ElectronMVAEstimator::eleopout
Float_t eleopout
Definition:
ElectronMVAEstimator.h:34
ElectronMVAEstimator::detain
Float_t detain
Definition:
ElectronMVAEstimator.h:28
Generated for CMSSW Reference Manual by
1.8.5