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... | |
Public Member Functions inherited from dump::raw::OpDetWaveformDumper::TimeLabelMaker | |
virtual | ~TimeLabelMaker ()=default |
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 114 of file DumpOpDetWaveforms_module.cc.
|
inline |
Constructor: specify the duration of optical clock tick [µs].
Definition at line 118 of file DumpOpDetWaveforms_module.cc.
|
inlineoverridevirtual |
Returns the electronics time of the specified waveform tick.
Implements dump::raw::OpDetWaveformDumper::TimeLabelMaker.
Definition at line 122 of file DumpOpDetWaveforms_module.cc.
double detsim::DumpOpDetWaveforms::TimestampLabelMaker::tickDuration |
Definition at line 115 of file DumpOpDetWaveforms_module.cc.