6 namespace GaussianStateConversions {
9 typedef std::shared_ptr<SingleGaussianState<3> > SingleStatePtr;
12 singleStates.reserve(components.size());
13 for (std::vector<VertexState>::const_iterator ic = components.begin(); ic != components.end(); ic++) {
21 singleStates.push_back(sgs);
33 components.reserve(singleStates.size());
35 ic != singleStates.end();
40 GlobalError error(cov(0, 0), cov(1, 0), cov(2, 0), cov(1, 1), cov(2, 1), cov(2, 2));
41 components.push_back(
VertexState(position, error, (**ic).weight()));
MultiGaussianState< 3 > multiGaussianStateFromVertex(const VertexState aState)
const SingleStateContainer & components() const
access to components (single Gaussian states)
VertexState vertexFromMultiGaussianState(const MultiGaussianState< 3 > &multiState)
Mixture of multi-variate gaussian states.
std::vector< SingleStatePtr > SingleStateContainer
std::vector< VertexState > components() const
static int position[264][3]
ROOT::Math::SVector< double, 3 > AlgebraicVector3
ROOT::Math::SMatrix< double, 3, 3, ROOT::Math::MatRepSym< double, 3 > > AlgebraicSymMatrix33