/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/BesEvtGen/BesEvtGen-00-03-58/src/EvtGen/EvtGenBase/EvtVector4C.cc File Reference

#include "EvtGenBase/EvtPatches.hh"
#include <iostream>
#include <math.h>
#include <assert.h>
#include "EvtGenBase/EvtComplex.hh"
#include "EvtGenBase/EvtVector4C.hh"

Go to the source code of this file.

Functions

EvtVector4C rotateEuler (const EvtVector4C &rs, double alpha, double beta, double gamma)
EvtVector4C boostTo (const EvtVector4C &rs, const EvtVector4R p4)
EvtVector4C boostTo (const EvtVector4C &rs, const EvtVector3R boost)
ostreamoperator<< (ostream &s, const EvtVector4C &v)


Function Documentation

EvtVector4C boostTo ( const EvtVector4C rs,
const EvtVector3R  boost 
)

Definition at line 64 of file EvtVector4C.cc.

References EvtVector4C::applyBoostTo().

00065                                             {
00066 
00067   EvtVector4C tmp(rs);
00068   tmp.applyBoostTo(boost);
00069   return tmp;
00070 
00071 }

EvtVector4C boostTo ( const EvtVector4C rs,
const EvtVector4R  p4 
)

Definition at line 55 of file EvtVector4C.cc.

References EvtVector4C::applyBoostTo().

00056                                          {
00057 
00058   EvtVector4C tmp(rs);
00059   tmp.applyBoostTo(p4);
00060   return tmp;
00061 
00062 }

ostream& operator<< ( ostream s,
const EvtVector4C v 
)

Definition at line 156 of file EvtVector4C.cc.

References v.

00156                                                      {
00157 
00158   s<<"("<<v.v[0]<<","<<v.v[1]<<","<<v.v[2]<<","<<v.v[3]<<")";
00159 
00160   return s;
00161 
00162 }

EvtVector4C rotateEuler ( const EvtVector4C rs,
double  alpha,
double  beta,
double  gamma 
)

Definition at line 46 of file EvtVector4C.cc.

References EvtVector4C::applyRotateEuler().

00047                                                               {
00048 
00049   EvtVector4C tmp(rs);
00050   tmp.applyRotateEuler(alpha,beta,gamma);
00051   return tmp;
00052 
00053 }


Generated on Tue Nov 29 23:15:56 2016 for BOSS_7.0.2 by  doxygen 1.4.7