LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
Implementation of detinfo::DetectorClocks
interface with fixed settings from configuration.
More...
#include "DetectorClocksStandard.h"
Public Member Functions | |
DetectorClocksStandard () | |
DetectorClocksStandard (fhicl::ParameterSet const &pset) | |
DetectorClocksStandard (DetectorClocksStandard const &)=delete | |
virtual | ~DetectorClocksStandard () |
bool | Configure (fhicl::ParameterSet const &pset) |
bool | Update (uint64_t ts=0) |
virtual double | TriggerOffsetTPC () const override |
virtual double | TPCTime () const override |
Returns the TPC electronics start time in electronics time. More... | |
void | debugReport () const |
std::string | TrigModuleName () const |
Returns the input tag of the trigger data product. More... | |
void | SetDefaultTriggerTime () |
Sets trigger and beam gate time from default configuration values. More... | |
virtual double | G4ToElecTime (double g4_time) const override |
Given Geant4 time [ns], returns relative time [us] w.r.t. electronics time T0. More... | |
virtual double | TriggerTime () const override |
Trigger electronics clock time in [us]. More... | |
virtual double | BeamGateTime () const override |
Beam gate electronics clock time in [us]. More... | |
virtual std::vector< std::string > | ConfigNames () const override |
virtual std::vector< double > | ConfigValues () const override |
void | SetConfigValue (size_t i, double val) |
virtual void | SetTriggerTime (double trig_time, double beam_time) |
Setter for trigger times. More... | |
virtual const ::detinfo::ElecClock & | TPCClock () const override |
Borrow a const TPC clock with time set to Trigger time [us]. More... | |
virtual ::detinfo::ElecClock | TPCClock (double time) const override |
Create a TPC clock for a given time [us] from clock counting start. More... | |
detinfo::ElecClock | TPCClock (unsigned int sample, unsigned int frame) const override |
Create a TPC clock for a given sample/frame number in TPC clock frequency. More... | |
virtual const detinfo::ElecClock & | OpticalClock () const override |
Borrow a const Optical clock with time set to Trigger time [us]. More... | |
virtual detinfo::ElecClock | OpticalClock (double time) const override |
Create a Optical clock for a given time [us] from clock counting start. More... | |
virtual detinfo::ElecClock | OpticalClock (unsigned int sample, unsigned int frame) const override |
Create a Optical clock for a given sample/frame number in Optical clock frequency. More... | |
virtual const detinfo::ElecClock & | TriggerClock () const override |
Borrow a const Trigger clock with time set to Trigger time [us]. More... | |
virtual detinfo::ElecClock | TriggerClock (double time) const override |
Create a Trigger clock for a given time [us] from clock counting start. More... | |
virtual detinfo::ElecClock | TriggerClock (unsigned int sample, unsigned int frame) const override |
Create a Trigger clock for a given sample/frame number in Trigger clock frequency. More... | |
virtual const detinfo::ElecClock & | ExternalClock () const override |
Borrow a const Trigger clock with time set to External Time [us]. More... | |
virtual detinfo::ElecClock | ExternalClock (double time) const override |
virtual detinfo::ElecClock | ExternalClock (unsigned int sample, unsigned int frame) const override |
Create a External clock for a given sample/frame number in External clock frequency. More... | |
virtual double | TPCTick2TrigTime (double tick) const override |
Given TPC time-tick (waveform index), returns time [us] w.r.t. trigger time stamp. More... | |
virtual double | TPCTick2BeamTime (double tick) const override |
Given TPC time-tick (waveform index), returns time [us] w.r.t. beam gate time. More... | |
virtual double | OpticalTick2TrigTime (double tick, size_t sample, size_t frame) const override |
Given Optical time-tick (waveform index), sample and frame number, returns time [us] w.r.t. trigger time stamp. More... | |
virtual double | OpticalTick2BeamTime (double tick, size_t sample, size_t frame) const override |
Given Optical time-tick (waveform index), sample and frame number, returns time [us] w.r.t. beam gate time stamp. More... | |
virtual double | ExternalTick2TrigTime (double tick, size_t sample, size_t frame) const override |
Given External time-tick (waveform index), sample and frame number, returns time [us] w.r.t. trigger time stamp. More... | |
virtual double | ExternalTick2BeamTime (double tick, size_t sample, size_t frame) const override |
Given External time-tick (waveform index), sample and frame number, returns time [us] w.r.t. beam gate time stamp. More... | |
virtual double | TPCTick2TDC (double tick) const override |
Given TPC time-tick (waveform index), returns electronics clock count [tdc]. More... | |
virtual double | TPCG4Time2TDC (double g4time) const override |
Given G4 time [ns], returns corresponding TPC electronics clock count [tdc]. More... | |
virtual double | OpticalTick2TDC (double tick, size_t sample, size_t frame) const override |
Given Optical time-tick (waveform index), sample and frame number, returns time electronics clock count [tdc]. More... | |
virtual double | OpticalG4Time2TDC (double g4time) const override |
Given G4 time [ns], returns corresponding Optical electronics clock count [tdc]. More... | |
virtual double | ExternalTick2TDC (double tick, size_t sample, size_t frame) const override |
Given External time-tick (waveform index), sample and frame number, returns time electronics clock count [tdc]. More... | |
virtual double | ExternalG4Time2TDC (double g4time) const override |
Given G4 time [ns], returns corresponding External electronics clock count [tdc]. More... | |
virtual double | TPCTick2Time (double tick) const override |
Given TPC time-tick (waveform index), returns electronics clock [us]. More... | |
virtual double | OpticalTick2Time (double tick, size_t sample, size_t frame) const override |
Given Optical time-tick (waveform index), sample and frame number, returns electronics clock [us]. More... | |
virtual double | ExternalTick2Time (double tick, size_t sample, size_t frame) const override |
Given External time-tick (waveform index), sample and frame number, returns electronics clock [us]. More... | |
virtual double | TPCTDC2Tick (double tdc) const override |
Given electronics clock count [tdc] returns TPC time-tick. More... | |
virtual double | TPCG4Time2Tick (double g4time) const override |
Given G4 time returns electronics clock count [tdc]. More... | |
bool | InheritClockConfig () |
void | ApplyParams () |
Internal function to apply loaded parameters to member attributes. More... | |
bool | IsRightConfig (const fhicl::ParameterSet &ps) const |
Internal function used to search for the right configuration set in the data file. More... | |
Protected Member Functions | |
double | doTPCTime () const |
Implementation of TPCTime() . More... | |
Protected Attributes | |
std::vector< std::string > | fConfigName |
std::vector< double > | fConfigValue |
bool | fInheritClockConfig |
std::string | fTrigModuleName |
double | fG4RefTime |
Electronics clock counting start time in G4 time frame [us]. More... | |
double | fFramePeriod |
Frame period. More... | |
::detinfo::ElecClock | fTPCClock |
TPC clock. More... | |
::detinfo::ElecClock | fOpticalClock |
Optical clock. More... | |
::detinfo::ElecClock | fTriggerClock |
Trigger clock. More... | |
::detinfo::ElecClock | fExternalClock |
External clock. More... | |
double | fTriggerOffsetTPC |
Time offset from trigger to TPC readout start. More... | |
double | fTriggerTime |
Trigger time in [us]. More... | |
double | fBeamGateTime |
BeamGate time in [us]. More... | |
Implementation of detinfo::DetectorClocks
interface with fixed settings from configuration.
In this implementation, all quantities are defined at configuration time and are unchanged for the duration of the entire job, with the exception of the trigger time (see below).
All configuration parameters are mandatory, unless explicitly stated.
0.0
of simulation happens in the electronics time scaleTriggerOffsetTPC: time elapsed between the start of the TPC readout clock and the hardware trigger; it can be expressed in one of two ways:
For example, TriggerOffsetTPC
of -1600.0
means that the TDC clock starts 1.6 milliseconds before the hardware trigger. TriggerOffsetTPC
of 3200.0
means that the trigger arrives at the exact start of tick 3200 of the TPC readout. In this example, if the sampling frequency of that readout is 2 MHz, these two settings are equivalent.
The consistency check feature verifies that the current configuration of detinfo::DetectorClocksStandard
is compatible with the one from previous jobs. It is expected that when this feature is enabled (InheritClockConfig
is configured to be true
), either the configuration is overridden to follow the previous ones, or an exception is thrown in case of inconsistency.
The service provider (detinfo::DetectorClocksStandard
) does not provide a facility to inherit configuration from a previous job, but it stores the expectation whether this should happen (InheritClockConfig()
). The service provider manager is in charge of implementing this feature (see detinfo::DetectorClocksStandardService
for the manager in the art environment).
For the general timing requirements, see the documentation of detinfo::DetectorClocks
.
In this implementation, the trigger time and the beam gate time both default to 0.0 µs.
The manager of this provider is expected to set those values by calling detinfo::DetectorClocksStandard::SetTriggerTime()
. See detinfo::DetectorClocksStandardService
for the manager in the art environment.
ExternalClock()
clock is never initialized!Definition at line 117 of file DetectorClocksStandard.h.
detinfo::DetectorClocksStandard::DetectorClocksStandard | ( | ) |
Definition at line 4 of file DetectorClocksStandard.cxx.
References fConfigName, detinfo::kClockSpeedExternal, detinfo::kClockSpeedOptical, detinfo::kClockSpeedTPC, detinfo::kClockSpeedTrigger, detinfo::kDefaultBeamTime, detinfo::kDefaultTrigTime, detinfo::kFramePeriod, detinfo::kG4RefTime, and detinfo::kTriggerOffsetTPC.
detinfo::DetectorClocksStandard::DetectorClocksStandard | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 32 of file DetectorClocksStandard.cxx.
References Configure().
|
delete |
|
inlinevirtual |
Definition at line 123 of file DetectorClocksStandard.h.
References Configure(), and Update().
void detinfo::DetectorClocksStandard::ApplyParams | ( | ) |
Internal function to apply loaded parameters to member attributes.
Definition at line 72 of file DetectorClocksStandard.cxx.
References fBeamGateTime, fConfigValue, fFramePeriod, fG4RefTime, fOpticalClock, fTPCClock, fTriggerClock, fTriggerOffsetTPC, fTriggerTime, detinfo::kClockSpeedOptical, detinfo::kClockSpeedTPC, detinfo::kClockSpeedTrigger, detinfo::kDefaultBeamTime, detinfo::kDefaultTrigTime, detinfo::kFramePeriod, detinfo::kG4RefTime, and detinfo::kTriggerOffsetTPC.
Referenced by Configure(), and InheritClockConfig().
|
inlineoverridevirtual |
Beam gate electronics clock time in [us].
Implements detinfo::DetectorClocks.
Definition at line 165 of file DetectorClocksStandard.h.
References fBeamGateTime.
Referenced by ExternalTick2BeamTime(), OpticalTick2BeamTime(), and TPCTick2BeamTime().
|
inlineoverridevirtual |
Returns a list of provider configuration names.
Implements detinfo::DetectorClocks.
Definition at line 167 of file DetectorClocksStandard.h.
References fConfigName.
bool detinfo::DetectorClocksStandard::Configure | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 51 of file DetectorClocksStandard.cxx.
References ApplyParams(), fConfigName, fConfigValue, fInheritClockConfig, fTrigModuleName, fhicl::ParameterSet::get(), detinfo::kClockSpeedExternal, detinfo::kClockSpeedOptical, detinfo::kClockSpeedTPC, detinfo::kClockSpeedTrigger, detinfo::kDefaultBeamTime, detinfo::kDefaultTrigTime, detinfo::kFramePeriod, detinfo::kG4RefTime, detinfo::kTriggerOffsetTPC, and SetDefaultTriggerTime().
Referenced by DetectorClocksStandard(), and ~DetectorClocksStandard().
|
inlineoverridevirtual |
Returns a list of provider configuration values (same order as ConfigNames()
).
Implements detinfo::DetectorClocks.
Definition at line 168 of file DetectorClocksStandard.h.
References fConfigValue.
Referenced by SetDefaultTriggerTime().
void detinfo::DetectorClocksStandard::debugReport | ( | ) | const |
Definition at line 104 of file DetectorClocksStandard.cxx.
References fBeamGateTime, fConfigName, fConfigValue, fExternalClock, fG4RefTime, fOpticalClock, detinfo::ElecClock::Frequency(), fTPCClock, fTriggerClock, fTriggerTime, detinfo::kInheritConfigTypeMax, TPCG4Time2Tick(), TPCTDC2Tick(), TPCTick2BeamTime(), TPCTick2TDC(), TPCTick2TrigTime(), and TriggerOffsetTPC().
Referenced by TPCTime().
|
inlineprotected |
Implementation of TPCTime()
.
Definition at line 371 of file DetectorClocksStandard.h.
References TriggerOffsetTPC(), and TriggerTime().
Referenced by TPCG4Time2Tick(), TPCTDC2Tick(), TPCTick2TDC(), TPCTick2Time(), and TPCTime().
|
inlineoverridevirtual |
Borrow a const Trigger clock with time set to External Time [us].
Implements detinfo::DetectorClocks.
Definition at line 242 of file DetectorClocksStandard.h.
References fExternalClock.
Referenced by ExternalClock().
|
inlineoverridevirtual |
Create a External clock for a given time [us] from clock counting start
TriggerClock()
, not ExternalClock()
Implements detinfo::DetectorClocks.
Definition at line 247 of file DetectorClocksStandard.h.
References fExternalClock, detinfo::ElecClock::FramePeriod(), detinfo::ElecClock::Frequency(), and fTriggerClock.
|
inlineoverridevirtual |
Create a External clock for a given sample/frame number in External clock frequency.
Implements detinfo::DetectorClocks.
Definition at line 251 of file DetectorClocksStandard.h.
References ExternalClock(), and detinfo::ElecClock::SetTime().
|
inlineoverridevirtual |
Given G4 time [ns], returns corresponding External electronics clock count [tdc].
Implements detinfo::DetectorClocks.
Definition at line 298 of file DetectorClocksStandard.h.
References fExternalClock, G4ToElecTime(), and detinfo::ElecClock::TickPeriod().
|
inlineoverridevirtual |
Given External time-tick (waveform index), sample and frame number, returns time [us] w.r.t. beam gate time stamp.
Implements detinfo::DetectorClocks.
Definition at line 275 of file DetectorClocksStandard.h.
References BeamGateTime(), fExternalClock, detinfo::ElecClock::TickPeriod(), and detinfo::ElecClock::Time().
|
inlineoverridevirtual |
Given External time-tick (waveform index), sample and frame number, returns time electronics clock count [tdc].
Implements detinfo::DetectorClocks.
Definition at line 295 of file DetectorClocksStandard.h.
References fExternalClock, and detinfo::ElecClock::Ticks().
|
inlineoverridevirtual |
Given External time-tick (waveform index), sample and frame number, returns electronics clock [us].
Implements detinfo::DetectorClocks.
Definition at line 311 of file DetectorClocksStandard.h.
References fExternalClock, detinfo::ElecClock::TickPeriod(), and detinfo::ElecClock::Time().
|
inlineoverridevirtual |
Given External time-tick (waveform index), sample and frame number, returns time [us] w.r.t. trigger time stamp.
Implements detinfo::DetectorClocks.
Definition at line 272 of file DetectorClocksStandard.h.
References fExternalClock, detinfo::ElecClock::TickPeriod(), detinfo::ElecClock::Time(), and TriggerTime().
|
inlineoverridevirtual |
Given Geant4 time [ns], returns relative time [us] w.r.t. electronics time T0.
Implements detinfo::DetectorClocks.
Definition at line 159 of file DetectorClocksStandard.h.
References fG4RefTime.
Referenced by ExternalG4Time2TDC(), OpticalG4Time2TDC(), TPCG4Time2TDC(), and TPCG4Time2Tick().
|
inline |
Definition at line 325 of file DetectorClocksStandard.h.
References ApplyParams(), fInheritClockConfig, and IsRightConfig().
bool detinfo::DetectorClocksStandard::IsRightConfig | ( | const fhicl::ParameterSet & | ps | ) | const |
Internal function used to search for the right configuration set in the data file.
Definition at line 88 of file DetectorClocksStandard.cxx.
References d, fConfigName, detinfo::kInheritConfigTypeMax, and s.
Referenced by InheritClockConfig().
|
inlineoverridevirtual |
Borrow a const Optical clock with time set to Trigger time [us].
Implements detinfo::DetectorClocks.
Definition at line 210 of file DetectorClocksStandard.h.
References fOpticalClock.
Referenced by OpticalClock().
|
inlineoverridevirtual |
Create a Optical clock for a given time [us] from clock counting start.
Implements detinfo::DetectorClocks.
Definition at line 214 of file DetectorClocksStandard.h.
References fOpticalClock, detinfo::ElecClock::FramePeriod(), and detinfo::ElecClock::Frequency().
|
inlineoverridevirtual |
Create a Optical clock for a given sample/frame number in Optical clock frequency.
Implements detinfo::DetectorClocks.
Definition at line 218 of file DetectorClocksStandard.h.
References OpticalClock(), and detinfo::ElecClock::SetTime().
|
inlineoverridevirtual |
Given G4 time [ns], returns corresponding Optical electronics clock count [tdc].
Implements detinfo::DetectorClocks.
Definition at line 292 of file DetectorClocksStandard.h.
References fOpticalClock, G4ToElecTime(), and detinfo::ElecClock::TickPeriod().
|
inlineoverridevirtual |
Given Optical time-tick (waveform index), sample and frame number, returns time [us] w.r.t. beam gate time stamp.
Implements detinfo::DetectorClocks.
Definition at line 269 of file DetectorClocksStandard.h.
References BeamGateTime(), fOpticalClock, detinfo::ElecClock::TickPeriod(), and detinfo::ElecClock::Time().
|
inlineoverridevirtual |
Given Optical time-tick (waveform index), sample and frame number, returns time electronics clock count [tdc].
Implements detinfo::DetectorClocks.
Definition at line 289 of file DetectorClocksStandard.h.
References fOpticalClock, and detinfo::ElecClock::Ticks().
|
inlineoverridevirtual |
Given Optical time-tick (waveform index), sample and frame number, returns electronics clock [us].
Implements detinfo::DetectorClocks.
Definition at line 308 of file DetectorClocksStandard.h.
References fOpticalClock, detinfo::ElecClock::TickPeriod(), and detinfo::ElecClock::Time().
|
inlineoverridevirtual |
Given Optical time-tick (waveform index), sample and frame number, returns time [us] w.r.t. trigger time stamp.
Implements detinfo::DetectorClocks.
Definition at line 266 of file DetectorClocksStandard.h.
References fOpticalClock, detinfo::ElecClock::TickPeriod(), detinfo::ElecClock::Time(), and TriggerTime().
|
inline |
Definition at line 170 of file DetectorClocksStandard.h.
References fConfigValue.
void detinfo::DetectorClocksStandard::SetDefaultTriggerTime | ( | ) |
Sets trigger and beam gate time from default configuration values.
Definition at line 133 of file DetectorClocksStandard.cxx.
References ConfigValues(), detinfo::kDefaultBeamTime, detinfo::kDefaultTrigTime, and SetTriggerTime().
Referenced by Configure(), detinfo::setDetectorClocksStandardTrigger(), and TrigModuleName().
|
inlinevirtual |
Setter for trigger times.
trig_time | hardware trigger time in electronics time scale |
beam_time | beam gate opening time in electronics time scale |
The hardware trigger and beam gate opening times are set, and the electronic clocks are updated to store the new trigger time.
Definition at line 181 of file DetectorClocksStandard.h.
References fBeamGateTime, fOpticalClock, fTPCClock, fTriggerClock, fTriggerTime, and detinfo::ElecClock::SetTime().
Referenced by SetDefaultTriggerTime(), and detinfo::setDetectorClocksStandardTriggersFromRawTrigger().
|
inlineoverridevirtual |
Borrow a const TPC clock with time set to Trigger time [us].
Implements detinfo::DetectorClocks.
Definition at line 194 of file DetectorClocksStandard.h.
References fTPCClock.
Referenced by TPCClock().
|
inlineoverridevirtual |
Create a TPC clock for a given time [us] from clock counting start.
Implements detinfo::DetectorClocks.
Definition at line 198 of file DetectorClocksStandard.h.
References detinfo::ElecClock::FramePeriod(), detinfo::ElecClock::Frequency(), and fTPCClock.
|
inlineoverridevirtual |
Create a TPC clock for a given sample/frame number in TPC clock frequency.
Implements detinfo::DetectorClocks.
Definition at line 202 of file DetectorClocksStandard.h.
References detinfo::ElecClock::SetTime(), and TPCClock().
|
inlineoverridevirtual |
Given G4 time [ns], returns corresponding TPC electronics clock count [tdc].
Implements detinfo::DetectorClocks.
Definition at line 286 of file DetectorClocksStandard.h.
References fTPCClock, G4ToElecTime(), and detinfo::ElecClock::TickPeriod().
|
inlineoverridevirtual |
Given G4 time returns electronics clock count [tdc].
Implements detinfo::DetectorClocks.
Definition at line 322 of file DetectorClocksStandard.h.
References doTPCTime(), fTPCClock, G4ToElecTime(), and detinfo::ElecClock::TickPeriod().
Referenced by debugReport().
|
inlineoverridevirtual |
Given electronics clock count [tdc] returns TPC time-tick.
Implements detinfo::DetectorClocks.
Definition at line 319 of file DetectorClocksStandard.h.
References doTPCTime(), fTPCClock, and detinfo::ElecClock::TickPeriod().
Referenced by debugReport().
|
inlineoverridevirtual |
Given TPC time-tick (waveform index), returns time [us] w.r.t. beam gate time.
Implements detinfo::DetectorClocks.
Definition at line 263 of file DetectorClocksStandard.h.
References BeamGateTime(), TPCTick2TrigTime(), and TriggerTime().
Referenced by debugReport().
|
inlineoverridevirtual |
Given TPC time-tick (waveform index), returns electronics clock count [tdc].
Implements detinfo::DetectorClocks.
Definition at line 283 of file DetectorClocksStandard.h.
References doTPCTime(), fTPCClock, and detinfo::ElecClock::TickPeriod().
Referenced by debugReport().
|
inlineoverridevirtual |
Given TPC time-tick (waveform index), returns electronics clock [us].
Implements detinfo::DetectorClocks.
Definition at line 305 of file DetectorClocksStandard.h.
References doTPCTime(), fTPCClock, and detinfo::ElecClock::TickPeriod().
|
inlineoverridevirtual |
Given TPC time-tick (waveform index), returns time [us] w.r.t. trigger time stamp.
Implements detinfo::DetectorClocks.
Definition at line 260 of file DetectorClocksStandard.h.
References fTPCClock, detinfo::ElecClock::TickPeriod(), and TriggerOffsetTPC().
Referenced by debugReport(), and TPCTick2BeamTime().
|
inlineoverridevirtual |
Returns the TPC electronics start time in electronics time.
Implements detinfo::DetectorClocks.
Definition at line 142 of file DetectorClocksStandard.h.
References debugReport(), and doTPCTime().
|
inlineoverridevirtual |
Borrow a const Trigger clock with time set to Trigger time [us].
Implements detinfo::DetectorClocks.
Definition at line 226 of file DetectorClocksStandard.h.
References fTriggerClock.
Referenced by TriggerClock().
|
inlineoverridevirtual |
Create a Trigger clock for a given time [us] from clock counting start.
Implements detinfo::DetectorClocks.
Definition at line 230 of file DetectorClocksStandard.h.
References detinfo::ElecClock::FramePeriod(), detinfo::ElecClock::Frequency(), and fTriggerClock.
|
inlineoverridevirtual |
Create a Trigger clock for a given sample/frame number in Trigger clock frequency.
Implements detinfo::DetectorClocks.
Definition at line 234 of file DetectorClocksStandard.h.
References detinfo::ElecClock::SetTime(), and TriggerClock().
|
inlineoverridevirtual |
This offset is set via configuration parameter TriggerOffsetTPC
.
Implements detinfo::DetectorClocks.
Definition at line 133 of file DetectorClocksStandard.h.
References detinfo::ElecClock::Frequency(), fTPCClock, and fTriggerOffsetTPC.
Referenced by debugReport(), doTPCTime(), and TPCTick2TrigTime().
|
inlineoverridevirtual |
Trigger electronics clock time in [us].
Implements detinfo::DetectorClocks.
Definition at line 162 of file DetectorClocksStandard.h.
References fTriggerTime.
Referenced by doTPCTime(), ExternalTick2TrigTime(), OpticalTick2TrigTime(), and TPCTick2BeamTime().
|
inline |
Returns the input tag of the trigger data product.
The trigger module name is set directly in the configuration as TrigModuleName
.
Definition at line 153 of file DetectorClocksStandard.h.
References fTrigModuleName, and SetDefaultTriggerTime().
Referenced by detinfo::setDetectorClocksStandardTriggersFromEvent().
bool detinfo::DetectorClocksStandard::Update | ( | uint64_t | ts = 0 | ) |
Definition at line 45 of file DetectorClocksStandard.cxx.
Referenced by ~DetectorClocksStandard().
|
protected |
BeamGate time in [us].
Definition at line 368 of file DetectorClocksStandard.h.
Referenced by ApplyParams(), BeamGateTime(), debugReport(), and SetTriggerTime().
|
protected |
Definition at line 335 of file DetectorClocksStandard.h.
Referenced by ConfigNames(), Configure(), debugReport(), DetectorClocksStandard(), and IsRightConfig().
|
protected |
Definition at line 337 of file DetectorClocksStandard.h.
Referenced by ApplyParams(), Configure(), ConfigValues(), debugReport(), and SetConfigValue().
|
protected |
External clock.
Definition at line 359 of file DetectorClocksStandard.h.
Referenced by debugReport(), ExternalClock(), ExternalG4Time2TDC(), ExternalTick2BeamTime(), ExternalTick2TDC(), ExternalTick2Time(), and ExternalTick2TrigTime().
|
protected |
|
protected |
Electronics clock counting start time in G4 time frame [us].
Definition at line 344 of file DetectorClocksStandard.h.
Referenced by ApplyParams(), debugReport(), and G4ToElecTime().
|
protected |
Definition at line 339 of file DetectorClocksStandard.h.
Referenced by Configure(), and InheritClockConfig().
|
protected |
Optical clock.
Definition at line 353 of file DetectorClocksStandard.h.
Referenced by ApplyParams(), debugReport(), OpticalClock(), OpticalG4Time2TDC(), OpticalTick2BeamTime(), OpticalTick2TDC(), OpticalTick2Time(), OpticalTick2TrigTime(), and SetTriggerTime().
|
protected |
TPC clock.
Definition at line 350 of file DetectorClocksStandard.h.
Referenced by ApplyParams(), debugReport(), SetTriggerTime(), TPCClock(), TPCG4Time2TDC(), TPCG4Time2Tick(), TPCTDC2Tick(), TPCTick2TDC(), TPCTick2Time(), TPCTick2TrigTime(), and TriggerOffsetTPC().
|
protected |
Trigger clock.
Definition at line 356 of file DetectorClocksStandard.h.
Referenced by ApplyParams(), debugReport(), ExternalClock(), SetTriggerTime(), and TriggerClock().
|
protected |
Time offset from trigger to TPC readout start.
Definition at line 362 of file DetectorClocksStandard.h.
Referenced by ApplyParams(), and TriggerOffsetTPC().
|
protected |
Trigger time in [us].
Definition at line 365 of file DetectorClocksStandard.h.
Referenced by ApplyParams(), debugReport(), SetTriggerTime(), and TriggerTime().
|
protected |
Definition at line 341 of file DetectorClocksStandard.h.
Referenced by Configure(), and TrigModuleName().