#include <SeedMvaEstimator.h>
Public Member Functions | |
double | computeMva (const TrajectorySeed &, const GlobalVector &, const l1t::MuonBxCollection &, const reco::RecoChargedCandidateCollection &) const |
SeedMvaEstimator (const edm::FileInPath &weightsfile, const std::vector< double > &scale_mean, const std::vector< double > &scale_std, const bool isFromL1, const int minL1Qual) | |
~SeedMvaEstimator () | |
Private Member Functions | |
void | getL1MuonVariables (const GlobalVector &, const l1t::MuonBxCollection &, float &, float &) const |
void | getL2MuonVariables (const GlobalVector &, const reco::RecoChargedCandidateCollection &, float &, float &) const |
Private Attributes | |
std::unique_ptr< const GBRForest > | gbrForest_ |
const bool | isFromL1_ |
const int | minL1Qual_ |
std::vector< float > | scale_istd_ |
const std::vector< float > | scale_mean_ |
Definition at line 41 of file SeedMvaEstimator.h.
SeedMvaEstimator::SeedMvaEstimator | ( | const edm::FileInPath & | weightsfile, |
const std::vector< double > & | scale_mean, | ||
const std::vector< double > & | scale_std, | ||
const bool | isFromL1, | ||
const int | minL1Qual | ||
) |
Definition at line 9 of file SeedMvaEstimator.cc.
References createGBRForest(), gbrForest_, scale_istd_, and findQualityFiles::v.
SeedMvaEstimator::~SeedMvaEstimator | ( | ) |
Definition at line 21 of file SeedMvaEstimator.cc.
double SeedMvaEstimator::computeMva | ( | const TrajectorySeed & | seed, |
const GlobalVector & | global_p, | ||
const l1t::MuonBxCollection & | l1Muons, | ||
const reco::RecoChargedCandidateCollection & | l2Muons | ||
) | const |
Definition at line 58 of file SeedMvaEstimator.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), gbrForest_, getL1MuonVariables(), getL2MuonVariables(), isFromL1_, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::iv, Phase2::kLast, Phase2::kTsosDxdz, Phase2::kTsosDydz, Phase2::kTsosErr0, Phase2::kTsosErr2, Phase2::kTsosErr5, Phase2::kTsosQbp, scale_istd_, scale_mean_, fileCollector::seed, mathSSE::sqrt(), and trigObjTnPSource_cfi::var.
|
private |
Definition at line 23 of file SeedMvaEstimator.cc.
References PV3DBase< T, PVType, FrameType >::barePhi(), BXVector< T >::begin(), reco::deltaPhi(), reco::deltaR2(), BXVector< T >::end(), PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, minL1Qual_, and phi.
Referenced by computeMva().
|
private |
Definition at line 43 of file SeedMvaEstimator.cc.
References PV3DBase< T, PVType, FrameType >::barePhi(), reco::deltaPhi(), reco::deltaR2(), PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and phi.
Referenced by computeMva().
|
private |
Definition at line 56 of file SeedMvaEstimator.h.
Referenced by computeMva(), and SeedMvaEstimator().
|
private |
Definition at line 59 of file SeedMvaEstimator.h.
Referenced by computeMva().
|
private |
Definition at line 60 of file SeedMvaEstimator.h.
Referenced by getL1MuonVariables().
|
private |
Definition at line 58 of file SeedMvaEstimator.h.
Referenced by computeMva(), and SeedMvaEstimator().
|
private |
Definition at line 57 of file SeedMvaEstimator.h.
Referenced by computeMva().