Base functor for printing time according to tick number. More...
#include <OpDetWaveform.h>
Public Member Functions | |
virtual | ~TimeLabelMaker ()=default |
virtual std::string | label (raw::OpDetWaveform const &waveform, unsigned int tick) const =0 |
Returns the label to be written for the specified tick number. 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... | |
Base functor for printing time according to tick number.
Definition at line 49 of file OpDetWaveform.h.
|
virtualdefault |
|
pure virtual |
Returns the label to be written for the specified tick
number.
Implemented in detsim::DumpOpDetWaveforms::TimestampLabelMaker, and dump::raw::OpDetWaveformDumper::TickLabelMaker.
|
inlinevirtual |
Length of padded label. For best results, it should be a constant.
Reimplemented in dump::raw::OpDetWaveformDumper::TickLabelMaker.
Definition at line 59 of file OpDetWaveform.h.