#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 TtFullHadKinFitProducer_cfi::bTags, reco::JetCorrector::correction(), PbPb_ZMuSkimMuonDPG_cff::deltaR, flavorHistoryFilter_cfi::dr, dRmax_, PVValHelper::dz, Exception, gbrForest_, reco::TrackBase::highPurity, metsig::jet, JetComb::kEta, kPt, dqm-mbProfile::log, SiStripPI::max, pfDeepBoostedJetPreprocessParams_cfi::pfcand, electrons_cff::ptRel, pat::Muon::PV2D, pat::Muon::PV3D, trigObjTnPSource_cfi::var, and bphysicsOniaDQM_cfi::vertex.
|
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().