DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Class for master global node. More...
#include <FLCmdGeneratorNode.hpp>
Public Member Functions | |
FLCmdGeneratorNode (const uhal::Node &node) | |
virtual | ~FLCmdGeneratorNode () |
std::string | get_status (bool print_out=false) const override |
Get status string, optionally print. | |
virtual void | send_fl_cmd (uint32_t command, uint32_t channel) const |
Send a fixed length command. | |
void | enable_periodic_fl_cmd (uint32_t channel, double rate, bool poisson, uint32_t clock_frequency_hz) const |
Configure fake trigger. | |
void | enable_periodic_fl_cmd (uint32_t command, uint32_t channel, double rate, bool poisson, uint32_t clock_frequency_hz) const |
Configure fake trigger. | |
void | enable_periodic_fl_cmd (uint32_t channel, uint32_t divisor, uint32_t prescale, bool poisson) const |
Configure fake trigger. | |
void | enable_periodic_fl_cmd (uint32_t command, uint32_t channel, uint32_t divisor, uint32_t prescale, bool poisson) const |
Configure fake trigger. | |
void | disable_fake_trigger (uint32_t channel) const |
Clear fake trigger configuration. | |
std::string | get_cmd_counters_table (bool print_out=false) const |
Get command counters status string. | |
![]() | |
TimingNode (const uhal::Node &node) | |
virtual | ~TimingNode () |
std::map< std::string, uhal::ValWord< uint32_t > > | read_sub_nodes (const uhal::Node &node, bool dispatch=true) const |
Read subnodes. | |
void | reset_sub_nodes (const uhal::Node &node, uint32_t aValue=0x0, bool dispatch=true) const |
Reset subnodes. | |
Static Public Member Functions | |
static void | parse_periodic_fl_cmd_rate (double requested_rate, uint32_t clock_frequency_hz, double &actual_rate, uint32_t &divisor, uint32_t &prescale) |
Private Member Functions | |
void | validate_command (uint32_t command) const |
void | validate_channel (uint32_t channel) const |
Class for master global node.
Definition at line 32 of file FLCmdGeneratorNode.hpp.
|
explicit |
Definition at line 23 of file FLCmdGeneratorNode.cpp.
|
virtual |
Definition at line 29 of file FLCmdGeneratorNode.cpp.
void dunedaq::timing::FLCmdGeneratorNode::disable_fake_trigger | ( | uint32_t | channel | ) | const |
Clear fake trigger configuration.
Definition at line 170 of file FLCmdGeneratorNode.cpp.
void dunedaq::timing::FLCmdGeneratorNode::enable_periodic_fl_cmd | ( | uint32_t | channel, |
double | rate, | ||
bool | poisson, | ||
uint32_t | clock_frequency_hz ) const |
Configure fake trigger.
Definition at line 90 of file FLCmdGeneratorNode.cpp.
void dunedaq::timing::FLCmdGeneratorNode::enable_periodic_fl_cmd | ( | uint32_t | channel, |
uint32_t | divisor, | ||
uint32_t | prescale, | ||
bool | poisson ) const |
Configure fake trigger.
Definition at line 137 of file FLCmdGeneratorNode.cpp.
void dunedaq::timing::FLCmdGeneratorNode::enable_periodic_fl_cmd | ( | uint32_t | command, |
uint32_t | channel, | ||
double | rate, | ||
bool | poisson, | ||
uint32_t | clock_frequency_hz ) const |
Configure fake trigger.
Definition at line 101 of file FLCmdGeneratorNode.cpp.
void dunedaq::timing::FLCmdGeneratorNode::enable_periodic_fl_cmd | ( | uint32_t | command, |
uint32_t | channel, | ||
uint32_t | divisor, | ||
uint32_t | prescale, | ||
bool | poisson ) const |
Configure fake trigger.
Definition at line 148 of file FLCmdGeneratorNode.cpp.
std::string dunedaq::timing::FLCmdGeneratorNode::get_cmd_counters_table | ( | bool | print_out = false | ) | const |
Get command counters status string.
Definition at line 183 of file FLCmdGeneratorNode.cpp.
|
overridevirtual |
Get status string, optionally print.
Implements dunedaq::timing::TimingNode.
Definition at line 34 of file FLCmdGeneratorNode.cpp.
|
static |
Definition at line 231 of file FLCmdGeneratorNode.cpp.
|
virtual |
Send a fixed length command.
Definition at line 69 of file FLCmdGeneratorNode.cpp.
|
private |
Definition at line 58 of file FLCmdGeneratorNode.cpp.
|
private |
Definition at line 47 of file FLCmdGeneratorNode.cpp.