17 namespace TrackFindingCDC {
20 template<
class T,
class ATag = T>
33 operator const T& ()
const {
return m_value; }
41 {
return {{
This(bounds.front()),
This(bounds.back()) }}; }
ContinuousValue< T, ATag > This
Shortcut for the class itself.
ContinuousValue()=default
Allow default construction.
static std::array< This, 2 > getRange(const Array &bounds)
Extract the range from an array providing the discrete values.
ContinuousValue(const T &value)
Constructor from the underlying type.
Abstract base class for different kinds of events.