22 vector<Surface::GlobalPoint> corners(4);
28 float phimin = corners[0].
phi();
float phimax = phimin;
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
Geom::Phi< T > phi() const
const Bounds & bounds() const
virtual float thickness() const =0
GlobalDetRodRangeZPhi(const Plane &RodPlane)
Geom::Phi< T > phi() const
virtual float width() const =0