18 double xyz1[3] = {0.}, xyz2[3] = {0.};
19 double local[3] = {0.};
24 return xyz1[2]>xyz2[2];
25 else if(xyz1[1]!=xyz2[1])
26 return xyz1[1]>xyz2[1];
28 return xyz1[0]>xyz2[0];
virtual void SortOpDets(std::vector< geo::OpDetGeo > &opdet) const
Interface to algorithm class for sorting geo::XXXGeo objects.
static bool sortorderOpDets(const OpDetGeo &t1, const OpDetGeo &t2)
Encapsulate the geometry of an optical detector.
void LocalToWorld(const double *opdet, double *world) const
Transform point from local optical detector frame to world frame.