25 virtual HitRCheck *
clone()
const {
return new HitRCheck(*
this); }
39 const auto & lineLeft = theRZ.lineLeft();
40 const auto & lineRight = theRZ.lineRight();
42 float rR = lineRight.rAtZ(z);
43 float rL = lineLeft.rAtZ(z);
44 float rMin = (rR<rL) ? rR : rL;
45 float rMax = (rR<rL) ? rL : rR;
47 float aMin = (rMin>0) ? rMin : rMax;
48 float aMax = (rMin>0) ? rMax : rBig;
49 aMin = (rMax>0) ? aMin : rBig;
50 return Range(aMin-theTolerance.left(),aMax+theTolerance.right());
virtual Range range(const float &rORz) const =0
virtual HitRCheck * clone() const
TkTrackingRegionsMargin< float > Margin
void setTolerance(const Margin &tolerance)
PixelRecoRange< float > Range
bool inside(const T &value) const
virtual bool operator()(const float &r, const float &z) const =0
Unlimited (trivial) bounds.