#include <MTDTrackQualityMVA.h>
Public Member Functions | |
MTDTrackQualityMVA (std::string weights_file) | |
float | operator() (const reco::TrackRef &trk, const edm::ValueMap< int > &npixBarrels, const edm::ValueMap< int > &npixEndcaps, const edm::ValueMap< float > &btl_chi2s, const edm::ValueMap< float > &btl_time_chi2s, const edm::ValueMap< float > &etl_chi2s, const edm::ValueMap< float > &etl_time_chi2s, const edm::ValueMap< float > &tmtds, const edm::ValueMap< float > &trk_lengths) const |
Private Attributes | |
std::unique_ptr< TMVAEvaluator > | mva_ |
std::vector< std::string > | spec_vars_ |
std::vector< std::string > | vars_ |
Definition at line 31 of file MTDTrackQualityMVA.h.
|
strong |
Enumerator | |
---|---|
pt | |
eta | |
phi | |
chi2 | |
ndof | |
numberOfValidHits | |
numberOfValidPixelBarrelHits | |
numberOfValidPixelEndcapHits | |
btlMatchChi2 | |
btlMatchTimeChi2 | |
etlMatchChi2 | |
etlMatchTimeChi2 | |
mtdt | |
path_len |
Definition at line 36 of file MTDTrackQualityMVA.h.
MTDTrackQualityMVA::MTDTrackQualityMVA | ( | std::string | weights_file | ) |
Definition at line 3 of file MTDTrackQualityMVA.cc.
References AlcaSiPixelAliHarvester0T_cff::method, MTDBDTVAR_STRING, MTDTRACKQUALITYMVA_VARS, mva_, AlcaSiPixelAliHarvester0T_cff::options, spec_vars_, AlCaHLTBitMon_QueryRunRegistry::string, and vars_.
float MTDTrackQualityMVA::operator() | ( | const reco::TrackRef & | trk, |
const edm::ValueMap< int > & | npixBarrels, | ||
const edm::ValueMap< int > & | npixEndcaps, | ||
const edm::ValueMap< float > & | btl_chi2s, | ||
const edm::ValueMap< float > & | btl_time_chi2s, | ||
const edm::ValueMap< float > & | etl_chi2s, | ||
const edm::ValueMap< float > & | etl_time_chi2s, | ||
const edm::ValueMap< float > & | tmtds, | ||
const edm::ValueMap< float > & | trk_lengths | ||
) | const |
Definition at line 15 of file MTDTrackQualityMVA.cc.
References btlMatchChi2, btlMatchTimeChi2, chi2, edm::ValueMap< T >::contains(), eta, etlMatchChi2, etlMatchTimeChi2, mtdt, mva_, ndof, numberOfValidHits, numberOfValidPixelBarrelHits, numberOfValidPixelEndcapHits, path_len, phi, pt, mathSSE::sqrt(), and vars_.
|
private |
Definition at line 52 of file MTDTrackQualityMVA.h.
Referenced by MTDTrackQualityMVA(), and operator()().
|
private |
Definition at line 51 of file MTDTrackQualityMVA.h.
Referenced by MTDTrackQualityMVA().
|
private |
Definition at line 51 of file MTDTrackQualityMVA.h.
Referenced by MTDTrackQualityMVA(), and operator()().