00001 #ifndef artdaq_core_Generators_makeFragmentGenerator_hh 00002 #define artdaq_core_Generators_makeFragmentGenerator_hh 00003 // Using LibraryManager, find the correct library and return an instance 00004 // of the specified generator. 00005 00006 #include "fhiclcpp/fwd.h" 00007 00008 #include <memory> 00009 #include <string> 00010 00011 namespace artdaq 00012 { 00013 class FragmentGenerator; 00014 00021 std::unique_ptr<FragmentGenerator> 00022 makeFragmentGenerator(std::string const& generator_plugin_spec, 00023 fhicl::ParameterSet const& ps); 00024 } 00025 #endif /* artdaq_core_Generators_makeFragmentGenerator_hh */