9#ifndef TRIGGER_INCLUDE_TRIGGER_ISSUES_HPP_
10#define TRIGGER_INCLUDE_TRIGGER_ISSUES_HPP_
24#define TLVL_ENTER_EXIT_METHODS 10
26#define TLVL_GENERATION 11
28#define TLVL_CANDIDATE 15
40ERS_DECLARE_ISSUE(trigger, InvalidSystemType, "Unknown system type " << type, ((
std::
string)type))
45 "Signal type " << signal_type << " invalid.",
47 ((uint32_t)signal_type))
52 "The " << queueType << " queue was not successfully created.",
54 ((
std::
string)queueType))
66 "The " <<
algorithm << " encountered an unknown Set type.",
71 InconsistentSetTimeError,
73 "The " <<
algorithm << " maker encountered Sets with inconsistent start/end times.",
81 "The " <<
algorithm << " maker generated a tardy output, which will be dropped."
82 << " Output's time is " << output_time << ", last sent time is " << last_sent_time,
92 << ", not aligned to a window time boundary " << window_time,
101 "Tardy input
set from element " << element
102 << ". Set start time " <<
start_time << " but last sent time " << last_sent_time,
112 "Received sets with start_times
out of order: previous was " << previous << " current is "
118 AlgorithmFailedToSend,
120 "The " <<
algorithm << " maker
failed to add output to a queue, which will be dropped.",
125 AlgorithmFailedToHeartbeat,
127 "The " <<
algorithm << " maker
failed to add a heartbeat to a queue, which will be dropped.",
132 WindowlessOutputError,
135 << " maker generated an output that was not in any input window, which will be dropped.",
142 "Problem opening file " <<
filename,
150 << "is higher than
time_start of last TP and will be ignored.",
157 "The trigger type contains high bits: " << trigger_type,
159 ((
std::bitset<16>)trigger_type))
164 "TC of type " << tc_type << ", timestamp " << tc_timestamp << " overlaps with previous TD readout window: [" << td_start << ", " << td_end << "]",
172 TCTimestampsSizeError,
174 "There are no next timestamps!",
179 InvalidHSIEventRunNumber,
181 "An invalid
run number was received in an HSIEvent, "
182 << "received=" << received << ", expected=" << expected << ", timestamp=" <<
ts
183 << ", sequence_count=" << seq,
185 ((
size_t)received)((
size_t)expected)((
size_t)
ts)((
size_t)seq))
188 MissingFactoryItemError,
196 "TA timestamp " << time << " for channel " << channel,
197 ((uint64_t)time) ((uint64_t)channel))
201 "TC timestamp " << time << " for src " << src,
202 ((uint64_t)time) ((uint64_t)src))
206 "TD trigger number " << tn << " time stamp " <<
ts,
207 ((uint64_t)tn) ((uint64_t)
ts))
210 MLTConfigurationProblem,
212 "Configuration
error: " << item,
217 ReplayConfigurationProblem,
219 "Configuration
error: " << item,
224 ReplayChannelMapProblem,
226 "Specified channel map: " << item << " does not exist!",
233 "Specified HDF5 file: " << item << " does not exist!",
240 "Specified HDF5 file: " << item << " does not contain valid paths!",
247 "Fragment from file: " << item << " is empty!",
254 "Cannot retrieve ROU from file: " << item << " !",
261 "Cannot retrieve plane from file: " << item << " !",
268 "No valid files to use!",
275 "TP array does not contain valid TPs!",
280 ReplayStreamFileError,
282 "Duplicate stream index " << index
284 << " (original: " << original << ")",
#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 volatile sig_atomic_t run
FELIX Initialization std::string initerror FELIX queue timed std::string queuename Unexpected chunk int ParserOps couldn t push to queue !Failed std::string chunk Invalid FELIX block size and trailer configuration requested
Unsupported std::string uri Execution of command failed
FELIX Initialization std::string initerror FELIX queue timed out
FELIX Initialization std::string initerror FELIX queue timed std::string queuename Unexpected chunk size
Cannot add TPSet with start_time
Monitoring thread not set
PDS Frame with unphysical timestamp detected with ts
Factory couldn t std::string alg_name Invalid configuration error
Factory couldn t std::string alg_name InvalidConfiguration