#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 15 of file PosteriorWeightsCalculator.h.
|
inline |
Definition at line 18 of file PosteriorWeightsCalculator.h.
|
inline |
Definition at line 20 of file PosteriorWeightsCalculator.h.
std::vector< double > PosteriorWeightsCalculator::weights | ( | const TrackingRecHit & | tsos | ) | const |
Create random state.
Definition at line 11 of file PosteriorWeightsCalculator.cc.
References Exception, and rpcPointValidation_cfi::recHit.
Referenced by GsfChi2MeasurementEstimator::estimate(), GsfMultiStateUpdator::update(), and weights().
std::vector< double > PosteriorWeightsCalculator::weights | ( | const TrackingRecHit & | tsos | ) | const |
Definition at line 28 of file PosteriorWeightsCalculator.cc.
References hltPixelTracks_cff::chi2, muonRecoAnalyzer_cfi::chi2Min, JetChargeProducer_cfi::exp, mps_fire::i, invertPosDefMatrix(), LogDebug, makeMuonMisalignmentScenario::matrix, convertSQLiteXML::ok, AlCaHLTBitMon_ParallelJobs::p, predictedComponents, dttmaxenums::R, alignCSCRings::r, rpcPointValidation_cfi::recHit, mathSSE::sqrt(), cms::cuda::V, w, weights(), and x.
|
private |
Definition at line 27 of file PosteriorWeightsCalculator.h.
Referenced by weights().