evtgen is hosted by Hepforge, IPPP Durham
EvtGen  2.0.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.

#include <EvtGenBase/EvtVector3R.hh>

Public Member Functions

 EvtVector3R ()
 
 EvtVector3R (double x, double y, double z)
 
EvtVector3Roperator *= (const double c)
 
EvtVector3Roperator/= (const double c)
 
EvtVector3Roperator+= (const EvtVector3R &v2)
 
EvtVector3Roperator-= (const EvtVector3R &v2)
 
void set (int i, double d)
 
void set (double x, double y, double z)
 
void applyRotateEuler (double phi, double theta, double ksi)
 
double get (int i) const
 
double dot (const EvtVector3R &v2)
 
double d3mag () const
 

Private Attributes

double v [3]
 

Friends

EvtVector3R rotateEuler (const EvtVector3R &v, double phi, double theta, double ksi)
 
EvtVector3R operator * (double c, const EvtVector3R &v2)
 
double operator * (const EvtVector3R &v1, const EvtVector3R &v2)
 
EvtVector3R operator+ (const EvtVector3R &v1, const EvtVector3R &v2)
 
EvtVector3R operator- (const EvtVector3R &v1, const EvtVector3R &v2)
 
EvtVector3R operator * (const EvtVector3R &v1, double c)
 
EvtVector3R operator/ (const EvtVector3R &v1, double c)
 
EvtVector3R cross (const EvtVector3R &v1, const EvtVector3R &v2)
 
std::ostream & operator<< (std::ostream &s, const EvtVector3R &v)
 

Detailed Description

Definition at line 26 of file EvtVector3R.hh.

Constructor & Destructor Documentation

◆ EvtVector3R() [1/2]

EvtVector3R::EvtVector3R ( )

Definition at line 29 of file EvtVector3R.cpp.

◆ EvtVector3R() [2/2]

EvtVector3R::EvtVector3R ( double  x,
double  y,
double  z 
)

Definition at line 34 of file EvtVector3R.cpp.

Member Function Documentation

◆ applyRotateEuler()

void EvtVector3R::applyRotateEuler ( double  phi,
double  theta,
double  ksi 
)

Definition at line 49 of file EvtVector3R.cpp.

◆ d3mag()

double EvtVector3R::d3mag ( ) const

Definition at line 89 of file EvtVector3R.cpp.

◆ dot()

double EvtVector3R::dot ( const EvtVector3R v2)

Definition at line 101 of file EvtVector3R.cpp.

◆ get()

double EvtVector3R::get ( int  i) const
inline

Definition at line 121 of file EvtVector3R.hh.

◆ operator *=()

EvtVector3R & EvtVector3R::operator *= ( const double  c)
inline

Definition at line 59 of file EvtVector3R.hh.

◆ operator+=()

EvtVector3R & EvtVector3R::operator+= ( const EvtVector3R v2)
inline

Definition at line 75 of file EvtVector3R.hh.

◆ operator-=()

EvtVector3R & EvtVector3R::operator-= ( const EvtVector3R v2)
inline

Definition at line 83 of file EvtVector3R.hh.

◆ operator/=()

EvtVector3R & EvtVector3R::operator/= ( const double  c)
inline

Definition at line 67 of file EvtVector3R.hh.

◆ set() [1/2]

void EvtVector3R::set ( int  i,
double  d 
)
inline

Definition at line 126 of file EvtVector3R.hh.

◆ set() [2/2]

void EvtVector3R::set ( double  x,
double  y,
double  z 
)
inline

Definition at line 131 of file EvtVector3R.hh.

Friends And Related Function Documentation

◆ cross

EvtVector3R cross ( const EvtVector3R v1,
const EvtVector3R v2 
)
friend

Definition at line 79 of file EvtVector3R.cpp.

◆ operator * [1/3]

EvtVector3R operator * ( double  c,
const EvtVector3R v2 
)
friend

Definition at line 91 of file EvtVector3R.hh.

◆ operator * [2/3]

double operator * ( const EvtVector3R v1,
const EvtVector3R v2 
)
friend

Definition at line 106 of file EvtVector3R.hh.

◆ operator * [3/3]

EvtVector3R operator * ( const EvtVector3R v1,
double  c 
)
friend

Definition at line 96 of file EvtVector3R.hh.

◆ operator+

EvtVector3R operator+ ( const EvtVector3R v1,
const EvtVector3R v2 
)
friend

Definition at line 111 of file EvtVector3R.hh.

◆ operator-

EvtVector3R operator- ( const EvtVector3R v1,
const EvtVector3R v2 
)
friend

Definition at line 116 of file EvtVector3R.hh.

◆ operator/

EvtVector3R operator/ ( const EvtVector3R v1,
double  c 
)
friend

Definition at line 101 of file EvtVector3R.hh.

◆ operator<<

std::ostream& operator<< ( std::ostream &  s,
const EvtVector3R v 
)
friend

◆ rotateEuler

EvtVector3R rotateEuler ( const EvtVector3R v,
double  phi,
double  theta,
double  ksi 
)
friend

Definition at line 41 of file EvtVector3R.cpp.

Member Data Documentation

◆ v

double EvtVector3R::v[3]
private

Definition at line 56 of file EvtVector3R.hh.


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