$treeview $search $mathjax $extrastylesheet
artdaq
v3_04_00
$projectbrief
|
$projectbrief
|
$searchbox |
DataLoggerCore implements the state machine for the DataLogger artdaq application. DataLoggerCore processes incoming events in one of three roles: Data Logger, Online Monitor, or Dispatcher. More...
#include <artdaq/Application/DataLoggerCore.hh>
Public Member Functions | |
DataLoggerCore () | |
DataLoggerCore Constructor. | |
DataLoggerCore (DataLoggerCore const &) | |
Copy Constructor is deleted. | |
~DataLoggerCore () | |
DataLoggerCore & | operator= (DataLoggerCore const &) |
Copy Assignment operator is deleted. | |
bool | initialize (fhicl::ParameterSet const &pset) override |
Processes the initialize request. |
DataLoggerCore implements the state machine for the DataLogger artdaq application. DataLoggerCore processes incoming events in one of three roles: Data Logger, Online Monitor, or Dispatcher.
Definition at line 18 of file DataLoggerCore.hh.
artdaq::DataLoggerCore::~DataLoggerCore | ( | ) |
Destructor.
Definition at line 27 of file DataLoggerCore.cc.
bool artdaq::DataLoggerCore::initialize | ( | fhicl::ParameterSet const & | pset | ) | [override, virtual] |
Processes the initialize request.
pset | ParameterSet used to configure the DataLoggerCore |
* DataLoggerCore accepts the following Parameters: * "daq" (REQUIRED): FHiCL table containing DAQ configuration * "DataLogger" (REQUIRED): FHiCL table containing DataLogger paramters * "expected_events_per_bunch" (REQUIRED): Number of events to collect before sending them to art * "enq_timeout" (Default: 5.0): Maximum amount of time to wait while enqueueing events to the ConcurrentQueue * "is_data_logger": True if the DataLogger is a Data Logger * "is_online_monitor": True if the DataLogger is an Online Monitor. is_data_logger takes precedence * "is_dispatcher": True if the DataLogger is a Dispatcher. is_data_logger and is_online_monitor take precedence * NOTE: At least ONE of these three parameters must be specified. * "inrun_recv_timeout_usec" (Default: 100000): Amount of time to wait for new events while running * "endrun_recv_timeout_usec" (Default: 20000000): Amount of time to wait for additional events at EndOfRun * "pause_recv_timeout_usec" (Default: 3000000): Amount of time to wait for additional events at PauseRun * "onmon_event_prescale" (Default: 1): Only send 1/N events to art for online monitoring (requires is_data_logger: true) * "verbose" (Default: true): Whether to print transition messages * "metrics": FHiCL table containing configuration for MetricManager * "outputs" (REQUIRED): FHiCL table containing output parameters * "normalOutput" (REQUIRED): FHiCL table containing default output parameters * "fileName" (Default: ""): Name template of the output file. Used to determine output directory *
Note that the "DataLogger" ParameterSet is also used to configure the EventStore. See that class' documentation for more information.
Implements artdaq::DataReceiverCore.
Definition at line 32 of file DataLoggerCore.cc.
DataLoggerCore& artdaq::DataLoggerCore::operator= | ( | DataLoggerCore const & | ) |
Copy Assignment operator is deleted.
Reimplemented from artdaq::DataReceiverCore.