Skip to content

Commit

Permalink
Set the contribution weight to 1.0
Browse files Browse the repository at this point in the history
This seems to be the only value in actual use
  • Loading branch information
tmadlener committed Nov 6, 2023
1 parent d15413d commit ef91b1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ namespace EDM4hep2LCIOConv {
for (const auto& edm_calohit : edm_cluster.getHits()) {
if (edm_calohit.isAvailable()) {
if (const auto lcio_calohit = k4EDM4hep2LcioConv::detail::mapLookupFrom(edm_calohit, update_pairs.caloHits)) {
lcio_cluster->addHit(lcio_calohit.value(), 0);
lcio_cluster->addHit(lcio_calohit.value(), 1.0);
}
}
}
Expand Down

0 comments on commit ef91b1b

Please sign in to comment.