ROOTPWA
Functions
Vec.cc File Reference
#include "Vec.h"

Go to the source code of this file.

Functions

threeVec operator* (double a, const threeVec &V)
threeVec operator* (const threeVec &V, double a)
ostream & operator<< (ostream &os, const threeVec &V)
istream & operator>> (istream &is, threeVec &V)
fourVec operator* (double a, const fourVec &v)
fourVec operator* (const fourVec &v, double a)
ostream & operator<< (ostream &os, const fourVec &v)
istream & operator>> (istream &is, fourVec &v)

Function Documentation

threeVec operator* ( double  a,
const threeVec V 
)

Definition at line 65 of file Vec.cc.

References threeVec::_x, threeVec::_y, and threeVec::_z.

threeVec operator* ( const threeVec V,
double  a 
)

Definition at line 70 of file Vec.cc.

fourVec operator* ( double  a,
const fourVec v 
)

Definition at line 373 of file Vec.cc.

References fourVec::_t, and fourVec::_V.

fourVec operator* ( const fourVec v,
double  a 
)

Definition at line 378 of file Vec.cc.

References fourVec::_t, and fourVec::_V.

ostream& operator<< ( ostream &  os,
const threeVec V 
)

Definition at line 121 of file Vec.cc.

References threeVec::print().

ostream& operator<< ( ostream &  os,
const fourVec v 
)

Definition at line 425 of file Vec.cc.

References fourVec::print().

istream& operator>> ( istream &  is,
threeVec V 
)

Definition at line 127 of file Vec.cc.

References threeVec::scan().

istream& operator>> ( istream &  is,
fourVec v 
)

Definition at line 431 of file Vec.cc.

References fourVec::scan().