Line data Source code
1 : #include "artdaq/Generators/makeCommandableFragmentGenerator.hh"
2 :
3 : #include "cetlib/BasicPluginFactory.h"
4 :
5 : std::unique_ptr<artdaq::CommandableFragmentGenerator>
6 0 : artdaq::makeCommandableFragmentGenerator(std::string const& generator_plugin_spec,
7 : fhicl::ParameterSet const& ps)
8 : {
9 0 : static cet::BasicPluginFactory bpf("generator", "make");
10 :
11 : return bpf.makePlugin<std::unique_ptr<artdaq::CommandableFragmentGenerator>,
12 0 : fhicl::ParameterSet const&>(generator_plugin_spec, ps);
13 : }
|