#include <stdio.h>
#include <float.h>
#include "MdcRecoUtil/DifNumber.h"
#include "MdcRecoUtil/DifArray.h"
#include "MdcRecoUtil/BesPointErr.h"
Go to the source code of this file.
Functions | |
BesPointErr | operator+ (const BesPointErr &v, const BesVectorErr &w) |
BesPointErr | operator+ (const BesVectorErr &w, const BesPointErr &v) |
BesPointErr | operator- (const BesPointErr &v, const BesVectorErr &w) |
BesVectorErr | operator- (const BesPointErr &v, const BesPointErr &w) |
ostream & | operator<< (ostream &stream, const BesPointErr &verr) |
istream & | operator>> (istream &stream, BesPointErr &verr) |
BesPointErr operator+ | ( | const BesVectorErr & | w, | |
const BesPointErr & | v | |||
) |
Definition at line 50 of file BesPointErr.cxx.
00050 { 00051 BesPointErr pe(HepPoint3D(v.x()+w.x(),v.y()+w.y(),v.z()+w.z()), 00052 (v.covMatrix()+w.covMatrix())); 00053 return pe; 00054 }
BesPointErr operator+ | ( | const BesPointErr & | v, | |
const BesVectorErr & | w | |||
) |
Definition at line 44 of file BesPointErr.cxx.
00044 { 00045 BesPointErr pe(HepPoint3D(v.x()+w.x(),v.y()+w.y(),v.z()+w.z()), 00046 (v.covMatrix()+w.covMatrix())); 00047 return pe; 00048 }
BesVectorErr operator- | ( | const BesPointErr & | v, | |
const BesPointErr & | w | |||
) |
BesPointErr operator- | ( | const BesPointErr & | v, | |
const BesVectorErr & | w | |||
) |
Definition at line 56 of file BesPointErr.cxx.
00056 { 00057 BesPointErr pe(HepPoint3D(v.x()-w.x(),v.y()-w.y(),v.z()-w.z()), 00058 (v.covMatrix()+w.covMatrix())); 00059 return pe; 00060 }
ostream& operator<< | ( | ostream & | stream, | |
const BesPointErr & | verr | |||
) |
Definition at line 68 of file BesPointErr.cxx.
References BesPointErr::covMatrix().
00068 { 00069 stream << (const HepPoint3D&)verr 00070 << ", " << verr.covMatrix(); 00071 00072 return stream; 00073 }
istream& operator>> | ( | istream & | stream, | |
BesPointErr & | verr | |||
) |
Definition at line 75 of file BesPointErr.cxx.
References BesPointErr::setCovMatrix().
00075 { 00076 BesError mat(verr.SIZE); 00077 stream >> (HepPoint3D&)verr >> mat; 00078 verr.setCovMatrix(mat); 00079 00080 return stream; 00081 }