![]() |
ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
type for parameter with cyclic 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 cyclic 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 cyclic value range
This parameter type is useful to e.g. describe angles.
| 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 97 of file ParameterTypes.hpp.
View newest version in sPHENIX GitHub at line 97 of file ParameterTypes.hpp
|
inlinestatic |
Definition at line 124 of file ParameterTypes.hpp.
View newest version in sPHENIX GitHub at line 124 of file ParameterTypes.hpp
References Acts::cyclic_parameter< T, MIN, MAX >::getValue(), Acts::cyclic_parameter< T, MIN, MAX >::max, Acts::cyclic_parameter< T, MIN, MAX >::min, and tmp.
Here is the call graph for this function:
|
inlinestatic |
retrieve value for constrained cyclic parameter value ranges
| U | type of the input parameter |
| input | input parameter value |
bound_parameter<U,MIN,MAX>::min, bound_parameter<U,MIN,MAX>::max] taking into account the cycle of this parameter type. Definition at line 115 of file ParameterTypes.hpp.
View newest version in sPHENIX GitHub at line 115 of file ParameterTypes.hpp
References Acts::cyclic_parameter< T, MIN, MAX >::max, and Acts::cyclic_parameter< T, MIN, MAX >::min.
Referenced by Acts::cyclic_parameter< T, MIN, MAX >::getDifference().
Here is the caller graph for this function:
|
static |
upper bound of range
Definition at line 101 of file ParameterTypes.hpp.
View newest version in sPHENIX GitHub at line 101 of file ParameterTypes.hpp
Referenced by Acts::cyclic_parameter< T, MIN, MAX >::getDifference(), and Acts::cyclic_parameter< T, MIN, MAX >::getValue().
|
static |
parameter values may need adjustment
Definition at line 98 of file ParameterTypes.hpp.
View newest version in sPHENIX GitHub at line 98 of file ParameterTypes.hpp
|
static |
lower bound of range
Definition at line 100 of file ParameterTypes.hpp.
View newest version in sPHENIX GitHub at line 100 of file ParameterTypes.hpp
Referenced by Acts::cyclic_parameter< T, MIN, MAX >::getDifference(), and Acts::cyclic_parameter< T, MIN, MAX >::getValue().