ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
type for parameter with restricted value range More...
#include <acts/blob/master/Core/include/Acts/Utilities/ParameterTypes.hpp>
Static Public Member Functions | |
template<typename U > | |
static U | getValue (const U &input) |
retrieve value for constrained parameter value ranges | |
template<typename U > | |
static U | getDifference (const U &first, const U &second) |
Static Public Attributes | |
static constexpr bool | may_modify_value |
parameter values may need adjustment | |
static constexpr T | min {MIN()} |
lower bound of range | |
static constexpr T | max {MAX()} |
upper bound of range | |
type for parameter with restricted value range
This parameter type could be useful to describe parameter with physical meaningful bounds (e.g. radius).
T | type for boundary value (usually double ) |
MIN | pointer to a constexpr function returning the lower bound of the value range |
MAX | pointer to a constexpr function returning the upper bound of the value range |
Definition at line 58 of file ParameterTypes.hpp.
View newest version in sPHENIX GitHub at line 58 of file ParameterTypes.hpp
|
inlinestatic |
Definition at line 80 of file ParameterTypes.hpp.
View newest version in sPHENIX GitHub at line 80 of file ParameterTypes.hpp
References Acts::bound_parameter< T, MIN, MAX >::getValue().
|
inlinestatic |
retrieve value for constrained parameter value ranges
U | type of the input parameter |
input | input parameter value |
bound_parameter<U<MIN<MAX>::min
and bound_parameter<U,MIN,MAX>::max
. Definition at line 75 of file ParameterTypes.hpp.
View newest version in sPHENIX GitHub at line 75 of file ParameterTypes.hpp
References Acts::bound_parameter< T, MIN, MAX >::max, and Acts::bound_parameter< T, MIN, MAX >::min.
Referenced by Acts::bound_parameter< T, MIN, MAX >::getDifference().
|
static |
upper bound of range
Definition at line 62 of file ParameterTypes.hpp.
View newest version in sPHENIX GitHub at line 62 of file ParameterTypes.hpp
Referenced by Acts::bound_parameter< T, MIN, MAX >::getValue().
|
static |
parameter values may need adjustment
Definition at line 59 of file ParameterTypes.hpp.
View newest version in sPHENIX GitHub at line 59 of file ParameterTypes.hpp
|
static |
lower bound of range
Definition at line 61 of file ParameterTypes.hpp.
View newest version in sPHENIX GitHub at line 61 of file ParameterTypes.hpp
Referenced by Acts::bound_parameter< T, MIN, MAX >::getValue().