1 #include "artdaq/Generators/makeCommandableFragmentGenerator.hh"
3 #include "cetlib/BasicPluginFactory.h"
5 std::unique_ptr<artdaq::CommandableFragmentGenerator>
7 fhicl::ParameterSet
const& ps)
9 static cet::BasicPluginFactory bpf(
"generator",
"make");
11 return bpf.makePlugin<std::unique_ptr<artdaq::CommandableFragmentGenerator>,
12 fhicl::ParameterSet
const&>(generator_plugin_spec, ps);
std::unique_ptr< CommandableFragmentGenerator > makeCommandableFragmentGenerator(std::string const &generator_plugin_spec, fhicl::ParameterSet const &ps)
Load a CommandableFragmentGenerator plugin.