Skip to content

Commit

Permalink
Fix pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Jun 23, 2024
1 parent b8dfd14 commit 78609f6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/src/PseudoRecoAlgorithm.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014-2024 Key4hep-Project.
* Copyright (c) 2019-2024 Key4hep-Project.
*
* This file is part of Key4hep.
* See https://key4hep.github.io/key4hep-doc/ for further info.
Expand Down Expand Up @@ -38,7 +38,9 @@ struct PseudoRecoAlgorithm final
for (const auto& particle : input) {
auto new_particle = coll_out.create();
new_particle.setCharge(particle.getCharge());
new_particle.setMomentum({static_cast<float>(particle.getMomentum()[0]), static_cast<float>(particle.getMomentum()[1]), static_cast<float>(particle.getMomentum()[2])});
new_particle.setMomentum({static_cast<float>(particle.getMomentum()[0]),
static_cast<float>(particle.getMomentum()[1]),
static_cast<float>(particle.getMomentum()[2])});
new_particle.setEnergy(particle.getEnergy());
}
return coll_out;
Expand Down

0 comments on commit 78609f6

Please sign in to comment.