test
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
ElectronMVAEstimator
();
11
ElectronMVAEstimator
(
std::string
fileName
);
12
~ElectronMVAEstimator
() {;}
13
double
mva
(
const
reco::GsfElectron
& myElectron,
int
nvertices=0);
14
15
private
:
16
void
bindVariables
();
17
void
init
(
std::string
fileName);
18
19
private
:
20
TMVA::Reader *
tmvaReader_
;
21
22
Float_t
fbrem
;
23
Float_t
detain
;
24
Float_t
dphiin
;
25
Float_t
sieie
;
26
Float_t
hoe
;
27
Float_t
eop
;
28
Float_t
e1x5e5x5
;
29
Float_t
eleopout
;
30
Float_t
detaeleout
;
31
Float_t
kfchi2
;
32
Float_t
dist
;
33
Float_t
dcot
;
34
Float_t
eta
;
35
Float_t
pt
;
36
Int_t
kfhits
;
37
Int_t
mishits
;
38
Int_t
ecalseed
;
39
Int_t
Nvtx
;
40
41
Float_t
absdist
;
42
Float_t
absdcot
;
43
Float_t
mykfhits
;
44
Float_t
mymishits
;
45
Float_t
myNvtx
;
46
};
47
48
#endif
ElectronMVAEstimator::ecalseed
Int_t ecalseed
Definition:
ElectronMVAEstimator.h:38
ElectronMVAEstimator::kfhits
Int_t kfhits
Definition:
ElectronMVAEstimator.h:36
ElectronMVAEstimator::sieie
Float_t sieie
Definition:
ElectronMVAEstimator.h:25
reco::GsfElectron
Definition:
GsfElectron.h:37
ElectronMVAEstimator::detaeleout
Float_t detaeleout
Definition:
ElectronMVAEstimator.h:30
ElectronMVAEstimator::absdcot
Float_t absdcot
Definition:
ElectronMVAEstimator.h:42
ElectronMVAEstimator::dist
Float_t dist
Definition:
ElectronMVAEstimator.h:32
ElectronMVAEstimator::e1x5e5x5
Float_t e1x5e5x5
Definition:
ElectronMVAEstimator.h:28
ElectronMVAEstimator
Definition:
ElectronMVAEstimator.h:8
ElectronMVAEstimator::myNvtx
Float_t myNvtx
Definition:
ElectronMVAEstimator.h:45
convertXMLtoSQLite_cfg.fileName
tuple fileName
Definition:
convertXMLtoSQLite_cfg.py:12
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
ElectronMVAEstimator::bindVariables
void bindVariables()
Definition:
ElectronMVAEstimator.cc:101
ElectronMVAEstimator::mykfhits
Float_t mykfhits
Definition:
ElectronMVAEstimator.h:43
ElectronMVAEstimator::dphiin
Float_t dphiin
Definition:
ElectronMVAEstimator.h:24
ElectronMVAEstimator::mymishits
Float_t mymishits
Definition:
ElectronMVAEstimator.h:44
ElectronMVAEstimator::kfchi2
Float_t kfchi2
Definition:
ElectronMVAEstimator.h:31
ElectronMVAEstimator::absdist
Float_t absdist
Definition:
ElectronMVAEstimator.h:41
ElectronMVAEstimator::Nvtx
Int_t Nvtx
Definition:
ElectronMVAEstimator.h:39
ElectronMVAEstimator::tmvaReader_
TMVA::Reader * tmvaReader_
Definition:
ElectronMVAEstimator.h:20
GsfElectron.h
ElectronMVAEstimator::hoe
Float_t hoe
Definition:
ElectronMVAEstimator.h:26
ElectronMVAEstimator::dcot
Float_t dcot
Definition:
ElectronMVAEstimator.h:33
ElectronMVAEstimator::~ElectronMVAEstimator
~ElectronMVAEstimator()
Definition:
ElectronMVAEstimator.h:12
ElectronMVAEstimator::mishits
Int_t mishits
Definition:
ElectronMVAEstimator.h:37
ElectronMVAEstimator::init
void init(std::string fileName)
Definition:
ElectronMVAEstimator.cc:15
ElectronMVAEstimator::eta
Float_t eta
Definition:
ElectronMVAEstimator.h:34
ElectronMVAEstimator::ElectronMVAEstimator
ElectronMVAEstimator()
Definition:
ElectronMVAEstimator.cc:8
ElectronMVAEstimator::mva
double mva(const reco::GsfElectron &myElectron, int nvertices=0)
Definition:
ElectronMVAEstimator.cc:45
ElectronMVAEstimator::eop
Float_t eop
Definition:
ElectronMVAEstimator.h:27
ElectronMVAEstimator::fbrem
Float_t fbrem
Definition:
ElectronMVAEstimator.h:22
ElectronMVAEstimator::pt
Float_t pt
Definition:
ElectronMVAEstimator.h:35
ElectronMVAEstimator::eleopout
Float_t eleopout
Definition:
ElectronMVAEstimator.h:29
ElectronMVAEstimator::detain
Float_t detain
Definition:
ElectronMVAEstimator.h:23
Generated for CMSSW Reference Manual by
1.8.5