19 Eigen::Matrix3d vectorset{Eigen::Matrix3d::Identity()};
20 if (stripNumber == 1){
39 ret.
center = vectorset.col(0);
40 ret.
left = vectorset.col(1);
41 ret.
right = vectorset.col(2);
46 Amg::Vector3D center{Amg::Vector3D::Zero()}, left{Amg::Vector3D::Zero()}, right{Amg::Vector3D::Zero()};
47 if (stripNumber == 1){
73 ret = (sx+1.0)*center - sx*left;
75 ret = (1.0-sx)*center + sx*right;
const Element & m_element_stgc
stgcStripConfiguration_t m_config_stgc
stgcStrip_t getStgcStrip(ParameterClass iclass, int stripNumber) const
Returns three points (center, left, right) of a given strip, in quadruplet coordinates.
CathodeBoardElement(stgcStripConfiguration_t config, const Element &element)
Constructor.
Element::ParameterClass ParameterClass
Amg::Vector3D getPositionAlongStgcStrip(ParameterClass iclass, int stripNumber, double sx, double sy) const
Returns a point on the strip, parameterized by second coordinate s, in [-1,+1].
Element: a node in a hierarchy of alignment frames.
Eigen::Matrix< double, 3, 1 > Vector3D
The return type of the getStrip method: three points along the strip, in quadruplet coordinate.