23 theNChannels(nChannels),
24 theLength(semilenght*2){
28 cout <<
"Constructing DTTopology with:"<<endl
89 throw cms::Exception(
"InvalidWireNumber") <<
"DTTopology::wirePosition:" 90 <<
" Requested wire number: "<< wireNumber
128 if (z > 0.) side =
zMax;
133 if (x > 0.) side =
xMax;
float wirePosition(int wireNumber) const
Returns the x position in the layer of a given wire number.
static const float IBeamWingLength
static const float IBeamWingThickness
float sensibleHeight() const
Returns the height of the actual sensible volume of the cell.
Point3DBase< Scalar, LocalTag > LocalPoint
int channel(const LocalPoint &p) const override
Side onWhichBorder(float x, float y, float z) const
static const float plateThickness
MeasurementPoint measurementPosition(const LocalPoint &) const override
Point2DBase< double, LocalTag > Local2DPoint
float sensibleWidth() const
Returns the width of the actual sensible volume of the cell.
int lastChannel() const
Returns the wire number of the last wire.
Measurement2DPoint MeasurementPoint
Measurement points are two-dimensional by default.
MeasurementError measurementError(const LocalPoint &, const LocalError &) const override
Conversion to the measurement frame.
static const float theHeight
static const float theWidth
DTTopology(int firstWire, int nChannels, float semilenght)
Constructor: number of first wire, total # of wires in the layer and their lenght.
LocalError localError(const MeasurementPoint &, const MeasurementError &) const override
Side onWhichBorder_old(float x, float y, float z) const
Returns the side of the cell in which resides the point (x,y,z) (old cell geometry).
bool isWireValid(const int wireNumber) const
LocalPoint localPosition(const MeasurementPoint &) const override
static const float IBeamThickness