14#ifndef _Ext_Errmx_Flag_
15#define _Ext_Errmx_Flag_
19#ifndef CLHEP_THREEVECTOR_H
20# include "CLHEP/Vector/ThreeVector.h"
23#include "CLHEP/Matrix/Matrix.h"
24#include "CLHEP/Matrix/SymMatrix.h"
25#include "CLHEP/Matrix/Vector.h"
29static const int Ndim_err( 6 );
49 void put_err(
const double error[] );
52 inline void put_err(
const HepSymMatrix& err );
55 inline const HepSymMatrix&
get_err()
const;
58 double get_plane_err(
const Hep3Vector& np,
const Hep3Vector& nr )
const;
69 const HepVector&
get_plane_errs(
const Hep3Vector& np,
const Hep3Vector& nr,
70 const Hep3Vector& nt )
const;
99 const Hep3Vector*
get_tvs(
const int view,
const Hep3Vector& pv )
const;
111 const Hep3Vector*
get_tvs(
const Hep3Vector& pv )
const;
114 bool valid(
bool msg )
const;
125 const Hep3Vector& nz )
const;
131 mutable bool m_valid;
132 mutable HepSymMatrix m_err3;
133 mutable HepVector m_err2;
134 mutable Hep3Vector m_nv[2];
135 mutable HepMatrix m_R;
void put_err(const double error[])
const HepSymMatrix & get_err() const
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 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