1 #include "otsdaq-demo/ArtModules/detail/RawEventQueueReader.hh"
2 #include "otsdaq-demo/Overlays/FragmentType.hh"
4 #include <messagefacility/MessageLogger/MessageLogger.h>
6 ots::detail::RawEventQueueReader::RawEventQueueReader(fhicl::ParameterSet
const& ps,
7 art::ProductRegistryHelper& help,
8 art::SourceHelper
const& pm)
9 : artdaq::detail::RawEventQueueReader(ps, help, pm)
11 TLOG(TLVL_INFO,
"RawEventQueueReader") <<
"OtsInput Constructor!";
12 for(
auto& name : names)
14 TLOG(TLVL_INFO,
"RawEventQueueReader")
15 <<
"Adding fragment type " << name
16 <<
" to fragment_type_map, and registering with the "
17 "ProductRegistryHelper";
18 fragment_type_map_[toFragmentType(name)] = name;
19 help.reconstitutes<artdaq::Fragments, art::InEvent>(pretend_module_name, name);