#include <PosteriorWeightsCalculator.h>
Public Member Functions | |
PosteriorWeightsCalculator (const std::vector< TSOS > &mixture) | |
std::vector< double > | weights (const TrackingRecHit &tsos) const |
Create random state. More... | |
template<unsigned int D> | |
std::vector< double > | weights (const TrackingRecHit &tsos) const |
~PosteriorWeightsCalculator () | |
Private Types | |
typedef TrajectoryStateOnSurface | TSOS |
Private Attributes | |
std::vector< TSOS > | predictedComponents |
Helper class which calculates the posterior weights of a Gaussian mixture given a prior (predicted) mixture and a RecHit. The prior is specified during construction time in the form of a vector of trajectory states.
Definition at line 13 of file PosteriorWeightsCalculator.h.
|
private |
Definition at line 16 of file PosteriorWeightsCalculator.h.
|
inline |
Definition at line 19 of file PosteriorWeightsCalculator.h.
|
inline |
std::vector< double > PosteriorWeightsCalculator::weights | ( | const TrackingRecHit & | tsos | ) | const |
Create random state.
Definition at line 11 of file PosteriorWeightsCalculator.cc.
References TrackingRecHit::dimension(), Exception, and rpcPointValidation_cfi::recHit.
Referenced by GsfChi2MeasurementEstimator::estimate(), GsfMultiStateUpdator::update(), weights(), and ~PosteriorWeightsCalculator().
std::vector< double > PosteriorWeightsCalculator::weights | ( | const TrackingRecHit & | tsos | ) | const |
Definition at line 23 of file PosteriorWeightsCalculator.cc.
References vertices_cff::chi2, muonBadTrackFilter_cfi::chi2Min, JetChargeProducer_cfi::exp, TrackingRecHit::getKfComponents(), mps_fire::i, invertPosDefMatrix(), LogDebug, convertSQLiteXML::ok, AlCaHLTBitMon_ParallelJobs::p, predictedComponents, dttmaxenums::R, alignCSCRings::r, mathSSE::sqrt(), w, weights(), and x.
|
private |
Definition at line 29 of file PosteriorWeightsCalculator.h.
Referenced by weights().