Commit ecaa591e authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

PhotoMultiplierDigi.cpp: use PhotoMultiplierHit::energyDeposit for energy

parent cea98251
......@@ -91,7 +91,7 @@ public:
// calculate signal
for(const auto& ahit : sim) {
// quantum efficiency
if (!qe_pass(, m_rngUni())) {
if (!qe_pass(ahit.energyDeposit(), m_rngUni())) {
// cell id, time, signal amplitude
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment