5#include <GaudiKernel/SystemOfUnits.h>
9 ostr<<
"Dimension -- width x height [mm]: "<<
halfWidth() * Gaudi::Units::mm<<
" x ";
15 ostr<<
" -- numWireGroups: "<<
m_groups.size()<<
", wire pitch: "<<
stripPitch()<<
", nWires: [";
17 ostr<<grp.numWires<<
",";
22 if (other.m_groups.size() !=
m_groups.size()) {
23 return m_groups.size() < other.m_groups.size();
25 for (
unsigned int grp = 0; grp <
m_groups.size(); ++grp) {
26 if (
m_groups[grp].numWires != other.m_groups[grp].numWires) {
27 return m_groups[grp].numWires < other.m_groups[grp].numWires;
30 return static_cast<const StripDesign&
>(*this) < other;
#define ATH_MSG_WARNING(x)
double halfWidth() const
Returns the half height of the strip panel.
double stereoAngle() const
Returns the value of the stereo angle.
const Amg::Vector2D & cornerTopLeft() const
Returns the top left corner of the trapezoid.
int firstStripNumber() const
Returns the number of the first strip.
CheckVector2D center(int stripNumb) const
Returns the bisector of the strip (Global numbering scheme)
const Amg::Vector2D & cornerTopRight() const
Returns the top right corner of the trapezoid.
double stripPitch() const
Distance between two adjacent strips.
double shortHalfHeight() const
Returns the shorter half height of the panel.
double longHalfHeight() const
Returns the longer half height of the panel.
bool hasStereoAngle() const
Returns whether a stereo angle is defined.
const Amg::Vector2D & cornerBotRight() const
Returns the bottom right corner of the trapezoid.
const Amg::Vector2D & cornerBotLeft() const
Returns the bottom left corner of the trapezoid.
void declareGroup(const unsigned int x)
Adds a new group of wires to the design.
bool operator<(const WireGroupDesign &other) const
set sorting operator
WireGroupDesign()=default
double m_wireCutout
Wire length available for digitization in a gas Gap.
unsigned int numWiresInGroup(unsigned int groupNum) const
Returns the number of wires in a given group.
unsigned int numPitchesToGroup(unsigned int groupNum) const
Returns the number of wire pitches to reach the given group.
double wireCutout() const
Extract the wireCutout for a wireGroup layer.
void print(std::ostream &ostr) const override final
Dump properties to the ostr.
unsigned int nAllWires() const
Returns the number of all wires.
void defineWireCutout(const double wireCutout)
Define the wirelength available for digitization in a gasGap.
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
helper construct to cache the number of wires in each group as well as the accumulated number of wire...