module which dumps the waveform of a channel to a text file More...
#include <AsciiWriter.hh>
Public Member Functions | |
int | Initialize () |
Initialize the module before starting a run. Return 0 if no error. | |
int | Finalize () |
Finalize state after a run has processed. Return 0 if no error. | |
int | Process (ChannelData *chdata) |
Process a single channel in a single trigger. Return 0 if no error. | |
std::string | GetDefaultFilename () |
Get the default name of the output text file. | |
const std::string & | GetFilename () |
Get the name of the output text file being used. | |
void | SetFilename (const std::string &s) |
Set the name of the output text file. | |
Static Public Member Functions | |
static const std::string | GetDefaultName () |
Private Attributes | |
std::ofstream | _fout |
ofstream to write to | |
std::string | _filename |
name of the output file | |
bool | _wrote_header |
has the header been written yet? |
module which dumps the waveform of a channel to a text file
Definition at line 17 of file AsciiWriter.hh.