FairRoot/PandaRoot
Functions | Variables
RhoLorentzVectorErr.cxx File Reference
#include "RhoLorentzVectorErr.h"
#include "RhoVector3Err.h"
#include "TBuffer.h"
#include <iostream>

Go to the source code of this file.

Functions

 ClassImp (RhoLorentzVectorErr) TBuffer &operator>>(TBuffer &buf
 
RhoLorentzVectorErr operator+ (const RhoLorentzVectorErr &v, const RhoLorentzVectorErr &w)
 
RhoLorentzVectorErr operator- (const RhoLorentzVectorErr &v, const RhoLorentzVectorErr &w)
 
std::ostreamoperator<< (std::ostream &stream, const RhoLorentzVectorErr &verr)
 

Variables

RhoLorentzVectorErr *& obj
 
return buf
 

Function Documentation

ClassImp ( RhoLorentzVectorErr  )
RhoLorentzVectorErr operator+ ( const RhoLorentzVectorErr v,
const RhoLorentzVectorErr w 
)

Definition at line 187 of file RhoLorentzVectorErr.cxx.

References RhoLorentzVectorErr::CovMatrix().

188 {
189  RhoLorentzVectorErr ve ( TLorentzVector ( v.X() +w.X(),v.Y() +w.Y(),v.Z() +w.Z(),
190  v.T() +w.T() ),
191  ( v.CovMatrix() +w.CovMatrix() ) );
192  return ve;
193 }
const RhoError & CovMatrix() const
RhoLorentzVectorErr operator- ( const RhoLorentzVectorErr v,
const RhoLorentzVectorErr w 
)

Definition at line 198 of file RhoLorentzVectorErr.cxx.

References RhoLorentzVectorErr::CovMatrix().

199 {
200  RhoLorentzVectorErr ve ( TLorentzVector ( v.X()-w.X(),v.Y()-w.Y(),v.Z()-w.Z(),
201  v.T()-w.T() ),
202  ( v.CovMatrix() +w.CovMatrix() ) );
203  return ve;
204 }
const RhoError & CovMatrix() const
std::ostream& operator<< ( std::ostream stream,
const RhoLorentzVectorErr verr 
)

Definition at line 211 of file RhoLorentzVectorErr.cxx.

References RhoLorentzVectorErr::PrintOn().

212 {
213  verr.PrintOn ( stream );
214  return stream;
215 }
void PrintOn(std::ostream &o=std::cout) const

Variable Documentation

return buf

Definition at line 22 of file RhoLorentzVectorErr.cxx.

Initial value:
{
obj = ( RhoLorentzVectorErr* ) buf.ReadObject ( RhoLorentzVectorErr::Class() )
RhoLorentzVectorErr *& obj
return buf

Definition at line 20 of file RhoLorentzVectorErr.cxx.