DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
sourcecode
fdreadoutlibs
include
fdreadoutlibs
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
13
#include "
daqdataformats/Types.hpp
"
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
19
namespace
dunedaq
{
20
/*
21
ERS_DECLARE_ISSUE(fdreadoutlibs,
22
TPHandlerBacklog,
23
"Failed to push hits to TP handler " << sid,
24
((int)sid))
25
*/
26
27
ERS_DECLARE_ISSUE
(
fdreadoutlibs
,
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
34
ERS_DECLARE_ISSUE
(
fdreadoutlibs
,
35
FrameAndTPCountersDisabled
,
36
"Both frame_count_limit and tp_count_limit were set to 0 (disabled) in the TPCRawDataProcessor "
37
"config. TPs will not send."
, )
38
39
ERS_DECLARE_ISSUE
(
fdreadoutlibs
,
40
TPTooLong,
41
"TP with SOT "
<< width <<
" for channel "
<< channel,
42
((uint64_t)width)((uint64_t)channel))
43
44
ERS_DECLARE_ISSUE
(
fdreadoutlibs
,
45
FailedToSendTPVector
,
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
52
ERS_DECLARE_ISSUE
(
fdreadoutlibs
,
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
57
ERS_DECLARE_ISSUE
(
fdreadoutlibs
,
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
64
ERS_DECLARE_ISSUE
(
fdreadoutlibs
,
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
70
ERS_DECLARE_ISSUE
(
fdreadoutlibs
,
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))
75
ERS_DECLARE_ISSUE
(
fdreadoutlibs
,
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_
Issue.hpp
channel_end
channel_end
Definition
TriggerActivity_serialization.hpp:43
Types.hpp
Logging.hpp
daqdataformats
Definition
__init__.py:1
dunedaq::fdreadoutlibs
Definition
CRTBernFrameProcessor.hpp:16
dunedaq
The DUNE-DAQ namespace.
Definition
cib_utilities.cpp:5
dunedaq::FailedToSendTPVector
Both frame_count_limit and tp_count_limit were set FailedToSendTPVector
Definition
FDReadoutIssues.hpp:45
dunedaq::ERS_DECLARE_ISSUE
ERS_DECLARE_ISSUE(cibmodules, CIBCommunicationError, " CIB Hardware Communication Error: "<< descriptor,((std::string) descriptor)) ERS_DECLARE_ISSUE(cibmodules
dunedaq::FrameAndTPCountersDisabled
FrameAndTPCountersDisabled
Definition
FDReadoutIssues.hpp:35
Generated on
for DUNE-DAQ by
1.18.0