14 if (trapezoidalBounds) {
15 std::array<const float, 4>
const &
parameters = (*trapezoidalBounds).parameters();
17 float hbotedge = parameters[0];
18 float htopedge = parameters[1];
19 float hapothem = parameters[3];
20 float thickness = (*trapezoidalBounds).thickness();
31 }
else if(rectangularBounds) {
32 float length = rectangularBounds->length();
33 float width = rectangularBounds->width();
34 float thickness = (*rectangularBounds).thickness();
48 float phimin = corners[0].
barePhi();
float phimax = phimin;
50 for (
int i = 1;
i < 8;
i++ ) {
51 float cPhi = corners[
i].barePhi();
54 float z = corners[
i].z();
55 if ( z < zmin) zmin =
z;
56 if ( z > zmax) zmax =
z;
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
const Bounds & bounds() const
std::pair< float, float > m_zSpan
bool phiLess(float phi1, float phi2)
void compute(Surface const &plane)
std::pair< float, float > m_phiSpan