$treeview $search $mathjax $extrastylesheet
artdaq  v3_04_01
$projectbrief
$projectbrief
$searchbox

artdaq::SharedMemoryEventManager::Config Struct Reference

Configuration of the SharedMemoryEventManager. May be used for parameter validation. More...

#include <artdaq/DAQrate/SharedMemoryEventManager.hh>

List of all members.

Public Attributes

fhicl::TableFragment
< artdaq::RequestSender::Config
requestSenderConfig
 "stale_buffer_timeout_usec" (Default: event_queue_wait_time * 1, 000, 000) : Maximum amount of time elapsed before a buffer is marked as abandoned.Time is reset each time an operation is performed on the buffer.

Detailed Description

Configuration of the SharedMemoryEventManager. May be used for parameter validation.

Definition at line 99 of file SharedMemoryEventManager.hh.


Member Data Documentation

"stale_buffer_timeout_usec" (Default: event_queue_wait_time * 1, 000, 000) : Maximum amount of time elapsed before a buffer is marked as abandoned.Time is reset each time an operation is performed on the buffer.

"max_event_size_bytes" REQUIRED: Maximum event size(all Fragments), in bytes Either max_fragment_size_bytes or max_event_size_bytes must be specified "overwite_mode" (Default: false): Whether new data is allowed to overwrite buffers in the "Full" state "restart_crashed_art_processes" (Default: true) : Whether to automatically restart art processes that fail for any reason "shared_memory_key" (Default 0xBEE70000 + PID) : Key to use for shared memory access "buffer_count" REQUIRED: Number of events in the Shared Memory(incomplete + pending art) "max_subrun_lookup_table_size" (Default: 100): Maximum number of entries in the subrun rollover history "max_fragment_size_bytes" REQURIED: Maximum Fragment size, in bytes Either max_fragment_size_bytes or max_event_size_bytes must be specified "event_queue_wait_time" (Default: 5) : Amount of time(in seconds) an event can exist in shared memory before being released to art.Used as input to default parameter of "stale_buffer_timeout_usec". "broadcast_mode" (Default: false) : When true, buffers are not marked Empty when read, but return to Full state.Buffers are overwritten in order received. "art_analyzer_count" (Default: 1) : Number of art procceses to start "expected_fragments_per_event" (REQUIRED) : Number of Fragments to expect per event "maximum_oversize_fragment_count" (Default: 1): Maximum number of over-size Fragments to drop before throwing an exception. Default is 1, which means to throw an exception if any over-size Fragments are dropped. Set to 0 to disable. "update_run_ids_on_new_fragment" (Default: true) : Whether the run and subrun ID of an event should be updated whenever a Fragment is added. "use_sequence_id_for_event_number" (Default: true): Whether to use the artdaq Sequence ID (true) or the Timestamp (false) for art Event numbers "max_subrun_event_map_length" (Default: 100): The maximum number of entries to store in the sequence ID-SubRun ID lookup table "send_init_fragments" (Default: true): Whether Init Fragments are expected to be sent to art. If true, a Warning message is printed when an Init Fragment is requested but none are available. "incomplete_event_report_interval_ms" (Default: -1): Interval at which an incomplete event report should be written "fragment_broadcast_timeout_ms" (Default: 3000): Amount of time broadcast fragments should live in the broadcast shared memory segment A "Broadcast shared memory segment" is used for all system-level fragments, such as Init, Start/End Run, Start/End Subrun and EndOfData "minimum_art_lifetime_s" (Default: 2 seconds): Amount of time that an art process should run to not be considered "DOA" "expected_art_event_processing_time_us" (Default: 100000 us): During shutdown, SMEM will wait for this amount of time while it is checking that the art threads are done reading buffers. (TUNING: Should be slightly longer than the mean art processing time, but not so long that the Stop transition times out) "broadcast_shared_memory_key" (Default: 0xCEE7000 + PID): Key to use for broadcast shared memory access "broadcast_buffer_count" (Default: 10): Buffers in the broadcast shared memory segment "broadcast_buffer_size" (Default: 0x100000): Size of the buffers in the broadcast shared memory segment "use_art" (Default: true): Whether to start and manage art threads (Sets art_analyzer count to 0 and overwrite_mode to true when false) "manual_art" (Default: false): Prints the startup command line for the art process so that the user may (for example) run it in GDB or valgrind Configuration of the RequestSender. See artdaq::RequestSender::Config

Definition at line 103 of file SharedMemoryEventManager.hh.


The documentation for this struct was generated from the following file:

Generated on 29 Mar 2019 for artdaq by  doxygen 1.6.1