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