DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <HSISourceModel.hpp>
Public Types | |
using | inherited = datahandlinglibs::SourceConcept |
![]() | |
using | NodePtr = std::weak_ptr<MonitorableObject> |
using | NewNodePtr = std::shared_ptr<MonitorableObject> |
using | ElementId = std::string |
Private Types | |
using | source_t = dunedaq::iomanager::ReceiverConcept<dfmessages::HSIEvent> |
using | sink_t = dunedaq::iomanager::SenderConcept<triggeralgs::TriggerCandidate> |
using | metric_counter_type = uint64_t |
Private Attributes | |
std::shared_ptr< source_t > | m_data_receiver |
std::shared_ptr< sink_t > | m_data_sender |
std::map< uint32_t, HSISignal > | m_signals |
map of HSI signal ID bits to TC output configurations | |
std::atomic< metric_counter_type > | m_received_events_count {0} |
std::atomic< metric_counter_type > | m_tcs_made_count {0} |
std::atomic< metric_counter_type > | m_tcs_sent_count {0} |
std::atomic< metric_counter_type > | m_tcs_dropped_count {0} |
uint64_t | m_prescale |
{rescale for the input HSIEvents, default 1 | |
std::atomic< bool > | m_running_flag { false } |
std::atomic< bool > | m_latency_monitoring { false } |
dunedaq::trigger::Latency | m_latency_instance |
std::atomic< metric_counter_type > | m_latency_in { 0 } |
std::atomic< metric_counter_type > | m_latency_out { 0 } |
Additional Inherited Members | |
![]() | |
static bool | publishable_metric (OpMonLevel entry, OpMonLevel system) noexcept |
![]() | |
MonitorableObject ()=default | |
void | register_node (ElementId name, NewNodePtr) |
void | publish (google::protobuf::Message &&, CustomOrigin &&co={}, OpMonLevel l=to_level(EntryOpMonLevel::kDefault)) const noexcept |
Definition at line 44 of file HSISourceModel.hpp.
Definition at line 47 of file HSISourceModel.hpp.
|
private |
Definition at line 224 of file HSISourceModel.hpp.
|
private |
Definition at line 217 of file HSISourceModel.hpp.
|
private |
Definition at line 214 of file HSISourceModel.hpp.
|
inline |
SourceModel Constructor.
name | Instance name for this SourceModel instance |
Definition at line 53 of file HSISourceModel.hpp.
|
inlineoverride |
Definition at line 54 of file HSISourceModel.hpp.
|
inlineoverridevirtual |
Hook for customisable pubblication. The function can throw, exception will be caught by the monitoring thread
Reimplemented from dunedaq::opmonlib::MonitorableObject.
Definition at line 181 of file HSISourceModel.hpp.
|
inline |
Definition at line 129 of file HSISourceModel.hpp.
|
inlineoverridevirtual |
Implements dunedaq::datahandlinglibs::SourceConcept.
Definition at line 61 of file HSISourceModel.hpp.
|
inline |
Definition at line 202 of file HSISourceModel.hpp.
|
inlinevirtual |
Implements dunedaq::datahandlinglibs::SourceConcept.
Definition at line 112 of file HSISourceModel.hpp.
|
inlinevirtual |
Implements dunedaq::datahandlinglibs::SourceConcept.
Definition at line 123 of file HSISourceModel.hpp.
|
private |
Definition at line 215 of file HSISourceModel.hpp.
|
private |
Definition at line 218 of file HSISourceModel.hpp.
|
private |
Definition at line 237 of file HSISourceModel.hpp.
|
private |
Definition at line 236 of file HSISourceModel.hpp.
|
private |
Definition at line 235 of file HSISourceModel.hpp.
|
private |
Definition at line 238 of file HSISourceModel.hpp.
|
private |
{rescale for the input HSIEvents, default 1
Definition at line 231 of file HSISourceModel.hpp.
|
private |
Definition at line 225 of file HSISourceModel.hpp.
|
private |
Definition at line 234 of file HSISourceModel.hpp.
|
private |
map of HSI signal ID bits to TC output configurations
Definition at line 221 of file HSISourceModel.hpp.
|
private |
Definition at line 228 of file HSISourceModel.hpp.
|
private |
Definition at line 226 of file HSISourceModel.hpp.
|
private |
Definition at line 227 of file HSISourceModel.hpp.