#include <float.h>
#include <iostream>
#include "MdcRecoUtil/BesVectorErr.h"
#include "MdcRecoUtil/DifNumber.h"
#include "MdcRecoUtil/DifArray.h"
Go to the source code of this file.
Functions | |
BesVectorErr | operator+ (const BesVectorErr &v, const BesVectorErr &w) |
BesVectorErr | operator- (const BesVectorErr &v, const BesVectorErr &w) |
BesVectorErr | operator * (const BesVectorErr &p, double a) |
BesVectorErr | operator * (double a, const BesVectorErr &p) |
ostream & | operator<< (ostream &stream, const BesVectorErr &verr) |
istream & | operator>> (istream &stream, BesVectorErr &verr) |
BesVectorErr operator * | ( | double | a, | |
const BesVectorErr & | p | |||
) |
Definition at line 111 of file BesVectorErr.cxx.
References BesVectorErr::covMatrix().
00111 { 00112 BesVectorErr ve(Hep3Vector(a*p.x(), a*p.y(), a*p.z()), 00113 (p.covMatrix()*a*a)); 00114 return ve; 00115 }
BesVectorErr operator * | ( | const BesVectorErr & | p, | |
double | a | |||
) |
Definition at line 105 of file BesVectorErr.cxx.
References BesVectorErr::covMatrix().
00105 { 00106 BesVectorErr ve(Hep3Vector(a*p.x(), a*p.y(), a*p.z()), 00107 (p.covMatrix()*a*a)); 00108 return ve; 00109 }
BesVectorErr operator+ | ( | const BesVectorErr & | v, | |
const BesVectorErr & | w | |||
) |
BesVectorErr operator- | ( | const BesVectorErr & | v, | |
const BesVectorErr & | w | |||
) |
ostream& operator<< | ( | ostream & | stream, | |
const BesVectorErr & | verr | |||
) |
Definition at line 118 of file BesVectorErr.cxx.
References BesVectorErr::covMatrix().
00118 { 00119 stream << (const Hep3Vector&)verr 00120 << ", " << verr.covMatrix(); 00121 00122 return stream; 00123 }
istream& operator>> | ( | istream & | stream, | |
BesVectorErr & | verr | |||
) |
Definition at line 125 of file BesVectorErr.cxx.
References BesVectorErr::setCovMatrix().
00125 { 00126 BesError mat(verr.SIZE); 00127 stream >> (Hep3Vector&)verr >> mat; 00128 verr.setCovMatrix(mat); 00129 00130 return stream; 00131 }