1 #ifndef MultiGaussianState_H 2 #define MultiGaussianState_H 5 #include "boost/shared_ptr.hpp" 17 template <
unsigned int N>
79 const Vector &
mean()
const;
112 #include "TrackingTools/GsfTools/interface/MultiGaussianState.icc"
const SingleStateContainer & components() const
access to components (single Gaussian states)
const Matrix & covariance() const
combined covariance matrix
const SingleStateContainer theComponents
Mixture of multi-variate gaussian states.
MultiGaussianState(const SingleStateContainer &stateV)
std::vector< SingleStatePtr > SingleStateContainer
ROOT::Math::SVector< double, N > Vector
void checkCombinedState() const
calculation of the combined state (on demand)
SingleStatePtr theCombinedState
const Vector & mean() const
combined mean
SingleGaussianState< N > SingleState
std::shared_ptr< SingleState > SingleStatePtr
const Matrix & weightMatrix() const
combined weight matrix
void rescaleWeight(double scale)
rescale weight
double weight() const
combined weight
bool theCombinedStateUp2Date
SingleGaussianState< N >::Vector Vector
SingleGaussianState< N >::Matrix Matrix
void setWeight(double newWeight)
renormalize weight
ROOT::Math::SMatrix< double, N, N, ROOT::Math::MatRepSym< double, N >> Matrix
int dimension() const
dimension of parameter vector