otsdaq_mu2e_calorimeter  v2_04_02
RawEventQueueReader.hh
1 #ifndef otsdaq_demo_ArtModules_detail_RawEventQueueReader_hh
2 #define otsdaq_demo_ArtModules_detail_RawEventQueueReader_hh
3 
4 #include <map>
5 #include <string>
6 
7 #include "artdaq/ArtModules/detail/RawEventQueueReader.hh"
8 
9 namespace ots
10 {
11 namespace detail
12 {
13 struct RawEventQueueReader : public artdaq::detail::RawEventQueueReader
14 {
16  RawEventQueueReader& operator=(RawEventQueueReader const&) = delete;
17 
18  RawEventQueueReader(fhicl::ParameterSet const& ps,
19  art::ProductRegistryHelper& help,
20  art::SourceHelper const& pm);
21 
22  RawEventQueueReader(fhicl::ParameterSet const& ps,
23  art::ProductRegistryHelper& help,
24  art::SourceHelper const& pm,
25  art::MasterProductRegistry&)
26  : RawEventQueueReader(ps, help, pm)
27  {
28  }
29 };
30 
31 } // namespace detail
32 } // namespace ots
33 
34 // Specialize an art source trait to tell art that we don't care about
35 // source.fileNames and don't want the files services to be used.
36 namespace art
37 {
38 template<>
39 struct Source_generator<ots::detail::RawEventQueueReader>
40 {
41  static constexpr bool value = true;
42 };
43 } // namespace art
44 
45 #endif /* artdaq_demo_ArtModules_detail_RawEventQueueReader_hh */