Line data Source code
1 : #include "artdaq/ArtModules/ArtdaqInputHelper.hh"
2 : #include "artdaq/ArtModules/detail/ListenTransferWrapper.hh"
3 :
4 : #include "art/Framework/Core/InputSourceMacros.h"
5 : #include "art/Framework/IO/Sources/Source.h"
6 :
7 : namespace art {
8 : /**
9 : * \brief Trait definition (must precede source typedef).
10 : */
11 : template<>
12 : struct Source_generator<ArtdaqInputHelper<artdaq::ListenTransferWrapper>>
13 : {
14 : static constexpr bool value = true; ///< Dummy variable
15 : };
16 :
17 : /**
18 : * \brief TransferInput is an art::Source using the artdaq::ListenTransferWrapper class as the data source
19 : */
20 : using TransferInput = art::Source<ArtdaqInputHelper<artdaq::ListenTransferWrapper>>;
21 : } // namespace art
22 :
23 0 : DEFINE_ART_INPUT_SOURCE(art::TransferInput)
|