Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
periodic.hpp File Reference
#include <cmath>
+ Include dependency graph for periodic.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Acts
 Acts includes to create all necessary definitions.
 
namespace  Acts::detail
 These functions perform the transport of a covariance matrix using given Jacobians. The required data is provided by the stepper object with some additional data. Since this is a purely algebraic problem the calculations are identical for StraightLineStepper and EigenStepper. As a consequence the methods can be located in a separate file.
 

Functions

template<typename T >
T Acts::detail::wrap_periodic (T value, T start, T range)
 Wrap a periodic value back into the nominal range.
 
template<typename T >
T Acts::detail::difference_periodic (T lhs, T rhs, T range)
 
template<typename T >
T Acts::detail::radian_pos (T x)
 Calculate the equivalent angle in the [0, 2*pi) range.
 
template<typename T >
T Acts::detail::radian_sym (T x)
 Calculate the equivalent angle in the [-pi, pi) range.
 
template<typename T >
std::pair< T, TActs::detail::normalizePhiTheta (T phi, T theta)