14 for (vector<const Det*>::const_iterator
i = dets.begin();
i != dets.end();
i++) {
15 posSum += (**i).surface().position().basicVector();
22 auto bo = computeBounds(dets, tmpPlane);
34 const Plane& plane)
const {
36 vector<GlobalPoint> corners;
37 for (vector<const Det*>::const_iterator idet = dets.begin(); idet != dets.end(); idet++) {
51 corners.insert(corners.end(), dc.begin(), dc.end());
55 for (vector<GlobalPoint>::const_iterator
i = corners.begin();
i != corners.end();
i++) {
74 pair<RectangularPlaneBounds*, GlobalVector>
result(
86 const Plane& plane = dynamic_cast<const Plane&>(dets.front()->surface());
92 if (planeYAxis.
z() < 0)
100 if (
n.x() * meanPos.
x() +
n.y() * meanPos.
y() > 0) {