17 if (part ==
"barrel") {
30 float pitch = width/nstrip;
38 float rCross = widthAtHalf*length/(2*(width-widthAtHalf));
39 float aw = atan2(widthAtHalf/2., static_cast<double>(rCross))/(nstrip/2);
virtual float widthAtHalfLength() const
Width at half length. Useful for e.g. pitch definition.
virtual float length() const =0
StripTopology * build(const Bounds *, double, std::string)
StripTopology * constructForward(float, float, float, int)
StripTopology * constructBarrel(float, float)
virtual float width() const =0