artdaq  v3_07_02
NetMonInput_source.cc
1 #include "artdaq/ArtModules/ArtdaqInput.hh"
2 #include "artdaq/ArtModules/NetMonWrapper.hh"
3 
7 namespace art {
11 template<>
12 struct Source_generator<ArtdaqInput<NetMonWrapper>>
13 {
14  static constexpr bool value = true;
15 };
16 
17 // Source declaration.
21 typedef art::Source<ArtdaqInput<NetMonWrapper>> NetMonInput;
22 } // namespace art
23 
24 DEFINE_ART_INPUT_SOURCE(art::NetMonInput)
This class wraps NetMonTransportService so that it can act as an ArtdaqInput template class...
This template class provides a unified interface for reading data into art.
Definition: ArtdaqInput.hh:72
art::Source< ArtdaqInput< NetMonWrapper > > NetMonInput
NetMonInput is an art::Source using an ArtdaqInput-wrapped NetMonWrapper.