Line data Source code
1 : #include "mfextensions/Receivers/makeMVReceiver.hh"
2 :
3 : #include "cetlib/BasicPluginFactory.h"
4 : #include "fhiclcpp/ParameterSet.h"
5 : #include "mfextensions/Receivers/ReceiverMacros.hh"
6 :
7 0 : std::unique_ptr<mfviewer::MVReceiver> mfviewer::makeMVReceiver(std::string const& receiver_plugin_spec,
8 : fhicl::ParameterSet const& ps)
9 : {
10 0 : static cet::BasicPluginFactory bpf("receiver", "make");
11 :
12 0 : return bpf.makePlugin<std::unique_ptr<mfviewer::MVReceiver>, fhicl::ParameterSet const&>(receiver_plugin_spec, ps);
13 : }
|