11 typedef std::pair<float, float> return_type;
17 if (trapezoidalBounds) {
18 std::vector<float>
const &
parameters = (*trapezoidalBounds).parameters();
20 float hbotedge = parameters[0];
21 float htopedge = parameters[1];
22 float hapothem = parameters[3];
23 float thickness = (*trapezoidalBounds).thickness();
34 }
else if(rectangularBounds) {
35 float length = rectangularBounds->length();
36 float width = rectangularBounds->width();
37 float thickness = (*rectangularBounds).thickness();
51 float phimin = corners[0].
barePhi();
float phimax = phimin;
52 float zmin = corners[0].z();
float zmax = zmin;
53 for (
int i = 1;
i < 8;
i++ ) {
54 float cPhi = corners[
i].barePhi();
57 float z = corners[
i].z();
58 if ( z < zmin) zmin =
z;
59 if ( z > zmax) zmax =
z;
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
bool phiLess(float phi1, float phi2)
const Bounds & bounds() const
std::pair< float, float > m_zSpan
std::pair< float, float > m_phiSpan