#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 edm::Event &evt) |
SoftElectronMVAEstimator (const Configuration &) | |
~SoftElectronMVAEstimator () | |
Private Member Functions | |
void | bindVariables () |
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 | EoP |
Float_t | eta |
Float_t | etawidth |
Float_t | EtotOvePin |
Float_t | fbrem |
std::vector< TMVA::Reader * > | fmvaReader |
Float_t | gsfchi2 |
Float_t | HoE |
Float_t | IoEmIoP |
Float_t | kfchi2 |
Float_t | kfhits |
Float_t | logSigmaEtaEta |
std::vector< std::string > | mvaWeightFiles_ |
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 |
TMVA::Reader * | tmvaReader_ |
Definition at line 12 of file SoftElectronMVAEstimator.h.
SoftElectronMVAEstimator::SoftElectronMVAEstimator | ( | const Configuration & | cfg | ) |
Definition at line 8 of file SoftElectronMVAEstimator.cc.
References cfg_, gather_cfg::cout, DeltaEtaTrackEcalSeed, deta, detacalo, dphi, EBremOverDeltaP, eleEoPout, eta, etawidth, EtotOvePin, fbrem, fmvaReader, contentValuesFiles::fullPath, gsfchi2, HoE, i, compare_using_db::ifile, IoEmIoP, kfchi2, kfhits, logSigmaEtaEta, nPV, OneMinusE1x5E5x5, phiwidth, PreShowerOverRaw, pt, R9, see, SigmaPtOverPt, spp, AlCaHLTBitMon_QueryRunRegistry::string, tmvaReader_, and SoftElectronMVAEstimator::Configuration::vweightsfiles.
SoftElectronMVAEstimator::~SoftElectronMVAEstimator | ( | ) |
Definition at line 79 of file SoftElectronMVAEstimator.cc.
References fmvaReader, and i.
|
private |
Definition at line 185 of file SoftElectronMVAEstimator.cc.
References deta, detacalo, dphi, eleEoPout, EoP, fbrem, gsfchi2, kfchi2, and OneMinusE1x5E5x5.
Referenced by mva().
UInt_t SoftElectronMVAEstimator::GetMVABin | ( | int | pu, |
double | eta, | ||
double | pt | ||
) | const |
Definition at line 87 of file SoftElectronMVAEstimator.cc.
References newFWLiteAna::bin, cmsHarvester::index, and nPV.
|
private |
double SoftElectronMVAEstimator::mva | ( | const reco::GsfElectron & | myElectron, |
const edm::Event & | evt | ||
) |
Definition at line 114 of file SoftElectronMVAEstimator.cc.
References bindVariables(), reco::GsfElectron::closestCtfTrackRef(), reco::GsfElectron::deltaEtaEleClusterTrackAtCalo(), reco::GsfElectron::deltaEtaSeedClusterTrackAtCalo(), reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx(), DeltaEtaTrackEcalSeed, reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx(), deta, detacalo, dphi, reco::GsfElectron::e1x5(), reco::GsfElectron::e5x5(), EBremOverDeltaP, reco::GsfElectron::ecalEnergy(), reco::GsfElectron::eEleClusterOverPout(), eleEoPout, reco::GsfElectron::eSuperClusterOverP(), eta, reco::LeafCandidate::eta(), etawidth, EtotOvePin, fbrem, reco::GsfElectron::fbrem(), fmvaReader, edm::Ref< C, T, F >::get(), edm::Event::getByLabel(), gsfchi2, reco::GsfElectron::gsfTrack(), reco::GsfElectron::hcalOverEcalBc(), HoE, IoEmIoP, edm::Ref< C, T, F >::isAvailable(), edm::Ref< C, T, F >::isNonnull(), kfchi2, kfhits, log, logSigmaEtaEta, nPV, OneMinusE1x5E5x5, reco::LeafCandidate::p(), phiwidth, PreShowerOverRaw, edm::Handle< T >::product(), pt, reco::LeafCandidate::pt(), R9, reco::GsfElectron::r9(), query::result, see, reco::GsfElectron::sigmaEtaEta(), reco::GsfElectron::sigmaIetaIeta(), reco::GsfElectron::sigmaIphiIphi(), SigmaPtOverPt, spp, reco::GsfElectron::superCluster(), reco::GsfElectron::trackMomentumAtEleClus(), and reco::GsfElectron::trackMomentumAtVtx().
Referenced by GsfElectronAlgo::isPreselected(), and GsfElectronAlgo::setMVAOutputs().
|
private |
Definition at line 26 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().
|
private |
Definition at line 35 of file SoftElectronMVAEstimator.h.
Referenced by mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 42 of file SoftElectronMVAEstimator.h.
Referenced by bindVariables(), mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 44 of file SoftElectronMVAEstimator.h.
Referenced by bindVariables(), mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 43 of file SoftElectronMVAEstimator.h.
Referenced by bindVariables(), mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 33 of file SoftElectronMVAEstimator.h.
Referenced by mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 53 of file SoftElectronMVAEstimator.h.
Referenced by bindVariables(), mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 52 of file SoftElectronMVAEstimator.h.
Referenced by bindVariables().
|
private |
Definition at line 61 of file SoftElectronMVAEstimator.h.
Referenced by mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 47 of file SoftElectronMVAEstimator.h.
Referenced by mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 32 of file SoftElectronMVAEstimator.h.
Referenced by mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 31 of file SoftElectronMVAEstimator.h.
Referenced by bindVariables(), mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 28 of file SoftElectronMVAEstimator.h.
Referenced by mva(), SoftElectronMVAEstimator(), and ~SoftElectronMVAEstimator().
|
private |
Definition at line 38 of file SoftElectronMVAEstimator.h.
Referenced by bindVariables(), mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 51 of file SoftElectronMVAEstimator.h.
Referenced by mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 57 of file SoftElectronMVAEstimator.h.
Referenced by mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 36 of file SoftElectronMVAEstimator.h.
Referenced by bindVariables(), mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 37 of file SoftElectronMVAEstimator.h.
Referenced by mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 34 of file SoftElectronMVAEstimator.h.
Referenced by mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 27 of file SoftElectronMVAEstimator.h.
|
private |
Definition at line 64 of file SoftElectronMVAEstimator.h.
Referenced by GetMVABin(), mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 49 of file SoftElectronMVAEstimator.h.
Referenced by bindVariables(), mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 48 of file SoftElectronMVAEstimator.h.
Referenced by mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 58 of file SoftElectronMVAEstimator.h.
Referenced by mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 62 of file SoftElectronMVAEstimator.h.
Referenced by mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 56 of file SoftElectronMVAEstimator.h.
Referenced by mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 46 of file SoftElectronMVAEstimator.h.
Referenced by mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 39 of file SoftElectronMVAEstimator.h.
Referenced by mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 55 of file SoftElectronMVAEstimator.h.
Referenced by mva(), and SoftElectronMVAEstimator().
|
private |
Definition at line 29 of file SoftElectronMVAEstimator.h.
Referenced by SoftElectronMVAEstimator().