10#include <tracking/trackFindingCDC/utilities/FunctorTag.h>
39 return t->getHits().size();
49 template<
class T,
class SFINAE = decltype(&T::getArcLength)>
52 return t.getArcLength();
Abstract base class for different kinds of events.
Helper Functor to get the arc length of a given result.
double operator()(const T &t) const
Returns the weight of an object.
Helper Functor to get the Number of hits of a given result.
auto operator()(const T &t) const
Returns the number of hits of an object.
Helper Functor to get the Seed of a given result.
auto operator()(const T &t) const
Returns the seed of an object.
Tag class to facilitate marking of class as a functor in the sense of this code.