#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 std::string &weightsfile, float dRmax) | |
~MuonMvaEstimator () | |
Private Attributes | |
float | dRmax_ |
float | eta_ = 0.0 |
std::unique_ptr< const GBRForest > | gbrForest_ |
float | jetBTagCSV_ = 0.0 |
float | jetNDauCharged_ = 0.0 |
float | jetPtRatio_ = 0.0 |
float | jetPtRel_ = 0.0 |
float | log_abs_dxyBS_ = 0.0 |
float | log_abs_dzPV_ = 0.0 |
float | miniRelIsoCharged_ = 0.0 |
float | miniRelIsoNeutral_ = 0.0 |
float | pt_ = 0.0 |
MVA VAriables. More... | |
float | segmentCompatibility_ = 0.0 |
float | sip_ = 0.0 |
Definition at line 21 of file MuonMvaEstimator.h.
MuonMvaEstimator::MuonMvaEstimator | ( | const std::string & | weightsfile, |
float | dRmax | ||
) |
Definition at line 22 of file MuonMvaEstimator.cc.
References eta_, gbrForest_, jetBTagCSV_, jetNDauCharged_, jetPtRatio_, jetPtRel_, log_abs_dxyBS_, log_abs_dzPV_, miniRelIsoCharged_, miniRelIsoNeutral_, pt_, segmentCompatibility_, sip_, and groupFilesInBlocks::temp.
MuonMvaEstimator::~MuonMvaEstimator | ( | ) |
Definition at line 43 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 75 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 39 of file MuonMvaEstimator.h.
Referenced by computeMva().
|
private |
Definition at line 43 of file MuonMvaEstimator.h.
Referenced by MuonMvaEstimator().
|
private |
Definition at line 38 of file MuonMvaEstimator.h.
Referenced by computeMva(), and MuonMvaEstimator().
|
private |
Definition at line 49 of file MuonMvaEstimator.h.
Referenced by MuonMvaEstimator().
|
private |
Definition at line 44 of file MuonMvaEstimator.h.
Referenced by MuonMvaEstimator().
|
private |
Definition at line 48 of file MuonMvaEstimator.h.
Referenced by MuonMvaEstimator().
|
private |
Definition at line 47 of file MuonMvaEstimator.h.
Referenced by MuonMvaEstimator().
|
private |
Definition at line 51 of file MuonMvaEstimator.h.
Referenced by MuonMvaEstimator().
|
private |
Definition at line 52 of file MuonMvaEstimator.h.
Referenced by MuonMvaEstimator().
|
private |
Definition at line 45 of file MuonMvaEstimator.h.
Referenced by MuonMvaEstimator().
|
private |
Definition at line 46 of file MuonMvaEstimator.h.
Referenced by MuonMvaEstimator().
|
private |
|
private |
Definition at line 53 of file MuonMvaEstimator.h.
Referenced by MuonMvaEstimator().
|
private |
Definition at line 50 of file MuonMvaEstimator.h.
Referenced by MuonMvaEstimator().