13 #ifndef LARDATAALG_DETECTORINFO_DETECTORCLOCKSSTANDARD_H 14 #define LARDATAALG_DETECTORINFO_DETECTORCLOCKSSTANDARD_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 DetectorClocksData DataFor(double const g4_ref_time, double const trigger_time, double const beam_time) const override
Returns a complete detinfo::DetectorClocksData object.
DetectorClocksData DataForJob() const override
Returns a complete detinfo::DetectorClocksData object.
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
std::vector< std::string > const & ConfigNames() const override
std::vector< double > const & ConfigValues() 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.
double fTriggerOffsetTPC
Time offset from trigger to TPC readout start.
General LArSoft Utilities.
static constexpr double ps
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)
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
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
pure virtual base interface for detector clocks