EICd
EIC data model
eic::VectorPolar Class Reference

#include <VectorPolar.h>

Public Member Functions

 VectorPolar ()
 
 VectorPolar (double rr, double th, double ph)
 
template<class VectorXYZType >
 VectorPolar (const VectorXYZType &v)
 
float mag () const
 
float x () const
 
float y () const
 
float z () const
 
float eta () const
 
 operator std::tuple< float, float, float > ()
 

Public Attributes

float r {}
 [mm] or [GeV] More...
 
float theta {}
 [rad, 0->pi] More...
 
float phi {}
 [rad, -pi->pi] More...
 

Constructor & Destructor Documentation

◆ VectorPolar() [1/3]

eic::VectorPolar::VectorPolar ( )
inline

◆ VectorPolar() [2/3]

eic::VectorPolar::VectorPolar ( double  rr,
double  th,
double  ph 
)
inline

◆ VectorPolar() [3/3]

template<class VectorXYZType >
eic::VectorPolar::VectorPolar ( const VectorXYZType &  v)
inline

Member Function Documentation

◆ eta()

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

◆ mag()

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

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

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

◆ x()

float eic::VectorPolar::x ( ) const
inline

◆ y()

float eic::VectorPolar::y ( ) const
inline

◆ z()

float eic::VectorPolar::z ( ) const
inline

Member Data Documentation

◆ phi

float eic::VectorPolar::phi {}

[rad, -pi->pi]

◆ r

float eic::VectorPolar::r {}

[mm] or [GeV]

◆ theta

float eic::VectorPolar::theta {}

[rad, 0->pi]


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