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

useful math constants 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::constants
 
namespace  o2::constants::math
 

Variables

constexpr float o2::constants::math::Almost0 = 0x1.0p-126f
 
constexpr float o2::constants::math::Epsilon = 0x0.000002p0f
 
constexpr float o2::constants::math::Almost1 = 1.f - 1.0e-6f
 
constexpr float o2::constants::math::VeryBig = 1.f / Almost0
 
constexpr float o2::constants::math::PI = 3.14159274101257324e+00f
 
constexpr float o2::constants::math::TwoPI = 2.f * PI
 
constexpr float o2::constants::math::PIHalf = 0.5f * PI
 
constexpr float o2::constants::math::PIThird = PI / 3.0f
 
constexpr float o2::constants::math::PIQuarter = 0.25f * PI
 
constexpr float o2::constants::math::Rad2Deg = 180.f / PI
 
constexpr float o2::constants::math::Deg2Rad = PI / 180.f
 
constexpr int o2::constants::math::NSectors = 18
 
constexpr float o2::constants::math::SectorSpanDeg = 360. / NSectors
 
constexpr float o2::constants::math::SectorSpanRad = SectorSpanDeg * Deg2Rad
 
constexpr float o2::constants::math::B2C = -0.299792458e-3
 

Detailed Description

useful math constants

Author
ruben.nosp@m..sha.nosp@m.hoyan.nosp@m.@cer.nosp@m.n.ch

Definition in file MathConstants.h.