17 : m_multiplicity(multiplicity)
22 Gen::DepoSetFanout::~DepoSetFanout()
30 cfg[
"multiplicity"] = (
int)m_multiplicity;
36 int m = get<int>(
cfg,
"multiplicity", (
int)m_multiplicity);
38 log->critical(
"DepoSetFanout multiplicity must be positive");
45 std::vector<std::string> Gen::DepoSetFanout::output_types()
48 std::vector<std::string> ret(m_multiplicity, tname);
57 log->debug(
"DepoSetFanout ({}) fanout data", in->ident());
60 log->debug(
"DepoSetFanout fanout EOS");
63 outv.resize(m_multiplicity);
64 for (
size_t ind=0; ind<m_multiplicity; ++ind) {
boost::error_info< struct tag_errmsg, std::string > errmsg
WIRECELL_FACTORY(DepoSetFanout, WireCell::Gen::DepoSetFanout, WireCell::IDepoSetFanout, WireCell::IConfigurable) using namespace WireCell
std::vector< output_pointer > output_vector
logptr_t logger(std::string name)
Thrown when a wrong value has been encountered.
void log(source_loc source, level::level_enum lvl, const char *fmt, const Args &...args)
std::shared_ptr< const IDepoSet > input_pointer
Json::Value Configuration