Go to the documentation of this file.
40 float segmDistance = -1;
41 if (sl == 1 || sl == 3)
42 segmDistance = fabs(wirePosInChamber.
x() - segPosAtZWire.
x());
44 segmDistance = fabs(segPosAtZWire.
y() - wirePosInChamber.
y());
50 float residualOnDistance = recHitWireDist - segmDistance;
52 return residualOnDistance;
int wire() const
Return the wire number.
LocalVector localDirection() const override
Local direction in Chamber frame.
Geom::Theta< T > theta() const
int superlayer() const
Return the superlayer number (deprecated method name)
float compute(const DTGeometry *, const DTRecHit1D &, const DTRecSegment4D &)
LocalPoint localPosition() const override
Local position in Chamber frame.
const DTChamber * chamber(const DTChamberId &id) const
Return a DTChamber given its id.
float wirePosition(int wireNumber) const
Returns the x position in the layer of a given wire number.
DTWireId wireId() const
Return the wireId.
Cos< T >::type cos(const T &t)
LocalPoint localPosition() const override
Return the 3-dimensional local position.
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
const DTLayer * layer(const DTLayerId &id) const
Return a layer given its id.
DTChamberId chamberId() const
Return the corresponding ChamberId.
const DTTopology & specificTopology() const
DTLayerId layerId() const
Return the corresponding LayerId.