Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • Project Juggler Project Juggler
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 25
    • Merge requests 25
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • EIC
  • Project JugglerProject Juggler
  • Merge requests
  • !470

Draft: CalorimeterHitDigi conversion

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Wouter Deconinck requested to merge algorithms-integration-calorimeter-hit-digi into main Sep 23, 2022
  • Overview 1
  • Commits 38
  • Pipelines 0
  • Changes 35

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 Sep 25, 2022 by Wouter Deconinck
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: algorithms-integration-calorimeter-hit-digi