8#ifndef DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_READOUTISSUES_HPP_
9#define DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_READOUTISSUES_HPP_
27 "SourceID[" <<
sourceid <<
"] Command Error: " << commanderror,
32 "Readout Initialization Error: " << initerror,
33 ((std::string)initerror))
37 "SourceID[" <<
sourceid <<
"] Readout Configuration Error: " << conferror,
42 "Configuration Error: " << conferror,
43 ((
std::
string)conferror))
46 DataRecorderConfigurationError,
47 "Configuration Error: " << conferror,
48 ((
std::
string)conferror))
52 "Configuration Error: " << conferror,
53 ((
std::
string)conferror))
57 "Binary file contains extra data, " << numbytes
58 <<
" bytes beyond an exact integer number of super-chunks. "
59 <<
"This is not a problem and those bytes will be ignored, "
60 <<
"filesize is " << filesize <<
", "
62 <<
"filename is " << filename,
63 ((int32_t)numbytes)((
size_t)filesize)((int32_t)
chunksize)((
std::
string)filename))
67 "SourceID " <<
sourceid <<
" failed to send send TimeSync message to " << dest <<
".",
73 BufferedReaderWriterCannotOpenFile,
74 "Couldn't open file: " << filename,
75 ((
std::
string)filename))
80 " Couldn't read properly the binary file: " << filename <<
" Cause: " << errorstr,
82 ((
std::
string)errorstr))
87 PostprocessingNotKeepingUp,
88 "SourceID[" <<
sourceid <<
"] Postprocessing has too much backlog, thread: " << i,
93 "SourceID[" <<
sourceid <<
"] Source Buffer is empty, check file: " << filename,
98 "SourceID[" <<
sourceid <<
"] Failed attempt to read from the queue: " << queuename,
103 "SourceID[" <<
sourceid <<
"] Failed attempt to write to the queue: " << queuename
104 <<
". Data will be lost!",
109 "Module [" << name <<
"] Failed attempt to write to the queue: "
110 <<
". Data will be lost!",
114 RequestSourceIDMismatch,
115 "SourceID[" <<
sourceid <<
"] Got request for SourceID: " << request_sourceid,
119 RequestOnEmptyBuffer,
120 "SourceID[" <<
sourceid <<
"] Request on empty buffer: " << trmdetails,
124 FailedReadoutInitialization,
126 " Couldnt initialize Readout with current Init arguments " << initparams <<
' ',
128 ((
std::
string)initparams))
131 FailedFakeCardInitialization,
132 "Could not initialize fake card " << name,
136 NoImplementationAvailableError,
138 " No " << impl <<
" implementation available for raw type: " << rawt <<
' ',
144 " The " << queueType <<
" queue was not successfully created for " << moduleName,
145 ((
std::
string)queueType)((
std::
string)moduleName))
148 DataRecorderModuleResourceQueueError,
150 " The " << queueType <<
" queue was not successfully created. ",
152 ((
std::
string)queueType))
155 GenericResourceQueueError,
156 "The " << queueType <<
" queue was not successfully created for " << moduleName,
157 ((
std::
string)queueType)((
std::
string)moduleName))
161 "ConfigurationNote: " << text,
162 ((
std::
string)name)((
std::
string)text))
165 ConfigurationProblem,
166 "SourceID[" <<
sourceid <<
"] Configuration problem: " << text,
171 "SourceID[" <<
sourceid <<
"] Request timed out",
176 VerboseRequestTimedOut,
177 "SourceID[" <<
sourceid <<
"] Request timed out for trig/seq_num " << trignum <<
"." << seqnum <<
", run_num "
178 << runnum <<
", window begin/end " << window_begin <<
"/" << window_end <<
", data_destination: " << dest,
184 EndOfRunEmptyFragment,
185 "SourceID[" <<
sourceid <<
"] Empty fragment at the end of the run",
190 DataPacketArrivedTooLate,
191 "SourceID[" <<
sourceid <<
"] Received a late data packet in run " << run <<
", payload first timestamp = " << ts1
192 <<
", request_handler cutoff timestamp = " << ts2 <<
", difference = " << tick_diff <<
" ticks, "
193 << msec_diff <<
" msec.",
195 (
daqdataformats::timestamp_t)ts2)((int64_t)tick_diff)((
double)msec_diff))
198 NonZeroLatencyBufferInsertFailures,
199 "SourceID[" <<
sourceid <<
"] There were " << fail_count
200 <<
" failures to insert data into the latency buffer out of " << total_count
201 <<
" attempts in the latest monitoring interval.",
206 ers_metadata <<
"New error registered with \"" << error_name <<
"\"",
207 ((
std::
string)ers_metadata)((
std::
string)error_name))
211 ers_metadata <<
"Cleared error of \"" << error_name <<
"\"",
212 ((
std::
string)ers_metadata)((
std::
string)error_name))
ERS_DECLARE_ISSUE(cibmodules, CIBCommunicationError, " CIB Hardware Communication Error: "<< descriptor,((std::string) descriptor)) ERS_DECLARE_ISSUE(cibmodules
ERS_DECLARE_ISSUE_BASE(timinglibs, ProgressUpdate, appfwk::GeneralDAQModuleIssue, message,((std::string) name),((std::string) message)) ERS_DECLARE_ISSUE_BASE(timinglibs
SourceID[" << sourceid << "] Command daqdataformats::SourceID Readout Initialization std::string initerror Configuration std::string conferror Configuration std::string conferror TimeSyncTransmissionFailed
Cannot add TPSet with sourceid
FELIX Initialization std::string initerror FELIX queue timed std::string queuename Unexpected chunk int chunksize((size_t) expected)) ERS_DECLARE_ISSUE(flxlibs
SourceID[" << sourceid << "] Command daqdataformats::SourceID Readout Initialization std::string initerror BufferedReaderWriterConfigurationError
SourceID[" << sourceid << "] Command daqdataformats::SourceID Readout Initialization std::string initerror Configuration std::string conferror GenericConfigurationError
CIB Buffer std::string descriptor Message from std::string descriptor CIB process error