24 float wireX =
layer->specificTopology().wirePosition(wireId.
wire());
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.
LocalPoint localPosition() const override
Local position in Chamber frame.
constexpr std::array< uint8_t, layerIndexSize > layer
DTChamberId chamberId() const
Return the corresponding ChamberId.
Cos< T >::type cos(const T &t)
int superlayer() const
Return the superlayer number (deprecated method name)
float compute(const DTGeometry *, const DTRecHit1D &, const DTRecSegment4D &)
DTWireId wireId() const
Return the wireId.
DTLayerId layerId() const
Return the corresponding LayerId.
LocalPoint localPosition() const override
Return the 3-dimensional local position.
const DTChamber * chamber(const DTChamberId &id) const
Return a DTChamber given its id.
Geom::Theta< T > theta() const
const DTLayer * layer(const DTLayerId &id) const
Return a layer given its id.