Draft: CalorimeterHitDigi conversion
Still hung up on
In file included from /home/wdconinc/EIC/juggler/external/algorithms/calorimetry/src/CalorimeterHitDigi.cpp:13:
/home/wdconinc/EIC/juggler/external/algorithms/calorimetry/include/algorithms/calorimetry/CalorimeterHitDigi.h: In constructor ‘algorithms::calorimetry::CalorimeterHitDigi::CalorimeterHitDigi(std::string_view)’:
/home/wdconinc/EIC/juggler/external/algorithms/calorimetry/include/algorithms/calorimetry/CalorimeterHitDigi.h:47:66: error: no matching function for call to ‘algorithms::Algorithm<algorithms::Input<edm4hep::SimCalorimeterHitCollection>, algorithms::Output<edm4eic::RawCalorimeterHitCollection> >::Algorithm(<brace-enclosed initializer list>)’
47 | {"outputHitCollection", "outputHits"}} {};
| ^
In file included from /home/wdconinc/EIC/juggler/external/algorithms/calorimetry/include/algorithms/calorimetry/CalorimeterHitDigi.h:13:
/home/wdconinc/EIC/juggler/external/algorithms/core/include/algorithms/algorithm.h:42:3: note: candidate: ‘algorithms::Algorithm<InputType, OutputType>::Algorithm(std::string_view, const InputNames&, const OutputNames&) [with InputType = algorithms::Input<edm4hep::SimCalorimeterHitCollection>; OutputType = algorithms::Output<edm4eic::RawCalorimeterHitCollection>; std::string_view = std::basic_string_view<char>; InputNames = std::array<const std::__cxx11::basic_string<char>, 1>; OutputNames = std::array<const std::__cxx11::basic_string<char>, 1>]’
42 | Algorithm(std::string_view name, const InputNames& input_names, const OutputNames& output_names)
| ^~~~~~~~~
/home/wdconinc/EIC/juggler/external/algorithms/core/include/algorithms/algorithm.h:42:54: note: no known conversion for argument 2 from ‘<brace-enclosed initializer list>’ to ‘const algorithms::Algorithm<algorithms::Input<edm4hep::SimCalorimeterHitCollection>, algorithms::Output<edm4eic::RawCalorimeterHitCollection> >::InputNames&’ {aka ‘const std::array<const std::__cxx11::basic_string<char>, 1>&’}
42 | Algorithm(std::string_view name, const InputNames& input_names, const OutputNames& output_names)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/home/wdconinc/EIC/juggler/external/algorithms/calorimetry/include/algorithms/calorimetry/CalorimeterHitDigi.h: At global scope:
/home/wdconinc/EIC/juggler/external/algorithms/calorimetry/include/algorithms/calorimetry/CalorimeterHitDigi.h:93:1: error: expected constructor, destructor, or type conversion before ‘}’ token
93 | } // namespace algoriths::calorimetry
| ^
Edited by Wouter Deconinck