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
13#include <ers/Issue.hpp>
14#include "logging/Logging.hpp" // NOTE: if ISSUES ARE DECLARED BEFORE include logging/Logging.hpp, TLOG_DEBUG<<issue wont work.
15#include <string>
16
17
18
19
20namespace dunedaq {
21/*
22ERS_DECLARE_ISSUE(fdreadoutlibs,
23 TPHandlerBacklog,
24 "Failed to push hits to TP handler " << sid,
25 ((int)sid))
26*/
27
28ERS_DECLARE_ISSUE(fdreadoutlibs,
29 TPGAlgorithmInexistent,
30 "The selected algorithm does not exist: " << algorithm_selection << " . Check your configuration file and seelect either SimpleThreshold or AbsRS.",
31 ((std::string)algorithm_selection))
32
33ERS_DECLARE_ISSUE(fdreadoutlibs,
35 "TP with SOT " << width << " for channel " << channel,
36 ((uint64_t)width) ((uint64_t)channel))
37
38ERS_DECLARE_ISSUE(fdreadoutlibs,
39 FailedToSendTPVector,
40 "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,
41 ((dunedaq::daqdataformats::timestamp_t)s_ts_begin) ((uint64_t)channel_begin) ((dunedaq::daqdataformats::timestamp_t)s_ts_end) ((uint64_t)channel_end))
42
43
44ERS_DECLARE_ISSUE(fdreadoutlibs,
45 LinkMisconfiguration,
46 "WIB data have crate/slot/link " << wcrate << "/" << wslot << "/" << wlink << " while this readout link is configured for " << crate << "/" << slot << "/" << link,
47 ((uint32_t)wcrate) ((uint32_t)wslot) ((uint32_t)wlink) ((uint32_t)crate) ((uint32_t)slot) ((uint32_t)link))
48
49
50} // namespace dunedaq
51
52#endif // FDREADOUTLIBS_INCLUDE_FDREADOUTLIBS_FDREADOUTISSUES_HPP_
#define ERS_DECLARE_ISSUE(namespace_name, class_name, message, attributes)
uint64_t timestamp_t
Type used to represent DUNE timing system timestamps.
Definition Types.hpp:36
Including Qt Headers.