1 #ifndef GEO_OPDETSORTER_H 2 #define GEO_OPDETSORTER_H 12 double xyz1[3] = {0.}, xyz2[3] = {0.};
13 double local[3] = {0.};
18 return xyz1[0]>xyz2[0];
19 else if(xyz1[2]!=xyz2[2])
20 return xyz1[2]>xyz2[2];
22 return xyz1[1]>xyz2[1];
26 #endif // GEO_OPDETSORTER_H
bool sortorderOpDet(const OpDetGeo &t1, const OpDetGeo &t2)
Encapsulate the geometry of an optical detector.
LArSoft geometry interface.
void LocalToWorld(const double *opdet, double *world) const
Transform point from local optical detector frame to world frame.