1 #ifndef artdaq_demo_Generators_ToySimulator_hh
2 #define artdaq_demo_Generators_ToySimulator_hh
9 #include "fhiclcpp/fwd.h"
10 #include "artdaq-core/Data/Fragment.hh"
11 #include "artdaq/Generators/CommandableFragmentGenerator.hh"
12 #include "artdaq-core-demo/Overlays/ToyFragment.hh"
13 #include "artdaq-core-demo/Overlays/FragmentType.hh"
15 #include "ToyHardwareInterface/ToyHardwareInterface.hh"
76 void start()
override;
89 void stopNoMutex()
override {}
91 std::unique_ptr<ToyHardwareInterface> hardware_interface_;
94 int rollover_subrun_interval_;
103 char* readout_buffer_;
105 FragmentType fragment_type_;
107 int generated_fragments_per_event_;
108 bool exception_on_config_;
109 bool dies_on_config_;
detail::RawFragmentHeader::timestamp_t timestamp_t
DistributionType
Allow for the selection of output distribution.
std::list< FragmentPtr > FragmentPtrs
ToySimulator(fhicl::ParameterSet const &ps)
ToySimulator Constructor.
virtual ~ToySimulator()
Shutdown the ToySimulator.
ToySimulator is a simple type of fragment generator intended to be studied by new users of artdaq as ...