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();
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
GlobalDetRodRangeZPhi(const BoundPlane &RodPlane)
virtual float thickness() const =0
const Bounds & bounds() const
virtual float width() const =0