#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 |
Definition at line 22 of file PosteriorWeightsCalculator.h.
std::vector< double > PosteriorWeightsCalculator::weights | ( | const TrackingRecHit & | tsos | ) | const |
Create random state.
Definition at line 9 of file PosteriorWeightsCalculator.cc.
References TrackingRecHit::dimension(), and Exception.
Referenced by GsfChi2MeasurementEstimator::estimate(), and GsfMultiStateUpdator::update().
std::vector<double> PosteriorWeightsCalculator::weights | ( | const TrackingRecHit & | tsos | ) | const |
|
private |
Definition at line 29 of file PosteriorWeightsCalculator.h.