Skip to content

Commit

Permalink
Update src/algorithms/digi/PhotoMultiplierHitDigi.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
veprbl authored Apr 29, 2024
1 parent 9fd50ea commit 1f1790e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/algorithms/digi/PhotoMultiplierHitDigi.cc
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ void PhotoMultiplierHitDigi::process(
if(!data.sim_hit_indices.empty()) {
for(auto i : data.sim_hit_indices) {
auto hit_assoc = hit_assocs->create();
hit_assoc.setWeight(1.0 / data.size()); // not used
hit_assoc.setWeight(1.0 / data.sim_hit_indices.size()); // not used
hit_assoc.setRawHit(raw_hit);
#if EDM4EIC_VERSION_MAJOR >= 6
hit_assoc.setSimHit(sim_hits->at(i));
Expand Down

0 comments on commit 1f1790e

Please sign in to comment.