13 #ifndef LARDATAALG_DETECTORINFO_DETECTORCLOCKSSTANDARD_H
14 #define LARDATAALG_DETECTORINFO_DETECTORCLOCKSSTANDARD_H
20 #include "fhiclcpp/fwd.h"
159 std::vector<std::string>
const&
164 std::vector<double>
const&
187 double const beam_time)
const override
263 #endif // LARDATAALG_DETECTORINFO_DETECTORCLOCKSSTANDARD_H
bool IsRightConfig(const fhicl::ParameterSet &ps) const
void debugReport() const
Dumps the current configuration to screen.
std::vector< std::string > fConfigName
std::string const & TrigModuleName() const
Returns the input tag of the trigger data product.
double TriggerOffsetTPC() const
pure virtual base interface for detector clocks
std::vector< std::string > const & ConfigNames() const override
double fTriggerTime
Trigger time in [us].
std::vector< double > fConfigValue
timescale_traits< TriggerTimeCategory >::time_point_t trigger_time
A point in time on the trigger time scale.
void ApplyParams()
Internal function to apply loaded parameters to member attributes.
double fBeamGateTime
BeamGate time in [us].
std::string G4RefCorrTrigModuleName() const
Returns the input tag of the trigger data product for G4Ref correctons.
std::vector< double > const & ConfigValues() const override
double fTriggerOffsetTPC
Time offset from trigger to TPC readout start.
DetectorClocksData DataFor(double const g4_ref_time, double const trigger_time, double const beam_time) const override
Returns a complete detinfo::DetectorClocksData object.
Class used for the conversion of times between different formats and references.
constexpr double kDEFAULT_FREQUENCY_EXTERNAL
Default External clock speed in MHz.
void SetConfigValue(size_t i, double val)
DetectorClocksData DataForJob() const override
Returns a complete detinfo::DetectorClocksData object.
Contains all timing reference information for the detector.
constexpr double kDEFAULT_FRAME_PERIOD
Default Frame period in micro-second.
void SetTriggerTime(double const trig_time, double const beam_time)
Setter for trigger times.
Implementation of detinfo::DetectorClocks interface with fixed settings from configuration.
constexpr double Frequency() const
Frequency in MHz.
std::string fG4RefCorrTrigModuleName
Class def header for a class ElecClock.
DetectorClocksStandard(fhicl::ParameterSet const &pset)
double fFramePeriod
Frame period.
Class representing the time measured by an electronics clock.
Functions to load trigger time in detinfo::DetectorClocksStandard.
std::string fTrigModuleName