An artdaq::CommandableFragmentGenerator which receives data in the form of UDP datagrams. More...
#include <artdaq-demo/Generators/UDPReceiver.hh>
Public Member Functions | |
UDPReceiver (fhicl::ParameterSet const &ps) | |
UDPReceiver Constructor. More... | |
An artdaq::CommandableFragmentGenerator which receives data in the form of UDP datagrams.
Definition at line 82 of file UDPReceiver.hh.
|
explicit |
UDPReceiver Constructor.
ps | ParameterSet used to configure UDPReceiver |
* UDPRecevier accepts the following Parameters: * "port" (Default: 6343): The port on which to receive UDP data * "ip" (Default: 127.0.0.1): The Address to bind to ("0.0.0.0" listens on all addresses) * "send_CAPTAN_commands" (Default: false): Whether to send CommandPackets to start and stop the data flow * "raw_output_enabled" (Default: false): Whether to write UDP data to disk as well as to EventBuilders * "raw_output_path" (Default: "/tmp"): Directory to save raw output file (UDPReceiver-[ip]:[port].bin) *
Definition at line 18 of file UDPReceiver_generator.cc.