artdaq
v3_09_01
|
EventBuilderCore implements the state machine for the EventBuilder artdaq application. EventBuilderCore receives Fragment objects from the DataReceiverManager, and sends them to the EventStore. More...
#include <artdaq/Application/EventBuilderCore.hh>
Public Member Functions | |
EventBuilderCore ()=default | |
EventBuilderCore Constructor. | |
EventBuilderCore (EventBuilderCore const &)=delete | |
Copy Constructor is deleted. | |
~EventBuilderCore () | |
EventBuilderCore & | operator= (EventBuilderCore const &)=delete |
Copy Assignment operator is deleted. More... | |
EventBuilderCore (EventBuilderCore &&)=delete | |
EventBuilderCore & | operator= (EventBuilderCore &&)=delete |
bool | initialize (fhicl::ParameterSet const &pset) override |
Processes the initialize request. More... | |
![]() | |
DataReceiverCore () | |
DataReceiverCore Constructor. | |
DataReceiverCore (DataReceiverCore const &)=delete | |
Copy Constructor is deleted. | |
virtual | ~DataReceiverCore () |
DataReceiverCore & | operator= (DataReceiverCore const &)=delete |
Copy Assignment operator is deleted. More... | |
DataReceiverCore (DataReceiverCore &&)=delete | |
DataReceiverCore & | operator= (DataReceiverCore &&)=delete |
bool | start (art::RunID id) |
Start the DataReceiverCore. More... | |
bool | stop () |
Stops the DataReceiverCore. More... | |
bool | pause () |
Pauses the DataReceiverCore. More... | |
bool | resume () |
Resumes the DataReceiverCore. More... | |
bool | shutdown () |
Shuts Down the DataReceiverCore. More... | |
bool | soft_initialize (fhicl::ParameterSet const &pset) |
Soft-Initializes the DataReceiverCore. No-Op. More... | |
bool | reinitialize (fhicl::ParameterSet const &pset) |
Reinitializes the DataReceiverCore. More... | |
bool | rollover_subrun (uint64_t boundary, uint32_t subrun) |
Rollover the subrun after the given event. More... | |
std::string | report (std::string const &which) const |
Send a report on a given run-time quantity. More... | |
bool | add_config_archive_entry (std::string const &key, std::string const &value) |
Add the specified key and value to the configuration archive list. More... | |
bool | clear_config_archive () |
Clear the configuration archive list. More... | |
Additional Inherited Members | |
![]() | |
bool | initializeDataReceiver (fhicl::ParameterSet const &pset, fhicl::ParameterSet const &data_pset, fhicl::ParameterSet const &metric_pset) |
Initialize the DataReceiverCore (should be called from initialize() overrides. More... | |
![]() | |
std::unique_ptr < DataReceiverManager > | receiver_ptr_ |
Pointer to the DataReceiverManager. | |
std::shared_ptr < SharedMemoryEventManager > | event_store_ptr_ |
Pointer to the SharedMemoryEventManager. | |
std::atomic< bool > | stop_requested_ |
Stop has been requested? | |
std::atomic< bool > | pause_requested_ |
Pause has been requested? | |
std::atomic< bool > | run_is_paused_ |
Pause has been successfully completed? | |
bool | verbose_ |
Whether to log transition messages. | |
fhicl::ParameterSet | art_pset_ |
ParameterSet sent to art process. | |
std::map< std::string, std::string > | config_archive_entries_ |
Additional strings to archive as part of the art configuration. | |
EventBuilderCore implements the state machine for the EventBuilder artdaq application. EventBuilderCore receives Fragment objects from the DataReceiverManager, and sends them to the EventStore.
Definition at line 16 of file EventBuilderCore.hh.
|
inline |
Destructor.
Definition at line 32 of file EventBuilderCore.hh.
|
overridevirtual |
Processes the initialize request.
pset | ParameterSet used to configure the EventBuilderCore |
* EventBuilderCore accepts the following Parameters: * "daq" (REQUIRED): FHiCL table containing DAQ configuration * "event_builder" (REQUIRED): FHiCL table containing Aggregator paramters * "fragment_count" (REQUIRED): Number of Fragment objects to collect before sending them to art * "inrun_recv_timeout_usec" (Default: 100000): Amount of time to wait for new Fragment objects while running * "endrun_recv_timeout_usec" (Default: 20000000): Amount of time to wait for additional Fragment objects at EndOfRun * "pause_recv_timeout_usec" (Default: 3000000): Amount of time to wait for additional Fragment objects at PauseRun * "verbose" (Default: true): Whether to print transition messages * "metrics": FHiCL table containing configuration for MetricManager *
Note that the "event_builder" ParameterSet is also used to configure the SharedMemoryEventManager. See that class' documentation for more information.
Implements artdaq::DataReceiverCore.
Definition at line 14 of file EventBuilderCore.cc.
|
delete |
Copy Assignment operator is deleted.