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 within the limits. | |
template<typename value_t > | |
static constexpr value_t | getDifference (const value_t &lhs, const value_t &rhs) |
Compute the difference between two values with limit handling. | |
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 restricted value range.
limits_t | a type with static lowest() and max() member functions |
This parameter type could be useful to describe parameter with physical meaningful bounds (e.g. radius).
Definition at line 44 of file ParameterTraits.hpp.
View newest version in sPHENIX GitHub at line 44 of file ParameterTraits.hpp
|
inlinestatic |
Compute the difference between two values with limit handling.
Definition at line 60 of file ParameterTraits.hpp.
View newest version in sPHENIX GitHub at line 60 of file ParameterTraits.hpp
References Acts::detail::RestrictedParameterTraits< limits_t >::getValue().
|
inlinestatic |
Get the corrected value within the limits.
Definition at line 54 of file ParameterTraits.hpp.
View newest version in sPHENIX GitHub at line 54 of file ParameterTraits.hpp
References Acts::detail::RestrictedParameterTraits< limits_t >::max, and Acts::detail::RestrictedParameterTraits< limits_t >::min.
Referenced by Acts::detail::RestrictedParameterTraits< limits_t >::getDifference().
|
static |
Upper bound of range.
Definition at line 50 of file ParameterTraits.hpp.
View newest version in sPHENIX GitHub at line 50 of file ParameterTraits.hpp
Referenced by Acts::detail::RestrictedParameterTraits< limits_t >::getValue().
|
static |
Parameter values may need adjustment.
Definition at line 46 of file ParameterTraits.hpp.
View newest version in sPHENIX GitHub at line 46 of file ParameterTraits.hpp
|
static |
Lower bound of range.
Definition at line 48 of file ParameterTraits.hpp.
View newest version in sPHENIX GitHub at line 48 of file ParameterTraits.hpp
Referenced by Acts::detail::RestrictedParameterTraits< limits_t >::getValue().