4#ifndef MUONREADOUTGEOMETRYR4_RADIALSTRIPDESIGN_H
5#define MUONREADOUTGEOMETRYR4_RADIALSTRIPDESIGN_H
33 void addStrip(
const double posOnBottom,
34 const double posOnTop);
The TransientConstSharedPtr allows non-const access if the pointer itself is non-const but in the con...
Amg::Vector2D stripLeftTop(int stripNumber) const
: Returns the intersection of the left strip edge at the top panel's edge
bool m_reversedStripOrder
Amg::Vector2D stripRightTop(int stripNumber) const
: Returns the intersecetion fo the right strip edge at the top panel's edge
RadialStripDesign()=default
void addStrip(const double posOnBottom, const double posOnTop)
: Defines a new radial strip.
Amg::Vector2D stripNormal(int stripNumber) const
@bief: Returns the vector perpendicular to the stripDir and pointing to the next strip
double stripLength(int stripNumb) const override
Returns the length of the associated strip.
Amg::Vector2D stripLeftEdge(int stripNumber) const
: Returns the direction of the left edge
CheckVector2D leftInterSect(int stripNum, bool uncapped=false) const override final
Returns the intersection of a given strip with the left or right edge of the trapezoid If uncapped is...
stripEdgeVec::const_iterator stripEdgeVecItr
double stripPitch(int stripNumb) const
Returns the pitch of the radial strip evaluated at the strip center.
Amg::Vector2D stripDir(int stripNumber) const
: Returns the direction of the radial strip (Pointing from the bottom edge to the top edge)
Amg::Vector2D stripRightBottom(int stripNumber) const
: Returns the intersecton of the strip right edge at the bottom panel's edge
Amg::Vector2D stripRightEdge(int stripNumber) const
: Returns the direction of the right edge
CheckVector2D rightInterSect(int stripNum, bool uncapped=false) const override final
std::vector< stripEdges > stripEdgeVec
int numStrips() const override
Returns the number of defined strips.
int stripNumber(const Amg::Vector2D &extPos) const override final
Returns the associated channel number of an external vector.
bool operator<(const RadialStripDesign &other) const
set sorting operator
Amg::Vector2D stripLeftBottom(int stripNumber) const
: Returns the intersection of the left strip edge at the bottom panel's edge
std::optional< Amg::Vector2D > CheckVector2D
Eigen::Matrix< double, 2, 1 > Vector2D
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
std::set< RadialStripDesignPtr, RadialDesignSorter > RadialStripDesignSet
GeoModel::TransientConstSharedPtr< RadialStripDesign > RadialStripDesignPtr
bool operator()(const RadialStripDesignPtr &a, const RadialStripDesignPtr &b) const
bool operator()(const RadialStripDesign &a, const RadialStripDesign &b) const
Amg::Vector2D bottomMounting() const
Amg::Vector2D topMounting() const
const RadialStripDesign & parent
Amg::Vector2D center() const
Amg::Vector2D fromBottomToTop() const
stripEdges(double dBot, double dTop, const RadialStripDesign &parent_)
Standard constrcutor.