#include <MuonMvaEstimator.h>
Public Member Functions | |
float | computeMva (const pat::Muon &imuon, const reco::Vertex &vertex, const reco::JetTagCollection &bTags, float &jetPtRatio, float &jetPtRel, 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, | ||
const reco::JetCorrector * | correctorL1 = 0 , |
||
const reco::JetCorrector * | correctorL1L2L3Res = 0 |
||
) | const |
Definition at line 54 of file MuonMvaEstimator.cc.
References reco::PFCandidate::bestTrack(), pat::Muon::BS2D, reco::LeafCandidate::charge(), pat::PFIsolation::chargedHadronIso(), reco::JetCorrector::correction(), pat::Muon::dB(), 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(), pat::PFIsolation::neutralHadronIso(), reco::LeafCandidate::p4(), pfDeepBoostedJetPreprocessParams_cfi::pfcand, reco::Muon::pfIsolationR04(), reco::Vertex::position(), reco::LeafCandidate::pt(), electrons_cff::ptRel, 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 43 of file MuonMvaEstimator.h.
Referenced by computeMva().
|
private |
Definition at line 42 of file MuonMvaEstimator.h.
Referenced by computeMva(), and MuonMvaEstimator().