9 template <
typename T,
typename Arg>
10 auto bind(
bool (T::*ft)(Arg
const&, Arg
const&)
const, T
const* t)
12 return [t, ft](
auto const& a,
auto const& b) {
return (t->*ft)(a, b); };
virtual bool compareAuxDetSensitives(AuxDetSensitiveGeo const &ads1, AuxDetSensitiveGeo const &ads2) const =0
Encapsulate the geometry of the sensitive portion of an auxiliary detector .
virtual bool compareAuxDets(AuxDetGeo const &ad1, AuxDetGeo const &ad2) const =0
Encapsulate the geometry of an auxiliary detector.
void sort(std::vector< AuxDetGeo > &ads) const