7 #include "cetlib/detail/wrapLibraryManagerException.h" 14 lm_.getSymbolByLibspec(libspec,
"moduleType", symbol);
17 cet::detail::wrapLibraryManagerException(
20 if (symbol ==
nullptr) {
23 <<
" has internal symbol definition problems: consult an expert.";
28 std::unique_ptr<art::Worker>
32 auto const& libspec = p.
pset_.
get<std::string>(
"module_type");
35 lm_.getSymbolByLibspec(libspec,
"make_worker", symbol);
38 cet::detail::wrapLibraryManagerException(
41 if (symbol ==
nullptr) {
44 <<
" has internal symbol definition problems: consult an expert.";
46 return std::unique_ptr<Worker>(symbol(p, md));
ModuleType moduleType(std::string const &libspec)
Worker *(WorkerParams const &, ModuleDescription const &) WorkerMaker_t
T get(std::string const &key) const
std::string const & getReleaseVersion()
ModuleType( ModuleTypeFunc_t)
fhicl::ParameterSet const pset_
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
std::unique_ptr< Worker > makeWorker(WorkerParams const &wp, ModuleDescription const &md)