/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Reconstruction/MdcPatRec/MdcRecoUtil/MdcRecoUtil-00-01-08/MdcRecoUtil/BesVectorErr.h File Reference

#include <iosfwd>
#include "MdcRecoUtil/BesError.h"
#include "CLHEP/Vector/Rotation.h"

Go to the source code of this file.

Classes

class  BesVectorErr

Functions

BesVectorErr operator+ (const BesVectorErr &, const BesVectorErr &)
BesVectorErr operator- (const BesVectorErr &, const BesVectorErr &)
BesVectorErr operator * (const BesVectorErr &, double a)
BesVectorErr operator * (double a, const BesVectorErr &)
std::ostreamoperator<< (std::ostream &stream, const BesVectorErr &verr)
std::istreamoperator>> (std::istream &stream, BesVectorErr &verr)


Function Documentation

BesVectorErr operator * ( double  a,
const BesVectorErr  
)

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 ,
double  a 
)

Definition at line 105 of file BesVectorErr.cxx.

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 ,
const BesVectorErr  
)

Definition at line 92 of file BesVectorErr.cxx.

00092                                                                       {
00093     BesVectorErr ve(Hep3Vector(v.x()+w.x(),v.y()+w.y(),v.z()+w.z()),
00094                     (v.covMatrix()+w.covMatrix()));
00095     return ve;
00096 }

BesVectorErr operator- ( const BesVectorErr ,
const BesVectorErr  
)

Definition at line 98 of file BesVectorErr.cxx.

References v, and w.

00098                                                                       {
00099     BesVectorErr ve(Hep3Vector(v.x()-w.x(),v.y()-w.y(),v.z()-w.z()), 
00100                     (v.covMatrix()+w.covMatrix()));
00101     return ve;
00102 }

std::ostream& operator<< ( std::ostream stream,
const BesVectorErr verr 
)

std::istream& operator>> ( std::istream stream,
BesVectorErr verr 
)


Generated on Tue Nov 29 23:16:55 2016 for BOSS_7.0.2 by  doxygen 1.4.7