|
ATLAS Offline Software
|
Go to the documentation of this file.
7 m_rotMat.setIdentity();
19 Eigen::Rotation2D rot{sAngle};
22 m_rotMat = Eigen::Rotation2D{-sAngle};
45 double HalfLongY_uncut = HalfLongY + ycutout * (HalfLongY - HalfShortY)/(2*HalfHeight - ycutout);
Ensure that the Athena extensions are properly loaded.
double firstPos() const
Returns the position of the first strip along the x-axis.
Amg::Vector2D m_bottomEdge
Vector describing the left edge of the trapezoid.
Amg::Vector2D m_topLeft
Top right point of the trapezoid.
void defineTrapezoid(double HalfShortY, double HalfLongY, double HalfHeight)
set the trapezoid dimensions
Eigen::Matrix< double, 2, 1 > Vector2D
Amg::Vector2D m_stereoDir
Direction of the strips.
void defineDiamond(double HalfShortY, double HalfLongY, double HalfHeight, double ycutout)
Amg::Vector2D m_topEdge
Vector describing the right edge of the trapzoid.
Amg::Vector2D m_topRight
Bottom right point of the trapezoid.
Amg::Vector2D m_bottomRight
Bottom right point of the trapezoid.
Amg::Vector2D m_stereoNormal
Direction pointing to the next strips.
const PlainObject unit() const
This is a plugin that makes Eigen look like CLHEP & defines some convenience methods.
double m_firstPos
Position of the first measurement.
void setFirstPos(const double pos)
Set the position of the first strip along the x-axis.
Amg::Vector2D m_bottomLeft
Bottom left point of the trapezoid.
void setStereoAngle(double sAngle)
calculate local stereo angle