Go to the source code of this file.
Definition at line 10 of file test_depofanout.cxx.
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);
33 IDepoFanout::output_vector outv;
34 bool ok = (*dfo)(depo, outv);
36 Assert(outv.size() == multiplicity);
const std::string instance
std::tuple< double, double, const reco::ClusterHit3D * > Point
Definitions used by the VoronoiDiagram algorithm.
Plugin * add(const std::string &plugin_name, const std::string &libname="")
Add a plugin. If libname is not given, try to derive it.