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 << ", "
68 "SourceID " <<
sourceid << "
failed to send send TimeSync message to " << dest << ".",
74 BufferedReaderWriterCannotOpenFile,
81 " Couldn't read properly the binary file: " <<
filename << " Cause: " << errorstr,
83 ((
std::
string)errorstr))
88 PostprocessingNotKeepingUp,
89 "SourceID[" <<
sourceid << "] Postprocessing has too much backlog,
thread: " << i,
99 "SourceID[" <<
sourceid << "] Failed attempt to read from the queue: " << queuename,
104 "SourceID[" <<
sourceid << "] Failed attempt to write to the queue: " << queuename
105 << ". Data will be lost!",
110 "Module [" << name << "] Failed attempt to write to the queue: "
111 << ". Data will be lost!",
115 RequestSourceIDMismatch,
116 "SourceID[" <<
sourceid << "] Got request for SourceID: " << request_sourceid,
121 TrmWithEmptyFragment,
122 "SourceID[" <<
sourceid << "] Trigger Matching result with empty fragment: " << trmdetails,
126 RequestOnEmptyBuffer,
127 "SourceID[" <<
sourceid << "] Request on empty buffer: " << trmdetails,
131 FailedReadoutInitialization,
133 " Couldnt
initialize Readout with current Init arguments " << initparams << ' ',
135 ((
std::
string)initparams))
138 FailedFakeCardInitialization,
143 NoImplementationAvailableError,
145 " No " << impl << " implementation available for raw type: " << rawt << ' ',
151 " The " << queueType << " queue was not successfully created for " << moduleName,
152 ((
std::
string)queueType)((
std::
string)moduleName))
155 DataRecorderModuleResourceQueueError,
156 datahandlinglibs::DataRecorderConfigurationError,
157 " The " << queueType << " queue was not successfully created. ",
159 ((
std::
string)queueType))
162 GenericResourceQueueError,
163 "The " << queueType << " queue was not successfully created for " << moduleName,
164 ((
std::
string)queueType)((
std::
string)moduleName))
166ERS_DECLARE_ISSUE(datahandlinglibs, ConfigurationNote, "ConfigurationNote: " << text, ((
std::
string)name)((
std::
string)text))
169 ConfigurationProblem,
170 "SourceID[" <<
sourceid << "] Configuration problem: " << text,
179 VerboseRequestTimedOut,
180 "SourceID[" <<
sourceid << "] Request timed
out for trig/seq_num " << trignum << "." << seqnum
181 << ", run_num " << runnum << ", window begin/end " << window_begin << "/" << window_end
182 << ", data_destination: " << dest,
186 EndOfRunEmptyFragment,
187 "SourceID[" <<
sourceid << "] Empty fragment at the end of the
run",
191 DataPacketArrivedTooLate,
192 "Received a late data packet in
run " <<
run << ", payload first timestamp = " << ts1 <<
193 ", request_handler cutoff timestamp = " << ts2 << ", difference = " << tick_diff <<
194 " ticks, " << msec_diff << " msec.",
198 NonZeroLatencyBufferInsertFailures,
199 "There were " << fail_count << " failures to insert data into the latency buffer
out of " <<
200 total_count << " attempts in the latest monitoring interval.",
201 ((int64_t)fail_count)((int64_t)total_count))
205 ers_metadata << "New
error registered with \"" << error_name << "\"",
206 ((
std::
string)ers_metadata) ((
std::
string)error_name))
210 ers_metadata << "Cleared
error of \"" << error_name << "\"",
211 ((
std::
string)ers_metadata) ((
std::
string)error_name))
#define ERS_DECLARE_ISSUE_BASE(namespace_name, class_name, base_class_name, message, base_attributes, attributes)
#define ERS_DECLARE_ISSUE(namespace_name, class_name, message, attributes)
static void check(std::vector< conffwk::ConfigurationChange * > &changes, const InheritanceData &inheritance, const std::set< std::string > &class_names, const OksConfiguration::SMap &objects, const std::string &obj_class, const std::string &obj_id, const char action)
static volatile sig_atomic_t run
Unsupported std::string uri Execution of command failed
SourceID[" << sourceid << "] Command daqdataformats::SourceID InitializationError
FELIX Initialization std::string initerror FELIX queue timed out
SourceID[" << sourceid << "] Command daqdataformats::SourceID Readout Initialization std::string initerror Configuration std::string conferror Configuration std::string conferror TimeSyncTransmissionFailed
LED calibration failed to initialize
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 Error
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
Factory couldn t std::string alg_name Invalid configuration error