#include <SeedMvaEstimatorPhase2.h>
Public Member Functions | |
double | computeMva (const TrajectorySeed &, const GlobalVector &, const GlobalPoint &, const edm::Handle< l1t::TrackerMuonCollection > &, const edm::ESHandle< MagneticField > &, const Propagator &, const GeometricSearchTracker &) const |
SeedMvaEstimatorPhase2 (const edm::FileInPath &weightsfile, const std::vector< double > &scale_mean, const std::vector< double > &scale_std) | |
~SeedMvaEstimatorPhase2 () | |
Private Member Functions | |
void | getHitL1TkVariables (const TrajectorySeed &, const edm::Handle< l1t::TrackerMuonCollection > &, const edm::ESHandle< MagneticField > &, const Propagator &, const GeometricSearchTracker &, float &, float &, float &) const |
vector< pair< LayerHit, LayerTSOS > > | getHitTsosPairs (const TrajectorySeed &, const edm::Handle< l1t::TrackerMuonCollection > &, const edm::ESHandle< MagneticField > &, const Propagator &, const GeometricSearchTracker &) const |
void | getL1TTVariables (const TrajectorySeed &, const GlobalVector &, const GlobalPoint &, const edm::Handle< l1t::TrackerMuonCollection > &, float &, float &) const |
vector< LayerTSOS > | getTsosOnPixels (const TTTrack< Ref_Phase2TrackerDigi_ > &, const edm::ESHandle< MagneticField > &, const Propagator &, const GeometricSearchTracker &) const |
Private Attributes | |
std::unique_ptr< const GBRForest > | gbrForest_ |
const std::vector< double > | scale_mean_ |
const std::vector< double > | scale_std_ |
Definition at line 42 of file SeedMvaEstimatorPhase2.h.
SeedMvaEstimatorPhase2::SeedMvaEstimatorPhase2 | ( | const edm::FileInPath & | weightsfile, |
const std::vector< double > & | scale_mean, | ||
const std::vector< double > & | scale_std | ||
) |
Definition at line 30 of file SeedMvaEstimatorPhase2.cc.
References createGBRForest(), and gbrForest_.
SeedMvaEstimatorPhase2::~SeedMvaEstimatorPhase2 | ( | ) |
Definition at line 37 of file SeedMvaEstimatorPhase2.cc.
double SeedMvaEstimatorPhase2::computeMva | ( | const TrajectorySeed & | seed, |
const GlobalVector & | global_p, | ||
const GlobalPoint & | global_x, | ||
const edm::Handle< l1t::TrackerMuonCollection > & | h_L1TkMu, | ||
const edm::ESHandle< MagneticField > & | magfieldH, | ||
const Propagator & | propagatorAlong, | ||
const GeometricSearchTracker & | geomTracker | ||
) | const |
Definition at line 271 of file SeedMvaEstimatorPhase2.cc.
References gbrForest_, getHitL1TkVariables(), getL1TTVariables(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::iv, Phase2::kDRdPhiL1TkMuSeedP, Phase2::kDRdRL1TkMuSeedP, Phase2::kExpd2HitL1Tk1, Phase2::kExpd2HitL1Tk2, Phase2::kExpd2HitL1Tk3, Phase2::kLast, Phase2::kTsosDxdz, Phase2::kTsosDydz, Phase2::kTsosErr0, Phase2::kTsosErr2, Phase2::kTsosErr5, Phase2::kTsosQbp, L1TMuonDQMOffline_cfi::propagatorAlong, scale_mean_, scale_std_, and fileCollector::seed.
|
private |
Definition at line 182 of file SeedMvaEstimatorPhase2.cc.
References JetChargeProducer_cfi::exp, newFWLiteAna::found, getHitTsosPairs(), funct::pow(), L1TMuonDQMOffline_cfi::propagatorAlong, and fileCollector::seed.
Referenced by computeMva().
|
private |
Definition at line 126 of file SeedMvaEstimatorPhase2.cc.
References l1ctLayer1_cff::dr, nano_mu_digi_cff::float, getTsosOnPixels(), mps_fire::i, GeometricSearchTracker::idToLayer(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, hltIter2Phase2L3FromL1TkMuonPixelSeedsFiltered_cfi::L1TkMu, mag(), MillePedeFileConverter_cfg::out, L1TMuonDQMOffline_cfi::propagatorAlong, fileCollector::seed, and mitigatedMETSequence_cff::U.
Referenced by getHitL1TkVariables().
|
private |
Definition at line 39 of file SeedMvaEstimatorPhase2.cc.
References reco::deltaPhi(), reco::deltaR(), hltIter2Phase2L3FromL1TkMuonPixelSeedsFiltered_cfi::L1TkMu, and PV3DBase< T, PVType, FrameType >::phi().
Referenced by computeMva().
|
private |
Definition at line 56 of file SeedMvaEstimatorPhase2.cc.
References funct::abs(), PbPb_ZMuSkimMuonDPG_cff::deltaR, l1tTrackerHTMiss_cfi::deltaZ, TrajectoryStateOnSurface::globalDirection(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, TrajectoryStateOnSurface::localDirection(), TrajectoryStateOnSurface::localPosition(), SiStripPI::max, TTTrack< T >::momentum(), GeometricSearchTracker::negPixelForwardLayers(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::perp2(), GeometricSearchTracker::pixelBarrelLayers(), TTTrack< T >::POCA(), GeometricSearchTracker::posPixelForwardLayers(), edm::ESHandle< T >::product(), L1TMuonDQMOffline_cfi::propagatorAlong, diffTwoXMLs::r2, TTTrack< T >::rInv(), PV3DBase< T, PVType, FrameType >::z(), and HLTMuonOfflineAnalyzer_cfi::z0.
Referenced by getHitTsosPairs().
|
private |
Definition at line 58 of file SeedMvaEstimatorPhase2.h.
Referenced by computeMva(), and SeedMvaEstimatorPhase2().
|
private |
Definition at line 59 of file SeedMvaEstimatorPhase2.h.
Referenced by computeMva().
|
private |
Definition at line 60 of file SeedMvaEstimatorPhase2.h.
Referenced by computeMva().