LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Base functor for printing time according to tick number. More...
Public Member Functions | |
TimestampLabelMaker (double tickDuration) | |
Constructor: specify the duration of optical clock tick [µs]. More... | |
virtual std::string | label (raw::OpDetWaveform const &waveform, unsigned int tick) const override |
Returns the electronics time of the specified waveform tick. More... | |
virtual unsigned int | labelWidth (raw::OpDetWaveform const &waveform, unsigned int tick) const |
Length of padded label. For best results, it should be a constant. More... | |
Public Attributes | |
double | tickDuration |
Base functor for printing time according to tick number.
Definition at line 112 of file DumpOpDetWaveforms_module.cc.
|
inline |
Constructor: specify the duration of optical clock tick [µs].
Definition at line 116 of file DumpOpDetWaveforms_module.cc.
|
inlineoverridevirtual |
Returns the electronics time of the specified waveform tick.
Implements dump::raw::OpDetWaveformDumper::TimeLabelMaker.
Definition at line 119 of file DumpOpDetWaveforms_module.cc.
References raw::OpDetWaveform::TimeStamp(), and util::to_string().
|
inlinevirtualinherited |
Length of padded label. For best results, it should be a constant.
Reimplemented in dump::raw::OpDetWaveformDumper::TickLabelMaker.
Definition at line 54 of file OpDetWaveform.h.
Referenced by dump::raw::OpDetWaveformDumper::dump().
double detsim::DumpOpDetWaveforms::TimestampLabelMaker::tickDuration |
Definition at line 113 of file DumpOpDetWaveforms_module.cc.