EICd
EIC data model
eic::VectorXYZT Class Reference

#include <VectorXYZT.h>

Public Member Functions

 VectorXYZT ()
 
 VectorXYZT (double xx, double yy, double zz, double tt)
 
double & operator[] (unsigned i)
 
const double & operator[] (unsigned i) const
 
double mag () const
 
double r () const
 
double theta () const
 
double phi () const
 
double eta () const
 
double energy () const
 
double mass () const
 
 operator std::tuple< double, double, double, double > ()
 
double dot (const VectorXYZT &rhs) const
 
VectorXYZT add (const VectorXYZT &rhs) const
 
VectorXYZT subtract (const VectorXYZT &rhs) const
 
VectorXYZT scale (double f) const
 

Public Attributes

double x {}
 [mm] or [GeV] More...
 
double y {}
 
double z {}
 
double t {}
 [ns] or [GeV] More...
 

Constructor & Destructor Documentation

◆ VectorXYZT() [1/2]

eic::VectorXYZT::VectorXYZT ( )
inline

◆ VectorXYZT() [2/2]

eic::VectorXYZT::VectorXYZT ( double  xx,
double  yy,
double  zz,
double  tt 
)
inline

Member Function Documentation

◆ add()

VectorXYZT eic::VectorXYZT::add ( const VectorXYZT rhs) const
inline

◆ dot()

double eic::VectorXYZT::dot ( const VectorXYZT rhs) const
inline

◆ energy()

double eic::VectorXYZT::energy ( ) const
inline

◆ eta()

double eic::VectorXYZT::eta ( ) const
inline

◆ mag()

double eic::VectorXYZT::mag ( ) const
inline

◆ mass()

double eic::VectorXYZT::mass ( ) const
inline

◆ operator std::tuple< double, double, double, double >()

eic::VectorXYZT::operator std::tuple< double, double, double, double > ( )
inline

◆ operator[]() [1/2]

double& eic::VectorXYZT::operator[] ( unsigned  i)
inline

◆ operator[]() [2/2]

const double& eic::VectorXYZT::operator[] ( unsigned  i) const
inline

◆ phi()

double eic::VectorXYZT::phi ( ) const
inline

◆ r()

double eic::VectorXYZT::r ( ) const
inline

◆ scale()

VectorXYZT eic::VectorXYZT::scale ( double  f) const
inline

◆ subtract()

VectorXYZT eic::VectorXYZT::subtract ( const VectorXYZT rhs) const
inline

◆ theta()

double eic::VectorXYZT::theta ( ) const
inline

Member Data Documentation

◆ t

double eic::VectorXYZT::t {}

[ns] or [GeV]

◆ x

double eic::VectorXYZT::x {}

[mm] or [GeV]

◆ y

double eic::VectorXYZT::y {}

◆ z

double eic::VectorXYZT::z {}

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