9 auto bo = computeBounds(dets);
33 float rmin((**(dets.begin())).surface().position().perp());
35 float zmin((**(dets.begin())).surface().position().z());
37 for (vector<const GeomDet*>::const_iterator idet = dets.begin(); idet != dets.end(); idet++) {
47 for (vector<GlobalPoint>::const_iterator
i = corners.begin();
i != corners.end();
i++) {
59 float rdet = (**idet).position().perp();
60 float len = (**idet).surface().bounds().length();
61 float width = (**idet).surface().bounds().width();
67 double xAxisCos =
xAxis.unit().dot(perpDir.
unit());
68 double yAxisCos =
yAxis.unit().dot(perpDir.
unit());
70 if (fabs(xAxisCos) > fabs(yAxisCos)) {
74 rmin =
min(rmin, rdet - len / 2.
F);
75 rmax =
max(rmax, rdet + len / 2.
F);