DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
FDReadoutIssues.hpp
Go to the documentation of this file.
1
9
10#ifndef FDREADOUTLIBS_INCLUDE_FDREADOUTLIBS_FDREADOUTISSUES_HPP_
11#define FDREADOUTLIBS_INCLUDE_FDREADOUTLIBS_FDREADOUTISSUES_HPP_
12
14
15#include "logging/Logging.hpp" // NOTE: if ISSUES ARE DECLARED BEFORE include logging/Logging.hpp, TLOG_DEBUG<<issue wont work.
16#include <ers/Issue.hpp>
17#include <string>
18
19namespace dunedaq {
20/*
21ERS_DECLARE_ISSUE(fdreadoutlibs,
22 TPHandlerBacklog,
23 "Failed to push hits to TP handler " << sid,
24 ((int)sid))
25*/
26
28 TPGAlgorithmInexistent,
29 "The selected algorithm does not exist: "
30 << algorithm_selection
31 << " . Check your configuration file and seelect either SimpleThreshold or AbsRS.",
32 ((std::string)algorithm_selection))
33
36 "Both frame_count_limit and tp_count_limit were set to 0 (disabled) in the TPCRawDataProcessor "
37 "config. TPs will not send.", )
38
40 TPTooLong,
41 "TP with SOT " << width << " for channel " << channel,
42 ((uint64_t)width)((uint64_t)channel))
43
46 "Failed to send TP vector beginning with start time "
47 << s_ts_begin << " and channel number " << channel_begin << ", ending with start time " << s_ts_end
48 << " and channel number " << channel_end,
49 ((daqdataformats::timestamp_t)s_ts_begin)((uint64_t)channel_begin)((daqdataformats::timestamp_t)
50 s_ts_end)((uint64_t)channel_end))
51
53 DetectorPlaneToTPSinkMismatch,
54 "There are more detector planes " << num_planes << " than available TP sinks " << num_tp_sinks << ".",
55 ((size_t)num_planes)((size_t)num_tp_sinks))
56
58 LinkMisconfiguration,
59 "WIB data have crate/slot/link " << wcrate << "/" << wslot << "/" << wlink
60 << " while this readout link is configured for " << crate << "/"
61 << slot << "/" << link,
62 ((uint32_t)wcrate)((uint32_t)wslot)((uint32_t)wlink)((uint32_t)crate)((uint32_t)slot)((uint32_t)link))
63
65 PDSPeakIgnored,
66 "Ignoring PDS Peak with ts=" << timestamp << ", ch=" << channel << ", sc_iframe=" << superchunk_iframe
67 << ", ipeak=" << ipeak,
68 ((uint64_t)timestamp)((uint64_t)channel)((size_t)superchunk_iframe)((size_t)ipeak))
69
71 PDSUnphysicalFrameTimestamp,
72 "PDS Frame with unphysical timestamp detected with ts=" << timestamp << ", ch=" << channel
73 << ", sc_iframe=" << superchunk_iframe,
74 ((uint64_t)timestamp)((uint64_t)channel)((size_t)superchunk_iframe))
76 TPGStateMonitoringConfigIgnored,
77 "At least one attribute for state monitoring is configured, but "
78 "the package was built with TPGLIBS_ENABLE_STATE_MONITORING=OFF."
79 "There will be no effects from these set attributes and no collection."
80 " To enable, keep the current configuration and run: "
81 "export TPGLIBS_ENABLE_STATE_MONITORING=ON, then rebuild from a clean "
82 "build directory (dbt-build -c).", )
83
84} // namespace dunedaq
85
86#endif // FDREADOUTLIBS_INCLUDE_FDREADOUTLIBS_FDREADOUTISSUES_HPP_
The DUNE-DAQ namespace.
Both frame_count_limit and tp_count_limit were set FailedToSendTPVector
ERS_DECLARE_ISSUE(cibmodules, CIBCommunicationError, " CIB Hardware Communication Error: "<< descriptor,((std::string) descriptor)) ERS_DECLARE_ISSUE(cibmodules