Static Public Member Functions | List of all members
detinfo::details::StartTimeImpl< detinfo::timescales::electronics_time, TimeScale, std::enable_if_t<!std::is_same_v< TimeScale, detinfo::timescales::electronics_time > > > Struct Template Reference

#include <DetectorTimings.h>

Static Public Member Functions

static TimeScale startTime (DetectorTimings const *detTiming)
 

Detailed Description

template<typename TimeScale>
struct detinfo::details::StartTimeImpl< detinfo::timescales::electronics_time, TimeScale, std::enable_if_t<!std::is_same_v< TimeScale, detinfo::timescales::electronics_time > > >

Definition at line 820 of file DetectorTimings.h.

Member Function Documentation

template<typename TimeScale >
static TimeScale detinfo::details::StartTimeImpl< detinfo::timescales::electronics_time, TimeScale, std::enable_if_t<!std::is_same_v< TimeScale, detinfo::timescales::electronics_time > > >::startTime ( DetectorTimings const *  detTiming)
inlinestatic

Definition at line 825 of file DetectorTimings.h.

826  {
827  return TimeScale{
828  -(detTiming->startTime<TimeScale, detinfo::timescales::electronics_time>().quantity())};
829  }
quantity
Definition: statistics_t.cc:15
timescale_traits< ElectronicsTimeCategory >::time_point_t electronics_time
A point in time on the electronics time scale.

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