artdaq_demo  v3_02_00
demo::UDPReceiver Class Reference

An artdaq::CommandableFragmentGenerator which receives data in the form of UDP datagrams. More...

#include <artdaq-demo/Generators/UDPReceiver.hh>

Inheritance diagram for demo::UDPReceiver:

Public Member Functions

 UDPReceiver (fhicl::ParameterSet const &ps)
 UDPReceiver Constructor. More...
 

Detailed Description

An artdaq::CommandableFragmentGenerator which receives data in the form of UDP datagrams.

Definition at line 82 of file UDPReceiver.hh.

Constructor & Destructor Documentation

demo::UDPReceiver::UDPReceiver ( fhicl::ParameterSet const &  ps)
explicit

UDPReceiver Constructor.

Parameters
psParameterSet 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.


The documentation for this class was generated from the following files: