Project
Loading...
Searching...
No Matches
Utils.h File Reference

General auxilliary methods. More...

Go to the source code of this file.

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::math_utils
 

Functions

 o2::math_utils::GPUdi () float to02Pi(float phi)
 
 o2::math_utils::GPUdi () void bringTo02Pi(float &phi)
 
float o2::math_utils::toPMPiGen (float phi)
 
double o2::math_utils::toPMPiGend (double phi)
 
void o2::math_utils::bringToPMPiGen (float &phi)
 
void o2::math_utils::bringToPMPiGend (double &phi)
 
float o2::math_utils::to02PiGen (float phi)
 
double o2::math_utils::to02PiGend (double phi)
 
void o2::math_utils::bringTo02PiGen (float &phi)
 
void o2::math_utils::bringTo02PiGend (double &phi)
 
float o2::math_utils::toPMPi (float phi)
 
double o2::math_utils::toPMPid (double phi)
 
void o2::math_utils::bringToPMPi (float &phi)
 
void o2::math_utils::bringToPMPid (double &phi)
 
std::tuple< float, float > o2::math_utils::rotateZInv (float xG, float yG, float snAlp, float csAlp)
 
std::tuple< double, double > o2::math_utils::rotateZInvd (double xG, double yG, double snAlp, double csAlp)
 
std::tuple< float, float > o2::math_utils::rotateZ (float xL, float yL, float snAlp, float csAlp)
 
std::tuple< double, double > o2::math_utils::rotateZd (double xL, double yL, double snAlp, double csAlp)
 
void o2::math_utils::rotateZ (std::array< float, 3 > &xy, float alpha)
 
void o2::math_utils::rotateZd (std::array< double, 3 > &xy, double alpha)
 
int o2::math_utils::angle2Sector (float phi)
 
int o2::math_utils::angle2Sectord (double phi)
 
float o2::math_utils::sector2Angle (int sect)
 
double o2::math_utils::sector2Angled (int sect)
 
float o2::math_utils::angle2Alpha (float phi)
 
double o2::math_utils::angle2Alphad (double phi)
 
 o2::math_utils::GPUhdi () float fastATan2(float y
 
template<class T >
 o2::math_utils::GPUhdi () T min(const T x
 

Variables

float & o2::math_utils::s
 
float float & o2::math_utils::c
 
float o2::math_utils::yL
 
float float & o2::math_utils::xG
 
float float float & o2::math_utils::yG
 
float float float float o2::math_utils::snAlp
 
float float float float float o2::math_utils::csAlp
 
float float & o2::math_utils::xL
 
float o2::math_utils::x
 
const T o2::math_utils::y
 

Detailed Description