13 pm.
add(
"WireCellGen");
15 const size_t multiplicity = 6;
19 auto icfg = Factory::lookup<IConfigurable>(df_tn);
20 auto cfg = icfg->default_configuration();
21 cfg[
"multiplicity"] = (
int)multiplicity;
25 auto dfo = Factory::find_tn<IDepoFanout>(df_tn);
27 Assert(dfo->output_types().size() == multiplicity);
30 auto realdepo = std::make_shared<SimpleDepo>(0,
Point(0,0,0), 1.0,
nullptr, 0, 0, ident);
34 bool ok = (*dfo)(depo, outv);
36 Assert(outv.size() == multiplicity);
D3Vector< double > Point
A 3D Cartesian point in double precision.
std::vector< pointer > vector
static PluginManager & instance()
std::vector< output_pointer > output_vector
Plugin * add(const std::string &plugin_name, const std::string &libname="")
Add a plugin. If libname is not given, try to derive it.