Skip to content

Commit

Permalink
CalorimeterHitReco: fix for latest podio
Browse files Browse the repository at this point in the history
In file included from
JugReco/src/components/CalorimeterHitReco.cpp:29:

include/edm4eic/CalorimeterHitCollection.h:164:8:
note: candidate: 'void
edm4eic::CalorimeterHitCollection::push_back(edm4eic::MutableCalorimeterHit)'
  164 |   void push_back(MutableCalorimeterHit object);
      |        ^~~~~~~~~

include/edm4eic/CalorimeterHitCollection.h:166:8:
note: candidate: 'void
edm4eic::CalorimeterHitCollection::push_back(edm4eic::CalorimeterHit)'
  166 |   void push_back(CalorimeterHit object);
      |        ^~~~~~~~~
  • Loading branch information
veprbl committed Dec 25, 2023
1 parent 6bd2ce9 commit 8f771ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions JugReco/src/components/CalorimeterHitReco.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class CalorimeterHitReco : public GaudiAlgorithm {
pos.x() / m_lUnit, pos.y() / m_lUnit, pos.z() / m_lUnit
);

hits.push_back({
hits.push_back(edm4eic::CalorimeterHit({
rh.getCellID(), // cellID
energy, // energy
0, // @TODO: energy error
Expand All @@ -232,7 +232,7 @@ class CalorimeterHitReco : public GaudiAlgorithm {
sid,
lid,
local_position, // local pos
});
}));
}

return StatusCode::SUCCESS;
Expand Down

0 comments on commit 8f771ec

Please sign in to comment.