8 ProxyStripTopology::ProxyStripTopology(StripGeomDetType*
type,
BoundPlane * bp)
9 :theType(type), theLength(bp->bounds().length()), theWidth(bp->bounds().
width())
32 if (!this->surfaceDeformation())
return specificTopology().localPosition(mp);
35 const LocalPoint posOld(specificTopology().localPosition(mp));
59 if (!this->surfaceDeformation())
return specificTopology().localPosition(strip);
62 const LocalPoint posOld(specificTopology().localPosition(strip));
71 LocalError ProxyStripTopology::localError(
float strip,
float stripErr2,
82 return specificTopology().localError(strip, stripErr2);
93 return specificTopology().localError(mp, me);
101 if (!this->surfaceDeformation())
return specificTopology().measurementPosition(lp);
107 return specificTopology().measurementPosition(posOrig);
115 if (!this->surfaceDeformation())
return specificTopology().measurementError(lp, le);
123 return specificTopology().measurementError(posOrig, le);
130 if (!this->surfaceDeformation())
return specificTopology().channel(lp);
136 return specificTopology().channel(posOrig);
143 if (!this->surfaceDeformation())
return specificTopology().strip(lp);
149 return specificTopology().strip(posOrig);
156 if (!this->surfaceDeformation())
return specificTopology().localPitch(lp);
162 return specificTopology().localPitch(posOrig);
169 if (!this->surfaceDeformation())
return specificTopology().localStripLength(lp);
175 return specificTopology().localStripLength(posOrig);
180 void ProxyStripTopology::setSurfaceDeformation(
const SurfaceDeformation * deformation)
182 theSurfaceDeformation = deformation;
187 ProxyStripTopology::positionCorrection(
const LocalPoint &pos,
192 return this->surfaceDeformation()->positionCorrection(pos2D, dir,
193 theLength, theWidth);
200 return this->surfaceDeformation()->positionCorrection(trk.
point(), trk.
angles(),
201 theLength, theWidth);
const LocalTrackAngles & angles() const
const Local2DPoint & point() const