22 vector<Surface::GlobalPoint> corners(4);
29 float zmin = corners[0].z();
float zmax = zmin;
30 for (
int i=1;
i<4;
i++) {
31 float phi = corners[
i].phi();
32 if (
PhiLess()( phi, phimin)) phimin = phi;
33 if (
PhiLess()( phimax, phi)) phimax = phi;
35 float z = corners[
i].z();
36 if ( z < zmin) zmin = z;
37 if ( z > zmax) zmax = z;
40 theZRange.first = zmin;
41 theZRange.second = zmax;
42 thePhiRange.first =
phimin;
43 thePhiRange.second =
phimax;
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
virtual float length() const =0
Point3DBase< Scalar, LocalTag > LocalPoint
const Bounds & bounds() const
virtual float width() const =0
virtual float thickness() const =0
GlobalDetRodRangeZPhi(const Plane &RodPlane)