List of all members
detinfo::timescales::timescale_traits< OpticalTimeCategory > Struct Template Reference

Timing types for optical detector time scale. More...

#include <DetectorTimingTypes.h>

Inheritance diagram for detinfo::timescales::timescale_traits< OpticalTimeCategory >:
detinfo::timescales::details::timescale_traits_base< OpticalTimeCategory >

Additional Inherited Members

- Public Types inherited from detinfo::timescales::details::timescale_traits_base< OpticalTimeCategory >
using category_t = OpticalTimeCategory
 The category this time scale belongs to. More...
 
using time_interval_t = time_interval
 Type of a time interval in this scale. More...
 
using time_point_t = util::quantities::concepts::Point< util::quantities::microsecond, category_t, time_interval_t >
 Type of a point on this time scale. More...
 
using frequency_t = decltype(1.0/std::declval< typename time_interval_t::quantity_t >())
 Type of frequency for this time scale. More...
 
using tick_interval_t = util::quantities::concepts::Interval< util::quantities::tick, category_t >
 An interval on this time scale expressed in its ticks (integral). More...
 
using tick_interval_d_t = util::quantities::concepts::Interval< util::quantities::tick_d, category_t >
 An interval on this time scale expressed in its ticks (real). More...
 
using tick_t = util::quantities::concepts::Point< util::quantities::tick, category_t, tick_interval_t >
 A point on this time scale expressed in its ticks. More...
 
using tick_d_t = util::quantities::concepts::Point< util::quantities::tick_d, category_t, tick_interval_d_t >
 A point on this time scale expressed in its ticks (real). More...
 
- Static Public Member Functions inherited from detinfo::timescales::details::timescale_traits_base< OpticalTimeCategory >
static std::string name ()
 Name of this time scale. More...
 
- Static Public Attributes inherited from detinfo::timescales::details::timescale_traits_base< OpticalTimeCategory >
static constexpr bool same_category_as
 Returns whether the category OC is the same as this one. More...
 
static constexpr bool category_compatible_with
 Returns whether the category OC is compatible with this one. More...
 

Detailed Description

template<>
struct detinfo::timescales::timescale_traits< OpticalTimeCategory >

Timing types for optical detector time scale.

This object collects data types meant to represent a time on the optical detector electronics time axis, starting at the optical detector electronics start time.

Note
Unfortunately, that time is not defined, so the functions that need it pin it down to the start of the electronics time scale.

This traits expose the interface documented in details::timescale_traits_base.

This time is natively expressed in microseconds.

Definition at line 235 of file DetectorTimingTypes.h.


The documentation for this struct was generated from the following file: