#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=nullptr, const reco::JetCorrector *correctorL1L2L3Res=nullptr) 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 20 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 = nullptr , |
||
const reco::JetCorrector * | correctorL1L2L3Res = nullptr |
||
) | const |
Definition at line 53 of file MuonMvaEstimator.cc.
References reco::PFCandidate::bestTrack(), reco::LeafCandidate::charge(), pat::PFIsolation::chargedHadronIso(), reco::JetCorrector::correction(), pat::Muon::dB(), HLT_FULL_cff::deltaR, runTauDisplay::dr, dRmax_, PVValHelper::dz, pat::Muon::edB(), reco::LeafCandidate::eta(), Exception, gbrForest_, reco::TrackBase::highPurity, metsig::jet, JetComb::kEta, kPt, log, SiStripPI::max, pat::Lepton< LeptonType >::miniPFIsolation(), pat::Muon::muonBestTrack(), reco::RecoCandidate::p4, reco::Muon::pfIsolationR04(), reco::Vertex::position(), reco::LeafCandidate::pt(), reco::TrackBase::pt(), pat::Muon::PV2D, pat::Muon::PV3D, pat::Muon::segmentCompatibility(), reco::MuonPFIsolation::sumChargedHadronPt, reco::MuonPFIsolation::sumNeutralHadronEt, reco::MuonPFIsolation::sumPhotonEt, reco::MuonPFIsolation::sumPUPt, and isotrackApplyRegressor::var.
|
private |
Definition at line 42 of file MuonMvaEstimator.h.
Referenced by computeMva().
|
private |
Definition at line 41 of file MuonMvaEstimator.h.
Referenced by computeMva(), and MuonMvaEstimator().