class DaqErrFilter : public Pipe

This class simulates DAQ errors

Inheritance:


Public Methods

DaqErrFilter(const char* subtype)
Daq error constructor.
~DaqErrFilter(void)
Daq error destructor
std::string getTypeString(void) const
Return a string containing a list of error tyeps to be simulated
bool selectType(const std::string& s)
Enable simulation of the specified error type
void setAvgWidth(double avgWid)
Specify an average number of errors to be generated in a cluster of LSB errors
void setClusterWidth(long wid)
Specify a fixed number of errors in a cluster
void setSubTypes(const std::string& s)
Set the error tyopes to be simulated by this filter

Documentation

This class simulates DAQ errors. At present the error types included are: The types of errors to be simulated are set by either the constructor argument or by the setSubTypes method. The type string is a comma separated list of error types with one or more of "swap" or "lsb".
DaqErrFilter(const char* subtype)
Daq error filter constructor. The argument is a list of error types to be simulated with syntax as specified in the setSubTypes method.
Parameters:
subtype - List of errors to be simulated.

~DaqErrFilter(void)
Daq error destructor

std::string getTypeString(void) const
Return a string containing a list of error tyeps to be simulated

bool selectType(const std::string& s)
Enable simulation of the specified error type

void setAvgWidth(double avgWid)
Specify an average number of errors to be generated in a cluster of LSB errors. By default the average is ??

void setClusterWidth(long wid)
Specify a fixed number of errors in a cluster. Note that to specify a fixed cluster widthm the average clister width must be zero.

void setSubTypes(const std::string& s)
Set the error tyopes to be simulated by this filter. The error types are specified as a comma separated list of error names. At present the valid type names are "swap" and "lsb".


This class has no child classes.
Author:
J. Zweizig
Version:
1.0; Last modified: May 5, 2004

alphabetic index hierarchy of classes


generated by doc++