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

#include <iostream>
#include <math.h>

Go to the source code of this file.

Classes

class  EvtVector4R

Functions

EvtVector4R operator * (double c, const EvtVector4R &v2)
EvtVector4R operator * (const EvtVector4R &v2, double c)
EvtVector4R operator/ (const EvtVector4R &v2, double c)
double operator * (const EvtVector4R &v1, const EvtVector4R &v2)
EvtVector4R operator- (const EvtVector4R &v1, const EvtVector4R &v2)
EvtVector4R operator+ (const EvtVector4R &v1, const EvtVector4R &v2)


Function Documentation

double operator * ( const EvtVector4R v1,
const EvtVector4R v2 
) [inline]

Definition at line 157 of file EvtVector4R.hh.

References EvtVector4R::v.

00157                                                                     {
00158 
00159   return v1.v[0]*v2.v[0]-v1.v[1]*v2.v[1]-
00160          v1.v[2]*v2.v[2]-v1.v[3]*v2.v[3];
00161 }

EvtVector4R operator * ( const EvtVector4R v2,
double  c 
) [inline]

Definition at line 126 of file EvtVector4R.hh.

00126                                                             {
00127   
00128   return EvtVector4R(v2)*=c;
00129 }

EvtVector4R operator * ( double  c,
const EvtVector4R v2 
) [inline]

Definition at line 121 of file EvtVector4R.hh.

00121                                                             {
00122   
00123   return EvtVector4R(v2)*=c;
00124 }

EvtVector4R operator+ ( const EvtVector4R v1,
const EvtVector4R v2 
) [inline]

Definition at line 174 of file EvtVector4R.hh.

00174                                                                          {
00175   
00176   return EvtVector4R(v1)+=v2;
00177 }

EvtVector4R operator- ( const EvtVector4R v1,
const EvtVector4R v2 
) [inline]

Definition at line 169 of file EvtVector4R.hh.

00169                                                                          {
00170   
00171   return EvtVector4R(v1)-=v2;
00172 }

EvtVector4R operator/ ( const EvtVector4R v2,
double  c 
) [inline]

Definition at line 131 of file EvtVector4R.hh.

00131                                                             {
00132   
00133   return EvtVector4R(v2)/=c;
00134 }


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