24 #ifndef genfit_StepLimits_h
25 #define genfit_StepLimits_h
75 std::pair<StepLimitType, double>
getLowestLimit(
double margin = 1.E-3)
const;
110 #endif // genfit_StepLimits_h
double getLowestLimitVal(double margin=1.E-3) const
Get the unsigned numerical value of the lowest limit.
StepLimits & operator=(const StepLimits &other)
void setStepSign(char signedVal)
sets stepSign_ to sign of signedVal
Helper to store different limits on the stepsize for the RKTRackRep.
double getLowestLimitSignedVal(double margin=1.E-3) const
Get the numerical value of the lowest limit, signed with stepSign_.
std::vector< double > limits_
double getLimit(StepLimitType type) const
Get limit of type. If that limit has not yet been set, return max double value.
friend F32vec4 fabs(const F32vec4 &a)
double getLimitSigned(StepLimitType type) const
void setLimit(StepLimitType type, double value)
absolute of value will be taken! If limit is already lower, it will be set to value anyway...
std::pair< StepLimitType, double > getLowestLimit(double margin=1.E-3) const
Get the lowest limit.
void reduceLimit(StepLimitType type, double value)
absolute of value will be taken! If limit is already lower, it will stay.
static const double maxLimit_
void removeLimit(StepLimitType type)