DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
FDReadoutIssues.hpp
Go to the documentation of this file.
1
10#ifndef FDREADOUTLIBS_INCLUDE_FDREADOUTLIBS_FDREADOUTISSUES_HPP_
11#define FDREADOUTLIBS_INCLUDE_FDREADOUTLIBS_FDREADOUTISSUES_HPP_
12
14
15#include <ers/Issue.hpp>
16#include "logging/Logging.hpp" // NOTE: if ISSUES ARE DECLARED BEFORE include logging/Logging.hpp, TLOG_DEBUG<<issue wont work.
17#include <string>
18
19
20
21
22namespace dunedaq {
23/*
24ERS_DECLARE_ISSUE(fdreadoutlibs,
25 TPHandlerBacklog,
26 "Failed to push hits to TP handler " << sid,
27 ((int)sid))
28*/
29
30ERS_DECLARE_ISSUE(fdreadoutlibs,
31 TPGAlgorithmInexistent,
32 "The selected algorithm does not exist: " << algorithm_selection << " . Check your configuration file and seelect either SimpleThreshold or AbsRS.",
33 ((std::string)algorithm_selection))
34
35ERS_DECLARE_ISSUE(fdreadoutlibs,
37 "Both frame_count_limit and tp_count_limit were set to 0 (disabled) in the TPCRawDataProcessor config. TPs will not send.",
38 )
39
40ERS_DECLARE_ISSUE(fdreadoutlibs,
41 TPTooLong,
42 "TP with SOT " << width << " for channel " << channel,
43 ((uint64_t)width) ((uint64_t)channel))
44
45ERS_DECLARE_ISSUE(fdreadoutlibs,
47 "Failed to send TP vector beginning with start time " << s_ts_begin << " and channel number " << channel_begin << ", ending with start time " << s_ts_end << " and channel number " << channel_end,
48 ((daqdataformats::timestamp_t)s_ts_begin) ((uint64_t)channel_begin) ((daqdataformats::timestamp_t)s_ts_end) ((uint64_t)channel_end))
49
50ERS_DECLARE_ISSUE(fdreadoutlibs,
51 DetectorPlaneToTPSinkMismatch,
52 "There are more detector planes " << num_planes << " than available TP sinks " << num_tp_sinks << ".",
53 ((size_t) num_planes) ((size_t) num_tp_sinks))
54
55ERS_DECLARE_ISSUE(fdreadoutlibs,
56 LinkMisconfiguration,
57 "WIB data have crate/slot/link " << wcrate << "/" << wslot << "/" << wlink << " while this readout link is configured for " << crate << "/" << slot << "/" << link,
58 ((uint32_t)wcrate) ((uint32_t)wslot) ((uint32_t)wlink) ((uint32_t)crate) ((uint32_t)slot) ((uint32_t)link))
59
60ERS_DECLARE_ISSUE(fdreadoutlibs,
61 PDSPeakIgnored,
62 "Ignoring PDS Peak with ts=" << timestamp << ", ch=" << channel << ", sc_iframe=" << superchunk_iframe << ", ipeak=" << ipeak,
63 ((uint64_t)timestamp) ((uint64_t)channel) ((size_t)superchunk_iframe) ((size_t)ipeak))
64
65ERS_DECLARE_ISSUE(fdreadoutlibs,
66 PDSUnphysicalFrameTimestamp,
67 "PDS Frame with unphysical timestamp detected with ts=" << timestamp << ", ch=" << channel << ", sc_iframe=" << superchunk_iframe,
68 ((uint64_t)timestamp) ((uint64_t)channel) ((size_t)superchunk_iframe))
69} // namespace dunedaq
70
71#endif // FDREADOUTLIBS_INCLUDE_FDREADOUTLIBS_FDREADOUTISSUES_HPP_
#define ERS_DECLARE_ISSUE(namespace_name, class_name, message, attributes)
Definition WIB.hh:26
The DUNE-DAQ namespace.
Both frame_count_limit and tp_count_limit were set FailedToSendTPVector
Both frame_count_limit and tp_count_limit were set to(disabled) in the TPCRawDataProcessor config. TPs will not send."