#include <SoftElectronMVAEstimator.h>
Classes | |
struct | Configuration |
Public Member Functions | |
UInt_t | GetMVABin (int pu, double eta, double pt) const |
double | mva (const reco::GsfElectron &myElectron, const reco::VertexCollection &) const |
SoftElectronMVAEstimator (const Configuration &) | |
~SoftElectronMVAEstimator () | |
Static Public Attributes | |
static unsigned int | ExpectedNBins = 1 |
Private Member Functions | |
void | bindVariables (float vars[25]) const |
void | init () |
Private Attributes | |
const Configuration | cfg_ |
Float_t | DeltaEtaTrackEcalSeed |
Float_t | deta |
Float_t | detacalo |
Float_t | dphi |
Float_t | EBremOverDeltaP |
Float_t | eleEoPout |
Float_t | eta |
Float_t | etawidth |
Float_t | EtotOvePin |
Float_t | fbrem |
std::array< std::unique_ptr < const GBRForest > , ExpectedNBins > | gbr |
Float_t | gsfchi2 |
Float_t | HoE |
Float_t | IoEmIoP |
Float_t | kfchi2 |
Float_t | kfhits |
Float_t | logSigmaEtaEta |
Float_t | nPV |
Float_t | OneMinusE1x5E5x5 |
Float_t | phiwidth |
Float_t | PreShowerOverRaw |
Float_t | pt |
Float_t | R9 |
Float_t | see |
Float_t | SigmaPtOverPt |
Float_t | spp |
Definition at line 14 of file SoftElectronMVAEstimator.h.
SoftElectronMVAEstimator::SoftElectronMVAEstimator | ( | const Configuration & | cfg | ) |
Definition at line 10 of file SoftElectronMVAEstimator.cc.
References assert(), cfg_, gather_cfg::cout, DeltaEtaTrackEcalSeed, deta, detacalo, dphi, EBremOverDeltaP, eleEoPout, eta, etawidth, EtotOvePin, ExpectedNBins, fbrem, contentValuesFiles::fullPath, gbr, gsfchi2, HoE, i, compare_using_db::ifile, IoEmIoP, kfchi2, kfhits, logSigmaEtaEta, nPV, OneMinusE1x5E5x5, phiwidth, PreShowerOverRaw, pt, R9, see, SigmaPtOverPt, spp, AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::temp, and SoftElectronMVAEstimator::Configuration::vweightsfiles.
SoftElectronMVAEstimator::~SoftElectronMVAEstimator | ( | ) |
Definition at line 70 of file SoftElectronMVAEstimator.cc.
|
private |
Definition at line 172 of file SoftElectronMVAEstimator.cc.
References funct::abs().
Referenced by mva().
UInt_t SoftElectronMVAEstimator::GetMVABin | ( | int | pu, |
double | eta, | ||
double | pt | ||
) | const |
Definition at line 74 of file SoftElectronMVAEstimator.cc.
References newFWLiteAna::bin, cmsHarvester::index, and nPV.
|
private |
double SoftElectronMVAEstimator::mva | ( | const reco::GsfElectron & | myElectron, |
const reco::VertexCollection & | pvc | ||
) | const |
Definition at line 101 of file SoftElectronMVAEstimator.cc.
References bindVariables(), reco::GsfElectron::closestCtfTrackRef(), reco::GsfElectron::deltaEtaEleClusterTrackAtCalo(), reco::GsfElectron::deltaEtaSeedClusterTrackAtCalo(), reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx(), reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx(), reco::GsfElectron::e1x5(), reco::GsfElectron::e5x5(), reco::GsfElectron::ecalEnergy(), reco::GsfElectron::eEleClusterOverPout(), reco::GsfElectron::eSuperClusterOverP(), reco::LeafCandidate::eta(), reco::GsfElectron::fbrem(), gbr, edm::Ref< C, T, F >::get(), reco::GsfElectron::gsfTrack(), reco::GsfElectron::hcalOverEcalBc(), edm::Ref< C, T, F >::isAvailable(), edm::Ref< C, T, F >::isNonnull(), cmsBatch::log, reco::LeafCandidate::p(), reco::LeafCandidate::pt(), reco::GsfElectron::r9(), query::result, reco::GsfElectron::sigmaEtaEta(), reco::GsfElectron::sigmaIetaIeta(), reco::GsfElectron::sigmaIphiIphi(), reco::GsfElectron::superCluster(), reco::GsfElectron::trackMomentumAtEleClus(), and reco::GsfElectron::trackMomentumAtVtx().
|
private |
Definition at line 31 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().
|
private |
Definition at line 38 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().
|
private |
Definition at line 45 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().
|
private |
Definition at line 47 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().
|
private |
Definition at line 46 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().
|
private |
Definition at line 36 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().
|
private |
Definition at line 56 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().
|
private |
Definition at line 64 of file SoftElectronMVAEstimator.h.
Referenced by Particle.Particle::__str__(), Muon.Muon::absEffAreaIso(), Jet.Jet::jetID(), Jet.Jet::puJetId(), and SoftElectronMVAEstimator().
|
private |
Definition at line 50 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().
|
private |
Definition at line 35 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().
|
static |
Definition at line 16 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().
|
private |
Definition at line 34 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().
|
private |
Definition at line 32 of file SoftElectronMVAEstimator.h.
Referenced by mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 41 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().
|
private |
Definition at line 54 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().
|
private |
Definition at line 60 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().
|
private |
Definition at line 39 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().
|
private |
Definition at line 40 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().
|
private |
Definition at line 37 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().
|
private |
Definition at line 67 of file SoftElectronMVAEstimator.h.
Referenced by GetMVABin(), and SoftElectronMVAEstimator().
|
private |
Definition at line 52 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().
|
private |
Definition at line 51 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().
|
private |
Definition at line 61 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().
|
private |
Definition at line 65 of file SoftElectronMVAEstimator.h.
Referenced by Particle.Particle::__str__(), ZMuMuRochCorAnalyzer.DiMuon::__str__(), DiObject.DiMuon::__str__(), Photon.Photon::calScaledIsoValue(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDTight(), Lepton.Lepton::relEffAreaIso(), Lepton.Lepton::relIso(), and SoftElectronMVAEstimator().
|
private |
Definition at line 59 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().
|
private |
Definition at line 49 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().
|
private |
Definition at line 42 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().
|
private |
Definition at line 58 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().