#include <ElectronMVAEstimator.h>
Definition at line 10 of file ElectronMVAEstimator.h.
◆ ElectronMVAEstimator() [1/3]
ElectronMVAEstimator::ElectronMVAEstimator |
( |
| ) |
|
◆ ElectronMVAEstimator() [2/3]
ElectronMVAEstimator::ElectronMVAEstimator |
( |
const std::string & |
fileName | ) |
|
◆ ElectronMVAEstimator() [3/3]
ElectronMVAEstimator::ElectronMVAEstimator |
( |
const Configuration & |
cfg | ) |
|
◆ ~ElectronMVAEstimator()
ElectronMVAEstimator::~ElectronMVAEstimator |
( |
| ) |
|
|
inline |
◆ bindVariables()
void ElectronMVAEstimator::bindVariables |
( |
float |
vars[18] | ) |
const |
|
private |
◆ mva()
double ElectronMVAEstimator::mva |
( |
const reco::GsfElectron & |
myElectron, |
|
|
int |
nvertices = 0 |
|
) |
| const |
Definition at line 23 of file ElectronMVAEstimator.cc.
32 vars[6] = (myElectron.
e5x5()) != 0. ? 1. - (myElectron.
e1x5() / myElectron.
e5x5()) : -1.;
41 vars[9] = (validKF) ? myTrackRef->normalizedChi2() : 0;
42 vars[10] = (validKF) ? myTrackRef->hitPattern().trackerLayersWithMeasurement() : -1.;
48 vars[16] = myElectron.
pt();
58 const unsigned index = (unsigned)(myElectron.
pt() >= 10) + 2 * (
unsigned)(
std::abs(myElectron.
eta()) > 1.485);
References funct::abs(), bindVariables(), reco::GsfElectron::closestCtfTrackRef(), reco::GsfElectron::convDcot(), reco::GsfElectron::convDist(), reco::GsfElectron::deltaEtaEleClusterTrackAtCalo(), reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx(), reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx(), reco::GsfElectron::e1x5(), reco::GsfElectron::e5x5(), reco::GsfElectron::ecalDrivenSeed(), reco::GsfElectron::eEleClusterOverPout(), reco::GsfElectron::eSuperClusterOverP(), reco::LeafCandidate::eta(), reco::GsfElectron::fbrem(), gbr_, reco::GsfElectron::gsfTrack(), reco::GsfElectron::hcalOverEcal(), edm::Ref< C, T, F >::isAvailable(), edm::Ref< C, T, F >::isNonnull(), reco::LeafCandidate::pt(), mps_fire::result, and reco::GsfElectron::sigmaIetaIeta().
◆ cfg_
◆ gbr_
std::vector<std::unique_ptr<const GBRForest> > ElectronMVAEstimator::gbr_ |
|
private |