1 #ifndef MultiGaussianState_H 2 #define MultiGaussianState_H 17 template <
unsigned int N>
79 const Vector &
mean()
const;
122 template <
unsigned int N>
135 SingleStatePtr
combine(
const MultiState & theState)
const;
141 #include "TrackingTools/GsfTools/interface/MultiGaussianStateCombiner.icc" 142 #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
static type combine(const A &_1, const B &_2)
const Vector & mean() const
combined mean
SingleGaussianState< N > SingleState
MultiGaussianState< N > MultiState
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
ROOT::Math::SMatrix< double, N, N, ROOT::Math::MatRepSym< double, N >> Matrix
int dimension() const
dimension of parameter vector