#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_ |
const std::vector< double > | scale_mean_ |
const std::vector< double > | scale_std_ |
Definition at line 23 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(), and gbrForest_.
SeedMvaEstimator::~SeedMvaEstimator | ( | ) |
Definition at line 18 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 72 of file SeedMvaEstimator.cc.
References LocalTrajectoryParameters::dxdz(), LocalTrajectoryParameters::dydz(), PTrajectoryStateOnDet::error(), gbrForest_, getL1MuonVariables(), getL2MuonVariables(), isFromL1_, gpuVertexFinder::iv, PTrajectoryStateOnDet::parameters(), LocalTrajectoryParameters::qbp(), scale_mean_, scale_std_, mathSSE::sqrt(), TrajectorySeed::startingState(), and ALCARECOEcalPhiSym_cff::var.
|
private |
Definition at line 38 of file SeedMvaEstimator.cc.
References BXVector< T >::begin(), reco::deltaPhi(), reco::deltaR2(), BXVector< T >::end(), PV3DBase< T, PVType, FrameType >::eta(), BXVector< T >::getFirstBX(), BXVector< T >::getLastBX(), minL1Qual_, and PV3DBase< T, PVType, FrameType >::phi().
Referenced by computeMva().
|
private |
Definition at line 59 of file SeedMvaEstimator.cc.
References reco::deltaPhi(), reco::deltaR2(), and PV3DBase< T, PVType, FrameType >::phi().
Referenced by computeMva().
|
private |
Definition at line 38 of file SeedMvaEstimator.h.
Referenced by computeMva(), and SeedMvaEstimator().
|
private |
Definition at line 41 of file SeedMvaEstimator.h.
Referenced by computeMva().
|
private |
Definition at line 42 of file SeedMvaEstimator.h.
Referenced by getL1MuonVariables().
|
private |
Definition at line 39 of file SeedMvaEstimator.h.
Referenced by computeMva().
|
private |
Definition at line 40 of file SeedMvaEstimator.h.
Referenced by computeMva().