36 TLOG() <<
"Choosing specializations for SourceModel for output connection "
37 <<
" [uid:" << conf->
UID() <<
" , data_type:" << datatype <<
']';
39 if (datatype.find(
"WIBEthFrame") != std::string::npos) {
41 auto source_model = std::make_shared<SourceModel<fdreadoutlibs::types::DUNEWIBEthTypeAdapter>>();
44 source_model->set_sink_config(conf);
49 }
else if (datatype.find(
"TDEEthFrame") != std::string::npos) {
52 auto source_model = std::make_shared<SourceModel<fdreadoutlibs::types::TDEEthTypeAdapter>>();
55 source_model->disable_daq_protocol_checks();
58 source_model->set_sink_config(conf);
62 }
else if (datatype.find(
"DAPHNEEthFrame") != std::string::npos) {
64 auto source_model = std::make_shared<SourceModel<fdreadoutlibs::types::DAPHNEEthTypeAdapter>>();
67 source_model->set_sink_config(conf);
70 }
else if (datatype.find(
"DAPHNEEthStreamFrame") != std::string::npos) {
72 auto source_model = std::make_shared<SourceModel<fdreadoutlibs::types::DAPHNEEthStreamTypeAdapter>>();
75 source_model->set_sink_config(conf);