38#include "MdcRecoUtil/DifNumber.h"
39#include "MdcRecoUtil/DifArray.h"
40#include "MdcRecoUtil/BesPointErr.h"
46 (
v.covMatrix()+
w.covMatrix()));
52 (
v.covMatrix()+
w.covMatrix()));
58 (
v.covMatrix()+
w.covMatrix()));
64 (
v.covMatrix()+
w.covMatrix()));
85 double xv =
x()==0 ? FLT_MIN :
x();
86 double yv = y()==0 ? FLT_MIN : y();
87 double zv = z()==0 ? FLT_MIN : z();
88 DifNumber xDF(xv,X+1,3), yDF(yv,Y+1,3), zDF(zv,Z+1,3);
90 pars[
Rho] = sqrt(xDF*xDF + yDF*yDF + zDF*zDF);
91 pars[
Phi] = atan2(yDF,xDF);
98 double xv =
x()==0 ? FLT_MIN :
x();
99 double yv = y()==0 ? FLT_MIN : y();
100 double zv = z()==0 ? FLT_MIN : z();
101 DifNumber xDF(xv,X+1,3), yDF(yv,Y+1,3), zDF(zv,Z+1,3);
103 pars[
C_Rho] = sqrt(xDF*xDF + yDF*yDF );
104 pars[
C_Phi] = atan2(yDF,xDF);
ostream & operator<<(ostream &stream, const BesPointErr &verr)
BesPointErr operator+(const BesPointErr &v, const BesVectorErr &w)
BesPointErr operator-(const BesPointErr &v, const BesVectorErr &w)
istream & operator>>(istream &stream, BesPointErr &verr)
HepGeom::Point3D< double > HepPoint3D
**********Class see also m_nmax DOUBLE PRECISION m_amel DOUBLE PRECISION m_x2 DOUBLE PRECISION m_alfinv DOUBLE PRECISION m_Xenph INTEGER m_KeyWtm INTEGER m_idyfs DOUBLE PRECISION m_zini DOUBLE PRECISION m_q2 DOUBLE PRECISION m_Wt_KF DOUBLE PRECISION m_WtCut INTEGER m_KFfin *COMMON c_KarLud $ !Input CMS energy[GeV] $ !CMS energy after beam spread beam strahlung[GeV] $ !Beam energy spread[GeV] $ !z boost due to beam spread $ !electron beam mass *ff pair spectrum $ !minimum v
BesError similarity(const HepRotation &rot) const
const BesError & covMatrix() const
BesError covRTPMatrix() const
BesError covRZPMatrix() const
void setCovMatrix(const BesError &v)
HepMatrix jacobian() const