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 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...
double getLowestLimitSignedVal(double margin=1.E-3) const
Get the numerical value of the lowest limit, signed with stepSign_.
void removeLimit(StepLimitType type)
StepLimits & operator=(const StepLimits &other)
double getLowestLimitVal(double margin=1.E-3) const
Get the unsigned numerical value of the lowest limit.
std::vector< double > limits_
std::pair< StepLimitType, double > getLowestLimit(double margin=1.E-3) const
Get the lowest limit.
void setStepSign(char signedVal)
sets stepSign_ to sign of signedVal
double getLimit(StepLimitType type) const
Get limit of type. If that limit has not yet been set, return max double value.
double getLimitSigned(StepLimitType type) const
static const double maxLimit_
Defines for I/O streams used for error and debug printing.