LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
A partial detinfo::DetectorClocksData
supporting units.
More...
#include "DetectorTimings.h"
Public Types | |
using | nanosecond = util::quantities::nanosecond |
using | microsecond = util::quantities::microsecond |
using | megahertz = util::quantities::megahertz |
using | ticks_d = util::quantities::ticks_d |
Private Attributes | |
detinfo::DetectorClocksData | fClockData |
The backend instance of detinfo::DetectorClocksData this object uses. More... | |
A partial detinfo::DetectorClocksData
supporting units.
This class is instantiated based on a detinfo::DetectorClocksData
, which is relied upon to provide the underlying functionality.
Example of usage:
The timing data is copied locally; see detinfo::DetectorClocksData
for considerations on the validity time span of the timing information.
Definition at line 45 of file DetectorTimings.h.
Definition at line 54 of file DetectorTimings.h.
Definition at line 53 of file DetectorTimings.h.
Definition at line 52 of file DetectorTimings.h.
Definition at line 55 of file DetectorTimings.h.
|
inlineexplicit |
Constructor: uses detClocks
for internal conversions.
Definition at line 59 of file DetectorTimings.h.
|
inlineexplicit |
Constructor: uses detClocks
for internal conversions.
Definition at line 62 of file DetectorTimings.h.
|
inline |
Equivalent to detinfo::DetectorClocksData::BeamGateTime()
.
Definition at line 74 of file DetectorTimings.h.
References detinfo::DetectorClocksData::BeamGateTime(), and clockData().
|
inline |
Returns the detector clocks data object.
Definition at line 68 of file DetectorTimings.h.
References fClockData.
Referenced by BeamGateTime(), G4ToElecTime(), OpticalClockFrequency(), OpticalClockPeriod(), TPCTick2TDC(), TPCTime(), and TriggerTime().
|
inline |
Equivalent to detinfo::DetectorClocksData::G4ToElecTime()
.
Definition at line 81 of file DetectorTimings.h.
References clockData(), detinfo::DetectorClocksData::G4ToElecTime(), and util::quantities::concepts::Quantity< Unit, T >::value().
Referenced by detinfo::details::StartTimeImpl< detinfo::timescales::simulation_time, detinfo::timescales::electronics_time >::startTime().
|
inline |
Equivalent to detinfo::DetectorClocksData::G4ToElecTime()
.
Definition at line 85 of file DetectorTimings.h.
References G4ToElecTime().
Referenced by G4ToElecTime().
|
inline |
Equivalent to detinfo::DetectorClocksData::OpticalClock().TickPeriod()
.
Definition at line 106 of file DetectorTimings.h.
References clockData(), detinfo::ElecClock::Frequency(), and detinfo::DetectorClocksData::OpticalClock().
|
inline |
Equivalent to detinfo::DetectorClocksData::OpticalClock().TickPeriod()
.
Definition at line 99 of file DetectorTimings.h.
References clockData(), detinfo::DetectorClocksData::OpticalClock(), and detinfo::ElecClock::TickPeriod().
Equivalent to detinfo::DetectorClocksData::G4ToElecTime()
.
Definition at line 90 of file DetectorTimings.h.
References clockData(), detinfo::DetectorClocksData::TPCTick2TDC(), and util::quantities::concepts::Quantity< Unit, T >::value().
Referenced by detinfo::details::StartTickImpl< detinfo::timescales::TPCelectronics_tick_d, detinfo::timescales::electronics_tick_d >::startTick().
|
inline |
Equivalent to detinfo::DetectorClocksData::G4ToElecTime()
.
Definition at line 94 of file DetectorTimings.h.
References TPCTick2TDC().
Referenced by TPCTick2TDC().
|
inline |
Equivalent to detinfo::DetectorClocksData::TPCTime()
.
Definition at line 77 of file DetectorTimings.h.
References clockData(), and detinfo::DetectorClocksData::TPCTime().
Referenced by detinfo::details::StartTimeImpl< detinfo::timescales::TPCelectronics_time, detinfo::timescales::electronics_time >::startTime().
|
inline |
Equivalent to detinfo::DetectorClocksData::TriggerTime()
.
Definition at line 71 of file DetectorTimings.h.
References clockData(), and detinfo::DetectorClocksData::TriggerTime().
|
private |
The backend instance of detinfo::DetectorClocksData
this object uses.
Definition at line 48 of file DetectorTimings.h.
Referenced by clockData().