FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairGeoVector Class Reference

#include <FairGeoVector.h>

Inheritance diagram for FairGeoVector:

Public Member Functions

 FairGeoVector (Double_t dx=0, Double_t dy=0, Double_t dz=0)
 
 FairGeoVector (const FairGeoVector &v)
 
 ~FairGeoVector ()
 
Double_t & X ()
 
Double_t & Y ()
 
Double_t & Z ()
 
Double_t getX () const
 
Double_t getY () const
 
Double_t getZ () const
 
Double_t getValues (Int_t i)
 
void setXYZ (const Double_t xx, const Double_t yy, const Double_t zz)
 
void setX (const Double_t a)
 
void setY (const Double_t a)
 
void setZ (const Double_t a)
 
void setVector (const Double_t *a)
 
void setVector (const Float_t *a)
 
Double_t operator() (const Int_t i) const
 
FairGeoVector operator- () const
 
FairGeoVectoroperator= (const FairGeoVector &v)
 
Bool_t operator== (const FairGeoVector &v) const
 
Bool_t operator!= (const FairGeoVector &v) const
 
Bool_t operator< (const Double_t a)
 check with ilse More...
 
Bool_t operator<= (const Double_t a)
 
Bool_t operator> (const Double_t a)
 
Bool_t operator>= (const Double_t a)
 
FairGeoVectoroperator+= (const Double_t a)
 
FairGeoVectoroperator-= (const Double_t a)
 
FairGeoVectoroperator*= (const Double_t a)
 
FairGeoVectoroperator/= (const Double_t a)
 
FairGeoVectoroperator+= (const FairGeoVector &v)
 
FairGeoVectoroperator-= (const FairGeoVector &v)
 
FairGeoVector operator+ (const FairGeoVector &v) const
 
FairGeoVector operator- (const FairGeoVector &v) const
 
FairGeoVectorabs ()
 
Double_t scalarProduct (const FairGeoVector &v) const
 
FairGeoVector vectorProduct (const FairGeoVector &v) const
 
Double_t length () const
 
void clear ()
 
void print () const
 
void round (Int_t n)
 
 ClassDef (FairGeoVector, 1)
 

Protected Member Functions

void round (Double_t d, Int_t n)
 

Protected Attributes

Double_t x
 
Double_t y
 
Double_t z
 

Friends

std::ostream & operator<< (std::ostream &put, const FairGeoVector &v)
 
std::istream & operator>> (std::istream &get, FairGeoVector &v)
 

Detailed Description

Definition at line 19 of file FairGeoVector.h.

Constructor & Destructor Documentation

FairGeoVector::FairGeoVector ( Double_t  dx = 0,
Double_t  dy = 0,
Double_t  dz = 0 
)
inline

Definition at line 28 of file FairGeoVector.h.

FairGeoVector::FairGeoVector ( const FairGeoVector v)
inline

Definition at line 34 of file FairGeoVector.h.

FairGeoVector::~FairGeoVector ( )
inline

Definition at line 40 of file FairGeoVector.h.

Member Function Documentation

FairGeoVector & FairGeoVector::abs ( )
inline

Definition at line 228 of file FairGeoVector.h.

FairGeoVector::ClassDef ( FairGeoVector  ,
 
)
void FairGeoVector::clear ( void  )
inline

Definition at line 97 of file FairGeoVector.h.

Double_t FairGeoVector::getValues ( Int_t  i)
inline

Definition at line 48 of file FairGeoVector.h.

Double_t FairGeoVector::getX ( ) const
inline

Definition at line 44 of file FairGeoVector.h.

Double_t FairGeoVector::getY ( ) const
inline

Definition at line 45 of file FairGeoVector.h.

Double_t FairGeoVector::getZ ( ) const
inline

Definition at line 46 of file FairGeoVector.h.

Double_t FairGeoVector::length ( ) const
inline

Definition at line 96 of file FairGeoVector.h.

Bool_t FairGeoVector::operator!= ( const FairGeoVector v) const
inline

Definition at line 155 of file FairGeoVector.h.

Double_t FairGeoVector::operator() ( const Int_t  i) const
inline

Definition at line 121 of file FairGeoVector.h.

FairGeoVector & FairGeoVector::operator*= ( const Double_t  a)
inline

Definition at line 184 of file FairGeoVector.h.

FairGeoVector FairGeoVector::operator+ ( const FairGeoVector v) const
inline

Definition at line 216 of file FairGeoVector.h.

FairGeoVector & FairGeoVector::operator+= ( const Double_t  a)
inline

Definition at line 168 of file FairGeoVector.h.

FairGeoVector & FairGeoVector::operator+= ( const FairGeoVector v)
inline

Definition at line 200 of file FairGeoVector.h.

FairGeoVector FairGeoVector::operator- ( ) const
inline

Definition at line 136 of file FairGeoVector.h.

FairGeoVector FairGeoVector::operator- ( const FairGeoVector v) const
inline

Definition at line 222 of file FairGeoVector.h.

FairGeoVector & FairGeoVector::operator-= ( const Double_t  a)
inline

Definition at line 176 of file FairGeoVector.h.

FairGeoVector & FairGeoVector::operator-= ( const FairGeoVector v)
inline

Definition at line 208 of file FairGeoVector.h.

FairGeoVector & FairGeoVector::operator/= ( const Double_t  a)
inline

Definition at line 192 of file FairGeoVector.h.

Bool_t FairGeoVector::operator< ( const Double_t  a)
inline

check with ilse

Definition at line 160 of file FairGeoVector.h.

Bool_t FairGeoVector::operator<= ( const Double_t  a)
inline

Definition at line 162 of file FairGeoVector.h.

FairGeoVector & FairGeoVector::operator= ( const FairGeoVector v)
inline

Definition at line 142 of file FairGeoVector.h.

Bool_t FairGeoVector::operator== ( const FairGeoVector v) const
inline

Definition at line 150 of file FairGeoVector.h.

Bool_t FairGeoVector::operator> ( const Double_t  a)
inline

Definition at line 164 of file FairGeoVector.h.

Bool_t FairGeoVector::operator>= ( const Double_t  a)
inline

Definition at line 166 of file FairGeoVector.h.

void FairGeoVector::print ( ) const
inline

Definition at line 98 of file FairGeoVector.h.

void FairGeoVector::round ( Double_t  d,
Int_t  n 
)
inlineprotected

Definition at line 247 of file FairGeoVector.h.

void FairGeoVector::round ( Int_t  n)
inline

Definition at line 257 of file FairGeoVector.h.

Double_t FairGeoVector::scalarProduct ( const FairGeoVector v) const
inline

Definition at line 236 of file FairGeoVector.h.

void FairGeoVector::setVector ( const Double_t *  a)
inline

Definition at line 107 of file FairGeoVector.h.

void FairGeoVector::setVector ( const Float_t *  a)
inline

Definition at line 114 of file FairGeoVector.h.

void FairGeoVector::setX ( const Double_t  a)
inline

Definition at line 71 of file FairGeoVector.h.

void FairGeoVector::setXYZ ( const Double_t  xx,
const Double_t  yy,
const Double_t  zz 
)
inline

Definition at line 65 of file FairGeoVector.h.

void FairGeoVector::setY ( const Double_t  a)
inline

Definition at line 72 of file FairGeoVector.h.

void FairGeoVector::setZ ( const Double_t  a)
inline

Definition at line 73 of file FairGeoVector.h.

FairGeoVector FairGeoVector::vectorProduct ( const FairGeoVector v) const
inline

Definition at line 241 of file FairGeoVector.h.

Double_t& FairGeoVector::X ( )
inline

Definition at line 41 of file FairGeoVector.h.

Double_t& FairGeoVector::Y ( )
inline

Definition at line 42 of file FairGeoVector.h.

Double_t& FairGeoVector::Z ( )
inline

Definition at line 43 of file FairGeoVector.h.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  put,
const FairGeoVector v 
)
friend

Definition at line 265 of file FairGeoVector.h.

std::istream& operator>> ( std::istream &  get,
FairGeoVector v 
)
friend

Definition at line 270 of file FairGeoVector.h.

Member Data Documentation

Double_t FairGeoVector::x
protected

Definition at line 22 of file FairGeoVector.h.

Double_t FairGeoVector::y
protected

Definition at line 23 of file FairGeoVector.h.

Double_t FairGeoVector::z
protected

Definition at line 24 of file FairGeoVector.h.


The documentation for this class was generated from the following file: