16 vector<Surface::GlobalPoint> corners(4);
23 float zmin = corners[0].z();
float zmax = zmin;
24 for (
int i=1;
i<4;
i++) {
25 float phi = corners[
i].phi();
29 float z = corners[
i].z();
30 if ( z < zmin) zmin =
z;
31 if ( z > zmax) zmax =
z;
34 theZRange.first = zmin;
35 theZRange.second = zmax;
36 thePhiRange.first =
phimin;
37 thePhiRange.second =
phimax;
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
virtual float length() const =0
GlobalDetRangeZPhi(const BoundPlane &det)
const Bounds & bounds() const
virtual float width() const =0