15#ifndef _Ext_Errmx_Flag_
16#define _Ext_Errmx_Flag_
20#ifndef CLHEP_THREEVECTOR_H
21#include "CLHEP/Vector/ThreeVector.h"
24#include "CLHEP/Matrix/Vector.h"
25#include "CLHEP/Matrix/Matrix.h"
26#include "CLHEP/Matrix/SymMatrix.h"
31static const int Ndim_err(6);
55 inline void put_err(
const HepSymMatrix &err );
58 inline const HepSymMatrix &
get_err()
const;
61 double get_plane_err(
const Hep3Vector &np,
const Hep3Vector &nr )
const;
73 const Hep3Vector &nr,
const Hep3Vector &nt )
const;
102 const Hep3Vector *
get_tvs(
const int view,
const Hep3Vector &pv )
const;
114 const Hep3Vector*
get_tvs(
const Hep3Vector &pv )
const;
130 const Hep3Vector &nz )
const;
137 mutable bool m_valid;
138 mutable HepSymMatrix m_err3;
139 mutable HepVector m_err2;
140 mutable Hep3Vector m_nv[2];
141 mutable HepMatrix m_R;
Ext_errmx(const Ext_errmx &errmx)
void put_err(const double error[])
Ext_errmx(const HepSymMatrix &err)
const HepSymMatrix & get_err() const
void put_err(const HepSymMatrix &err)
bool valid(bool msg) const
Ext_errmx & operator=(const Ext_errmx &errmx)
friend std::ostream & operator<<(std::ostream &s, const Ext_errmx &errmx)
const Hep3Vector * get_tvs(const int view, const Hep3Vector &pv) const
void set_plane_errs(const Hep3Vector &nx, const Hep3Vector &ny, const Hep3Vector &nz) const
const Hep3Vector * get_tvs(const Hep3Vector &pv) const
const HepVector & get_plane_errs(const Hep3Vector &np, const Hep3Vector &nr, const Hep3Vector &nt) const
double get_plane_err(const Hep3Vector &np, const Hep3Vector &nr) const