artdaq_demo  v2_10_00
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
RawEventQueueReader.cc
1 #include "artdaq-demo/ArtModules/detail/RawEventQueueReader.hh"
2 #include "artdaq-core-demo/Overlays/FragmentType.hh"
3 
4 #include <messagefacility/MessageLogger/MessageLogger.h>
5 
7  art::ProductRegistryHelper& help,
8  art::SourceHelper const& pm)
9  : artdaq::detail::RawEventQueueReader(ps, help, pm)
10 {
11  mf::LogInfo("RawEventQueueReader") << "DemoInput Constructor!";
12  for (auto& name : names)
13  {
14  mf::LogInfo("RawEventQueueReader") << "Adding fragment type " << name << " to fragment_type_map, and registering with the ProductRegistryHelper";
15  fragment_type_map_[toFragmentType(name)] = name;
16  help.reconstitutes<artdaq::Fragments, art::InEvent>(pretend_module_name, name);
17  }
18 }
RawEventQueueReader(RawEventQueueReader const &)=delete
Copy Constructor is deleted.
A derived class of artdaq::detail::RawEventQueueReader which knows about the artdaq_core_demo Fragmen...