16 std::vector<Surface::GlobalPoint> corners(4);
23 float rmin = corners[0].perp();
float rmax = rmin;
24 for (
int i=1;
i<4;
i++) {
25 float phi = corners[
i].phi();
32 float r = corners[
i].perp();
33 if ( r < rmin) rmin =
r;
34 if ( r > rmax) rmax =
r;
37 theRRange.first = rmin;
38 theRRange.second = rmax;
39 thePhiRange.first =
phimin;
40 thePhiRange.second =
phimax;
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
virtual float length() const =0
GlobalDetRangeRPhi(const BoundPlane &det)
const Bounds & bounds() const
virtual float width() const =0