21 if (xyz1.Z() != xyz2.Z())
return xyz1.Z() > xyz2.Z();
22 if (xyz1.Y() != xyz2.Y())
return xyz1.Y() > xyz2.Y();
23 return xyz1.X() > xyz2.X();
30 std::sort(opdet.begin(), opdet.end(), sortorderOpDets);
virtual void SortOpDets(std::vector< geo::OpDetGeo > &opdet) const
Interface to algorithm class for sorting geo::XXXGeo objects.
geo::Point_t toWorldCoords(LocalPoint_t const &local) const
Transform point from local optical detector frame to world frame.
Encapsulate the geometry of an optical detector.
geo::OpticalPoint_t LocalPoint_t
Type of points in the local GDML TPC frame.
Namespace collecting geometry-related classes utilities.