artdaq  v3_09_01
artdaq::GenericFragmentSimulator::Config Struct Reference

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

#include <artdaq/DAQdata/GenericFragmentSimulator.hh>

Public Attributes

fhicl::Atom< size_t > content_selection {fhicl::Name{"content_selection"}, fhicl::Comment{"What type of data to fill in generated Fragment payloads"}, 0}
 
fhicl::Atom< size_t > payload_size {fhicl::Name{"payload_size"}, fhicl::Comment{"The size (in words) of the Fragment payload"}, 10240}
 "payload_size" (Default: 10240) : The size(in words) of the Fragment payload
 
fhicl::Atom< bool > want_random_payload_size {fhicl::Name{"want_random_payload_size"}, fhicl::Comment{"Whether payload size should be sampled from a random distribution"}, false}
 "want_random_payload_size" (Default: false) : Whether payload size should be sampled from a random distribution
 
fhicl::Atom< int64_t > random_seed {fhicl::Name{"random_seed"}, fhicl::Comment{"Random seed for random number distributions"}, 314159}
 "random_seed" (Default: 314159) : Random seed for random number distributions
 
fhicl::Atom< size_t > fragments_per_event {fhicl::Name{"fragments_per_event"}, fhicl::Comment{"The number of Fragment objects to generate for each sequence ID"}, 5}
 "fragments_per_event" (Default: 5) : The number of Fragment objects to generate for each sequence ID
 
fhicl::Atom
< Fragment::fragment_id_t > 
starting_fragment_id {fhicl::Name{"starting_fragment_id"}, fhicl::Comment{"The first Fragment ID handled by this GenericFragmentSimulator."}, 0}
 

Detailed Description

Configuration of the GenericFragmentSimulator. May be used for parameter validation

Definition at line 32 of file GenericFragmentSimulator.hh.

Member Data Documentation

fhicl::Atom<size_t> artdaq::GenericFragmentSimulator::Config::content_selection {fhicl::Name{"content_selection"}, fhicl::Comment{"What type of data to fill in generated Fragment payloads"}, 0}

"content_selection" (Default: 0) : What type of data to fill in generated Fragment payloads

  • 0 : Use uninitialized memory
  • 1 : Use the Fragment ID
  • 2 : Use random data
  • 3 : Use the word 0xDEADBEEFDEADBEEF

Definition at line 39 of file GenericFragmentSimulator.hh.

fhicl::Atom<Fragment::fragment_id_t> artdaq::GenericFragmentSimulator::Config::starting_fragment_id {fhicl::Name{"starting_fragment_id"}, fhicl::Comment{"The first Fragment ID handled by this GenericFragmentSimulator."}, 0}

"starting_fragment_id" (Default: 0) : The first Fragment ID handled by this GenericFragmentSimulator.

  • Fragment IDs will be starting_fragment_id to starting_fragment_id + fragments_per_event.

Definition at line 50 of file GenericFragmentSimulator.hh.


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