EICd
EIC data model
eic::VectorXYZ Class Reference

#include <VectorXYZ.h>

Public Member Functions

 VectorXYZ ()
 
 VectorXYZ (double xx, double yy, double zz)
 
template<class VectorPolarType >
 VectorXYZ (const VectorPolarType &v)
 
float & operator[] (unsigned i)
 
const float & operator[] (unsigned i) const
 
float mag () const
 
float r () const
 
float theta () const
 
float phi () const
 
float eta () const
 
 operator std::tuple< float, float, float > ()
 
float dot (const VectorXYZ &rhs) const
 
VectorXYZ add (const VectorXYZ &rhs) const
 
VectorXYZ subtract (const VectorXYZ &rhs) const
 
VectorXYZ scale (double f) const
 

Public Attributes

float x {}
 [mm] or [GeV] More...
 
float y {}
 
float z {}
 

Constructor & Destructor Documentation

◆ VectorXYZ() [1/3]

eic::VectorXYZ::VectorXYZ ( )
inline

◆ VectorXYZ() [2/3]

eic::VectorXYZ::VectorXYZ ( double  xx,
double  yy,
double  zz 
)
inline

◆ VectorXYZ() [3/3]

template<class VectorPolarType >
eic::VectorXYZ::VectorXYZ ( const VectorPolarType &  v)
inline

Member Function Documentation

◆ add()

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

◆ dot()

float eic::VectorXYZ::dot ( const VectorXYZ rhs) const
inline

◆ eta()

float eic::VectorXYZ::eta ( ) const
inline

◆ mag()

float eic::VectorXYZ::mag ( ) const
inline

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

eic::VectorXYZ::operator std::tuple< float, float, float > ( )
inline

◆ operator[]() [1/2]

float& eic::VectorXYZ::operator[] ( unsigned  i)
inline

◆ operator[]() [2/2]

const float& eic::VectorXYZ::operator[] ( unsigned  i) const
inline

◆ phi()

float eic::VectorXYZ::phi ( ) const
inline

◆ r()

float eic::VectorXYZ::r ( ) const
inline

◆ scale()

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

◆ subtract()

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

◆ theta()

float eic::VectorXYZ::theta ( ) const
inline

Member Data Documentation

◆ x

float eic::VectorXYZ::x {}

[mm] or [GeV]

◆ y

float eic::VectorXYZ::y {}

◆ z

float eic::VectorXYZ::z {}

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