Analysis Software
Documentation for sPHENIX simulation software
|
#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 73 of file ParameterTraits.hpp.
View newest version in sPHENIX GitHub at line 73 of file ParameterTraits.hpp
|
inlinestatic |
Compute the smallest equivalent difference when using the periodicity.
Definition at line 92 of file ParameterTraits.hpp.
View newest version in sPHENIX GitHub at line 92 of file ParameterTraits.hpp
References physmon_vertexing::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 83 of file ParameterTraits.hpp.
View newest version in sPHENIX GitHub at line 83 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 79 of file ParameterTraits.hpp.
View newest version in sPHENIX GitHub at line 79 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 75 of file ParameterTraits.hpp.
View newest version in sPHENIX GitHub at line 75 of file ParameterTraits.hpp
|
static |
Lower bound of range.
Definition at line 77 of file ParameterTraits.hpp.
View newest version in sPHENIX GitHub at line 77 of file ParameterTraits.hpp
Referenced by Acts::detail::CyclicParameterTraits< limits_t >::getDifference(), and Acts::detail::CyclicParameterTraits< limits_t >::getValue().