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

Collection of auxillary 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::align
 
namespace  o2::align::utils
 

Typedefs

using o2::align::trackParam_t = typename track::TrackParametrizationWithError< double >
 
using o2::align::value_t = typename trackParam_t::value_t
 
using o2::align::dim2_t = typename trackParam_t::dim2_t
 
using o2::align::dim3_t = typename trackParam_t::dim3_t
 
using o2::align::params_t = typename trackParam_t::params_t
 
using o2::align::covMat_t = typename trackParam_t::covMat_t
 

Enumerations

enum  { o2::align::utils::Coll , o2::align::utils::Cosm , o2::align::utils::NTrackTypes }
 

Functions

template<typename F >
constexpr bool o2::align::utils::smallerAbs (F d, F tolD) noexcept
 
template<typename F >
constexpr bool o2::align::utils::smaller (F d, F tolD) noexcept
 
constexpr bool o2::align::utils::isZeroAbs (double d) noexcept
 
constexpr bool o2::align::utils::isZeroAbs (float f) noexcept
 
constexpr bool o2::align::utils::isZeroPos (double d) noexcept
 
constexpr bool o2::align::utils::isZeroPos (float f) noexcept
 
constexpr int o2::align::utils::findKeyIndex (int key, const int *arr, int n) noexcept
 
void o2::align::utils::printBits (size_t patt, int maxBits)
 

Variables

constexpr double o2::align::utils::AlmostZeroD = 1e-15
 
constexpr float o2::align::utils::AlmostZeroF = 1e-11
 
constexpr double o2::align::utils::AlmostOneD = 1. - AlmostZeroD
 
constexpr float o2::align::utils::AlmostOneF = 1. - AlmostZeroF
 
constexpr double o2::align::utils::TinyDist = 1.e-7
 

Detailed Description