1 #ifndef MultiGaussianState_H 2 #define MultiGaussianState_H 17 template <
unsigned int N>
77 const Vector&
mean()
const;
118 template <
unsigned int N>
129 SingleStatePtr
combine(
const MultiState& theState)
const;
133 #include "TrackingTools/GsfTools/interface/MultiGaussianStateCombiner.icc" 134 #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)
ROOT::Math::SVector< double, N > Vector
std::vector< SingleStatePtr > SingleStateContainer
void checkCombinedState() const
calculation of the combined state (on demand)
SingleStatePtr theCombinedState
static type combine(const A &_1, const B &_2)
const Vector & mean() const
combined mean
SingleGaussianState< N > SingleState
MultiGaussianState< N > MultiState
ROOT::Math::SMatrix< double, N, N, ROOT::Math::MatRepSym< double, N >> Matrix
std::shared_ptr< SingleState > SingleStatePtr
MultiGaussianState< N >::SingleStatePtr SingleStatePtr
const Matrix & weightMatrix() const
combined weight matrix
void rescaleWeight(double scale)
rescale weight
SingleGaussianState< N > SingleState
MultiGaussianState< N >::SingleStateContainer VSC
double weight() const
combined weight
bool theCombinedStateUp2Date
SingleGaussianState< N >::Vector Vector
SingleGaussianState< N >::Matrix Matrix
void setWeight(double newWeight)
renormalize weight
int dimension() const
dimension of parameter vector