Skip to content

Commit

Permalink
fix: "Immutable objects can only be added to subset collections" exce…
Browse files Browse the repository at this point in the history
…ption
  • Loading branch information
wdconinc committed May 22, 2024
1 parent bd07be1 commit 01e1018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JugReco/src/components/ImagingPixelReco.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class ImagingPixelReco : public GaudiAlgorithm {
pos.x() / m_lUnit, pos.y() / m_lUnit, pos.z() / m_lUnit
);

hits.push_back(edm4eic::CalorimeterHit{id, // cellID
hits.push_back(edm4eic::MutableCalorimeterHit{id, // cellID
static_cast<float>(energy), // energy
0, // energyError
static_cast<float>(time), // time
Expand Down

0 comments on commit 01e1018

Please sign in to comment.