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 771 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 778 of file DetectorTimings.h.

779  {
780  return TimeScale{
781  -(detTiming->startTime
783  .quantity())
784  };
785  }
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: