All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
dump::raw::OpDetWaveformDumper::TimeLabelMaker Struct Referenceabstract

Base functor for printing time according to tick number. More...

#include <OpDetWaveform.h>

Inheritance diagram for dump::raw::OpDetWaveformDumper::TimeLabelMaker:
detsim::DumpOpDetWaveforms::TimestampLabelMaker dump::raw::OpDetWaveformDumper::TickLabelMaker

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...
 

Detailed Description

Base functor for printing time according to tick number.

Definition at line 49 of file lardataalg/lardataalg/Dumpers/RawData/OpDetWaveform.h.

Constructor & Destructor Documentation

virtual dump::raw::OpDetWaveformDumper::TimeLabelMaker::~TimeLabelMaker ( )
virtualdefault

Member Function Documentation

virtual std::string dump::raw::OpDetWaveformDumper::TimeLabelMaker::label ( raw::OpDetWaveform const &  waveform,
unsigned int  tick 
) const
pure virtual

Returns the label to be written for the specified tick number.

Implemented in detsim::DumpOpDetWaveforms::TimestampLabelMaker, and dump::raw::OpDetWaveformDumper::TickLabelMaker.

virtual unsigned int dump::raw::OpDetWaveformDumper::TimeLabelMaker::labelWidth ( raw::OpDetWaveform const &  waveform,
unsigned int  tick 
) const
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 lardataalg/lardataalg/Dumpers/RawData/OpDetWaveform.h.

60  { return 10U; }

The documentation for this struct was generated from the following file: