24#ifndef genfit_StepLimits_h
25#define genfit_StepLimits_h
75 std::pair<StepLimitType, double>
getLowestLimit(
double margin = 1.E-3)
const;
Helper to store different limits on the stepsize for the RKTRackRep.
void reduceLimit(StepLimitType type, double value)
absolute of value will be taken! If limit is already lower, it will stay.
void setLimit(StepLimitType type, double value)
absolute of value will be taken! If limit is already lower, it will be set to value anyway.
StepLimits & operator=(const StepLimits &other)
std::pair< StepLimitType, double > getLowestLimit(double margin=1.E-3) const
Get the lowest limit.
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.
void setStepSign(char signedVal)
sets stepSign_ to sign of signedVal
double getLimitSigned(StepLimitType type) const
void removeLimit(StepLimitType type)
double getLowestLimitVal(double margin=1.E-3) const
Get the unsigned numerical value of the lowest limit.
static const double maxLimit_