/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Reconstruction/MdcPatRec/MdcRecoUtil/MdcRecoUtil-00-01-08/src/BesPointErr.cxx File Reference

#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)
ostreamoperator<< (ostream &stream, const BesPointErr &verr)
istreamoperator>> (istream &stream, BesPointErr &verr)


Function Documentation

BesPointErr operator+ ( const BesVectorErr w,
const BesPointErr v 
)

Definition at line 50 of file BesPointErr.cxx.

References v, and w.

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.

References v, and w.

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 
)

Definition at line 62 of file BesPointErr.cxx.

References v, and w.

00062                                                                     {
00063     BesVectorErr ve(Hep3Vector(v.x()-w.x(),v.y()-w.y(),v.z()-w.z()),
00064                     (v.covMatrix()+w.covMatrix()));
00065     return ve;
00066 }

BesPointErr operator- ( const BesPointErr v,
const BesVectorErr w 
)

Definition at line 56 of file BesPointErr.cxx.

References v, and w.

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 }


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