FairRoot/PandaRoot
Classes | Functions
RhoLorentzVectorErr.h File Reference
#include <iostream>
#include "RhoError.h"
#include "TLorentzVector.h"
#include "TLorentzRotation.h"

Go to the source code of this file.

Classes

class  RhoLorentzVectorErr
 

Functions

RhoLorentzVectorErr operator+ (const RhoLorentzVectorErr &, const RhoLorentzVectorErr &)
 
RhoLorentzVectorErr operator- (const RhoLorentzVectorErr &, const RhoLorentzVectorErr &)
 
std::ostreamoperator<< (std::ostream &stream, const RhoLorentzVectorErr &verr)
 

Function Documentation

RhoLorentzVectorErr operator+ ( const RhoLorentzVectorErr ,
const RhoLorentzVectorErr  
)

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 }
__m128 v
Definition: P4_F32vec4.h:4
RhoLorentzVectorErr operator- ( const RhoLorentzVectorErr ,
const RhoLorentzVectorErr  
)

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 }
__m128 v
Definition: P4_F32vec4.h:4
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