9 const TrapezoidalPlaneBounds* trapezoidalBounds(dynamic_cast<const TrapezoidalPlaneBounds*>(&(plane.bounds())));
10 const RectangularPlaneBounds* rectangularBounds(dynamic_cast<const RectangularPlaneBounds*>(&(plane.bounds())));
14 if (trapezoidalBounds) {
15 std::array<const float, 4>
const&
parameters = (*trapezoidalBounds).parameters();
20 auto thickness = (*trapezoidalBounds).thickness();
31 }
else if (rectangularBounds) {
32 auto length = rectangularBounds->length();
33 auto width = rectangularBounds->width();
34 auto thickness = (*rectangularBounds).thickness();
47 float phimin = corners[0].barePhi();
49 float zmin = corners[0].z();
51 float rmin = corners[0].perp2();
53 for (
int i = 1;
i < 8;
i++) {
54 auto cPhi = corners[
i].barePhi();
61 auto z = corners[
i].z();
66 auto r = corners[
i].perp2();