17 template <
typename T,
typename Arg>
18 auto bind(
bool (T::*ft)(Arg
const&, Arg
const&)
const, T
const* t)
20 return [t, ft](
auto const& a,
auto const& b) {
return (t->*ft)(a, b); };
45 if (xyz1.Z() != xyz2.Z())
return xyz1.Z() > xyz2.Z();
46 if (xyz1.Y() != xyz2.Y())
return xyz1.Y() > xyz2.Y();
47 return xyz1.X() > xyz2.X();
Encapsulate the construction of a single cyostat .
Encapsulate the geometry of the sensitive portion of an auxiliary detector .
Point_t const & GetCenter() const
Interface to algorithm class for sorting geo::AuxDet objects .
virtual bool compareCryostats(CryostatGeo const &c1, CryostatGeo const &c2) const =0
void sort(std::vector< CryostatGeo > &cryostats) const
Encapsulate the geometry of an auxiliary detector.
Encapsulate the geometry of an optical detector.
virtual bool compareOpDets(OpDetGeo const &od1, OpDetGeo const &od2) const
virtual bool compareTPCs(TPCGeo const &t1, TPCGeo const &t2) const =0
Encapsulate the construction of a single detector plane .