FairRoot/PandaRoot
Classes | Functions
RhoVector3Err.h File Reference
#include <iostream>
#include "RhoError.h"
#include "TRotation.h"

Go to the source code of this file.

Classes

class  RhoVector3Err
 

Functions

RhoVector3Err operator+ (const RhoVector3Err &, const RhoVector3Err &)
 
RhoVector3Err operator- (const RhoVector3Err &, const RhoVector3Err &)
 
std::ostreamoperator<< (std::ostream &stream, const RhoVector3Err &verr)
 
std::istreamoperator>> (std::istream &stream, RhoVector3Err &verr)
 

Function Documentation

RhoVector3Err operator+ ( const RhoVector3Err ,
const RhoVector3Err  
)

Definition at line 126 of file RhoVector3Err.cxx.

References RhoVector3Err::CovMatrix().

127 {
128  RhoVector3Err ve ( TVector3 ( v.X() +w.X(),v.Y() +w.Y(),v.Z() +w.Z() ),
129  ( v.CovMatrix() +w.CovMatrix() ) );
130  return ve;
131 }
__m128 v
Definition: P4_F32vec4.h:4
RhoVector3Err operator- ( const RhoVector3Err ,
const RhoVector3Err  
)

Definition at line 133 of file RhoVector3Err.cxx.

References RhoVector3Err::CovMatrix().

134 {
135  RhoVector3Err ve ( TVector3 ( v.X()-w.X(),v.Y()-w.Y(),v.Z()-w.Z() ),
136  ( v.CovMatrix() +w.CovMatrix() ) );
137  return ve;
138 }
__m128 v
Definition: P4_F32vec4.h:4
std::ostream& operator<< ( std::ostream stream,
const RhoVector3Err verr 
)

Definition at line 144 of file RhoVector3Err.cxx.

References RhoVector3Err::CovMatrix().

145 {
146  stream << ( const TVector3& ) verr
147  << ", " << verr.CovMatrix();
148 
149  return stream;
150 }
const RhoError & CovMatrix() const
Definition: RhoVector3Err.h:68
std::istream& operator>> ( std::istream stream,
RhoVector3Err verr 
)

Definition at line 152 of file RhoVector3Err.cxx.

References RhoVector3Err::SetCovMatrix().

153 {
154  RhoError mat ( 3 );
155  stream >> verr >> mat;
156  verr.SetCovMatrix ( mat );
157 
158  return stream;
159 }
void SetCovMatrix(const RhoError &v)
Definition: RhoVector3Err.h:80