Definition at line 23 of file ElectronMVAEstimator.cc.
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::HitPattern::MISSING_INNER_HITS, reco::LeafCandidate::pt(), mps_fire::result, and reco::GsfElectron::sigmaIetaIeta().
Referenced by ~ElectronMVAEstimator().
26 vars[0] = myElectron.
fbrem();
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.;
47 vars[15] = myElectron.
eta();
48 vars[16] = myElectron.
pt();
58 const unsigned index = (unsigned)(myElectron.
pt() >= 10) + 2 * (
unsigned)(
std::abs(myElectron.
eta()) > 1.485);
GsfTrackRef gsfTrack() const override
reference to a GsfTrack
virtual TrackRef closestCtfTrackRef() const
bool isNonnull() const
Checks for non-null.
double eta() const final
momentum pseudorapidity
float eSuperClusterOverP() const
std::vector< std::unique_ptr< const GBRForest > > gbr_
double pt() const final
transverse momentum
void bindVariables(float vars[18]) const
float deltaEtaSuperClusterTrackAtVtx() const
float sigmaIetaIeta() const
float deltaPhiSuperClusterTrackAtVtx() const
float hcalOverEcal() const
Abs< T >::type abs(const T &t)
float eEleClusterOverPout() const
float deltaEtaEleClusterTrackAtCalo() const
bool ecalDrivenSeed() const