EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/sPHENIX/Core/include/Acts/EventData/detail/ParameterTraits.hpp>
Static Public Member Functions | |
template<typename value_t > | |
static constexpr value_t | getValue (const value_t &value) |
Get the corrected value folded into the central range. | |
template<typename value_t > | |
static constexpr value_t | getDifference (const value_t &lhs, const value_t &rhs) |
Compute the smallest equivalent difference when using the periodicity. | |
Static Public Attributes | |
static constexpr bool | may_modify_value = true |
Parameter values may need adjustment. | |
static constexpr double | min = limits_t::lowest() |
Lower bound of range. | |
static constexpr double | max = limits_t::max() |
Upper bound of range. | |
Traits class for a parameter with a cyclic value range.
limits_t | a type with static lowest() and max() member functions |
This parameter type is useful to e.g. describe angles.
Definition at line 72 of file ParameterTraits.hpp.
View newest version in sPHENIX GitHub at line 72 of file ParameterTraits.hpp
|
inlinestatic |
Compute the smallest equivalent difference when using the periodicity.
Definition at line 91 of file ParameterTraits.hpp.
View newest version in sPHENIX GitHub at line 91 of file ParameterTraits.hpp
References Acts::Test::delta, Acts::detail::CyclicParameterTraits< limits_t >::getValue(), Acts::detail::CyclicParameterTraits< limits_t >::max, and Acts::detail::CyclicParameterTraits< limits_t >::min.
|
inlinestatic |
Get the corrected value folded into the central range.
Definition at line 82 of file ParameterTraits.hpp.
View newest version in sPHENIX GitHub at line 82 of file ParameterTraits.hpp
References Acts::detail::CyclicParameterTraits< limits_t >::max, Acts::detail::CyclicParameterTraits< limits_t >::min, and value.
Referenced by Acts::detail::CyclicParameterTraits< limits_t >::getDifference().
|
static |
Upper bound of range.
Definition at line 78 of file ParameterTraits.hpp.
View newest version in sPHENIX GitHub at line 78 of file ParameterTraits.hpp
Referenced by Acts::detail::CyclicParameterTraits< limits_t >::getDifference(), and Acts::detail::CyclicParameterTraits< limits_t >::getValue().
|
static |
Parameter values may need adjustment.
Definition at line 74 of file ParameterTraits.hpp.
View newest version in sPHENIX GitHub at line 74 of file ParameterTraits.hpp
|
static |
Lower bound of range.
Definition at line 76 of file ParameterTraits.hpp.
View newest version in sPHENIX GitHub at line 76 of file ParameterTraits.hpp
Referenced by Acts::detail::CyclicParameterTraits< limits_t >::getDifference(), and Acts::detail::CyclicParameterTraits< limits_t >::getValue().