#include <MuonMvaEstimator.h>
Public Member Functions | |
float | computeMva (const pat::Muon &imuon, const reco::Vertex &vertex, const reco::JetTagCollection &bTags, float &jetPtRatio, float &jetPtRel, float &miniIsoValue, const reco::JetCorrector *correctorL1=0, const reco::JetCorrector *correctorL1L2L3Res=0) const |
MuonMvaEstimator (const edm::FileInPath &weightsfile, float dRmax) | |
~MuonMvaEstimator () | |
Private Attributes | |
float | dRmax_ |
std::unique_ptr< const GBRForest > | gbrForest_ |
Definition at line 25 of file MuonMvaEstimator.h.
MuonMvaEstimator::MuonMvaEstimator | ( | const edm::FileInPath & | weightsfile, |
float | dRmax | ||
) |
Definition at line 16 of file MuonMvaEstimator.cc.
References createGBRForest(), and gbrForest_.
MuonMvaEstimator::~MuonMvaEstimator | ( | ) |
Definition at line 22 of file MuonMvaEstimator.cc.
float MuonMvaEstimator::computeMva | ( | const pat::Muon & | imuon, |
const reco::Vertex & | vertex, | ||
const reco::JetTagCollection & | bTags, | ||
float & | jetPtRatio, | ||
float & | jetPtRel, | ||
float & | miniIsoValue, | ||
const reco::JetCorrector * | correctorL1 = 0 , |
||
const reco::JetCorrector * | correctorL1L2L3Res = 0 |
||
) | const |
Definition at line 54 of file MuonMvaEstimator.cc.
References reco::PFCandidate::bestTrack(), reco::LeafCandidate::charge(), pat::PFIsolation::chargedHadronIso(), reco::JetCorrector::correction(), pat::Muon::dB(), boostedElectronIsolation_cff::deltaR, runTauDisplay::dr, dRmax_, PVValHelper::dz, pat::Muon::edB(), reco::LeafCandidate::eta(), Exception, gbrForest_, reco::TrackBase::highPurity, metsig::jet, JetComb::kEta, kPt, cmsBatch::log, SiStripPI::max, pat::Lepton< LeptonType >::miniPFIsolation(), pat::Muon::muonBestTrack(), reco::LeafCandidate::p4(), pfDeepBoostedJetPreprocessParams_cfi::pfcand, reco::Muon::pfIsolationR04(), reco::Vertex::position(), reco::LeafCandidate::pt(), reco::TrackBase::pt(), electrons_cff::ptRel, pat::Muon::PV2D, pat::Muon::PV3D, pat::Muon::segmentCompatibility(), reco::MuonPFIsolation::sumChargedHadronPt, reco::MuonPFIsolation::sumNeutralHadronEt, reco::MuonPFIsolation::sumPhotonEt, reco::MuonPFIsolation::sumPUPt, and JetChargeProducer_cfi::var.
|
private |
Definition at line 44 of file MuonMvaEstimator.h.
Referenced by computeMva().
|
private |
Definition at line 43 of file MuonMvaEstimator.h.
Referenced by computeMva(), and MuonMvaEstimator().