33 for(
int i = 0; i < 3; ++i)
fXYZ[i] = xyz[i];
34 for(
int i = 0; i < 6; ++i)
fErrXYZ[i] = err[i];
48 constexpr std::size_t offsets[3U] = { 0U, 1U, 3U };
50 if (i < j) std::swap(i, j);
51 return offsets[i] + j;
60 o << std::setiosflags(std::ios::fixed) << std::setprecision(2);
61 o <<
" SpacePoint ID " << std::setw(5) <<
std::right << a.
ID()
bool operator<(Cluster const &a, Cluster const &b)
EResult err(const char *call)
Double32_t fXYZ[3]
position of SpacePoint in xyz
static constexpr std::size_t covIndex(unsigned int i, unsigned int j)
Returns the internal index of correlation structure for coordinates i and j.
const Double32_t * XYZ() const
double covariance(unsigned int i, unsigned int j) const
Double32_t fErrXYZ[6]
Error matrix (lower triangular).
std::ostream & operator<<(std::ostream &o, Cluster const &c)