Classes | Namespaces | Typedefs
DetectorTimingTypes.h File Reference

Data types for detinfo::DetectorTimings. More...

#include "lardataalg/Utilities/quantities/spacetime.h"
#include "lardataalg/Utilities/quantities/frequency.h"
#include "lardataalg/Utilities/quantities/electronics.h"

Go to the source code of this file.

Classes

struct  detinfo::timescales::timescale_traits< Cat >
 A collection of traits for a time scale. More...
 
struct  detinfo::timescales::details::category_of_t< Cat, typename >
 
struct  detinfo::timescales::details::category_of_t< Cat, std::void_t< typename Cat::category_t > >
 
struct  detinfo::timescales::details::timescale_traits_base< Cat, TimeUnit >
 A template traits for time scale of category Cat. More...
 
struct  detinfo::timescales::ElectronicsTimeCategory
 Category for electronics time scale. More...
 
struct  detinfo::timescales::timescale_traits< ElectronicsTimeCategory >
 Timing types for electronics time scale. More...
 
struct  detinfo::timescales::TPCelectronicsTimeCategory
 Category for TPC electronics time scale. More...
 
struct  detinfo::timescales::timescale_traits< TPCelectronicsTimeCategory >
 Timing types for TPC electronics time scale. More...
 
struct  detinfo::timescales::OpticalTimeCategory
 Category for electronics time scale. More...
 
struct  detinfo::timescales::timescale_traits< OpticalTimeCategory >
 Timing types for optical detector time scale. More...
 
struct  detinfo::timescales::TriggerTimeCategory
 Category for trigger time scale. More...
 
struct  detinfo::timescales::timescale_traits< TriggerTimeCategory >
 Timing types for trigger electronics time scale. More...
 
struct  detinfo::timescales::SimulationTimeCategory
 Category for electronics time scale. More...
 
struct  detinfo::timescales::timescale_traits< SimulationTimeCategory >
 Timing types for simulation time scale. More...
 
struct  detinfo::timescales::is_tick_type< T >
 Evaluates to whether the specified time T is tick-based. More...
 
struct  detinfo::timescales::details::is_tick_type_impl< T, typename >
 
struct  detinfo::timescales::details::is_tick_type_impl< Q, std::enable_if_t< std::is_same_v< typename Q::baseunit_t, util::quantities::units::Tick > > >
 
struct  detinfo::timescales::details::custom_timescale_traits< typename, typename >
 
struct  detinfo::timescales::details::custom_timescale_traits < WC, std::enable_if_t < util::quantities::concepts::is_interval_or_point_v< WC > > >
 
struct  detinfo::timescales::timescale_traits< Cat >
 A collection of traits for a time scale. More...
 
struct  detinfo::timescales::is_tick_type< T >
 Evaluates to whether the specified time T is tick-based. More...
 

Namespaces

 detinfo::timescales
 Namespace including different time scales as defined in LArSoft.
 
 detinfo::timescales::details
 

Typedefs

using detinfo::timescales::time_interval = util::quantities::intervals::microseconds
 
template<typename Cat >
using detinfo::timescales::details::category_of = typename category_of_t< Cat >::type
 
Continuous times
using detinfo::timescales::electronics_time = timescale_traits< ElectronicsTimeCategory >::time_point_t
 A point in time on the electronics time scale. More...
 
using detinfo::timescales::TPCelectronics_time = timescale_traits< TPCelectronicsTimeCategory >::time_point_t
 A point in time on the TPC electronics time scale. More...
 
using detinfo::timescales::optical_time = timescale_traits< OpticalTimeCategory >::time_point_t
 A point in time on the optical detector electronics time scale. More...
 
using detinfo::timescales::trigger_time = timescale_traits< TriggerTimeCategory >::time_point_t
 A point in time on the trigger time scale. More...
 
using detinfo::timescales::simulation_time = timescale_traits< SimulationTimeCategory >::time_point_t
 A point in time on the simulation time scale. More...
 

Tick-based times

using detinfo::timescales::electronics_tick = timescale_traits< ElectronicsTimeCategory >::tick_t
 A point on the electronics time scale expressed in its ticks. More...
 
using detinfo::timescales::electronics_tick_d = timescale_traits< ElectronicsTimeCategory >::tick_d_t
 A point on the electronics time scale expressed in its ticks (real). More...
 
using detinfo::timescales::electronics_time_ticks = timescale_traits< ElectronicsTimeCategory >::tick_interval_t
 An interval on the electronics time scale expressed in its ticks. More...
 
using detinfo::timescales::electronics_time_ticks_d = timescale_traits< ElectronicsTimeCategory >::tick_interval_d_t
 An interval on the electronics time scale expressed in its ticks (real). More...
 
using detinfo::timescales::TPCelectronics_tick = timescale_traits< TPCelectronicsTimeCategory >::tick_t
 A point on the TPC electronics time scale expressed in its ticks. More...
 
using detinfo::timescales::TPCelectronics_tick_d = timescale_traits< TPCelectronicsTimeCategory >::tick_d_t
 A point on the TPC electronics time scale expressed in its ticks (real). More...
 
using detinfo::timescales::TPCelectronics_time_ticks = timescale_traits< TPCelectronicsTimeCategory >::tick_interval_t
 An interval on the TPC electronics time scale expressed in its ticks. More...
 
using detinfo::timescales::TPCelectronics_time_ticks_d = timescale_traits< TPCelectronicsTimeCategory >::tick_interval_d_t
 
using detinfo::timescales::optical_tick = timescale_traits< OpticalTimeCategory >::tick_t
 
using detinfo::timescales::optical_tick_d = timescale_traits< OpticalTimeCategory >::tick_d_t
 
using detinfo::timescales::optical_time_ticks = timescale_traits< OpticalTimeCategory >::tick_interval_t
 
using detinfo::timescales::optical_time_ticks_d = timescale_traits< OpticalTimeCategory >::tick_interval_d_t
 
using detinfo::timescales::trigger_tick = timescale_traits< TriggerTimeCategory >::tick_t
 A point on the trigger time scale expressed in its ticks. More...
 
using detinfo::timescales::trigger_tick_d = timescale_traits< TriggerTimeCategory >::tick_d_t
 A point on the trigger time scale expressed in its ticks (real). More...
 
using detinfo::timescales::trigger_time_ticks = timescale_traits< TriggerTimeCategory >::tick_interval_t
 An interval on the trigger time scale expressed in its ticks. More...
 
using detinfo::timescales::trigger_time_ticks_d = timescale_traits< TriggerTimeCategory >::tick_interval_d_t
 An interval on the trigger time scale expressed in its ticks (real). More...
 
template<typename T >
constexpr bool detinfo::timescales::is_tick_v = is_tick_type<T>()
 Whether the specified time T is tick-based. More...
 

Detailed Description

Data types for detinfo::DetectorTimings.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.slac..nosp@m.stan.nosp@m.ford..nosp@m.edu)
Date
May 31, 2019

Definition in file DetectorTimingTypes.h.