Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 13, 2024
1 parent f84096f commit 39b8683
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/repr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,13 @@ std::ostream& repr_ostream(std::ostream& os, const HepMC3::GenEvent& x) {
// incomplete:
// missing comparison of GenHeavyIon, GenPdfInfo, GenCrossSection

os << "<GenEvent " << "momentum_unit=" << x.momentum_unit() << ", "
<< "length_unit=" << x.length_unit() << ", " << "event_number=" << x.event_number()
<< ", " << "particles=" << x.particles().size() << ", "
<< "vertices=" << x.vertices().size() << ", " << "run_info=";
os << "<GenEvent "
<< "momentum_unit=" << x.momentum_unit() << ", "
<< "length_unit=" << x.length_unit() << ", "
<< "event_number=" << x.event_number() << ", "
<< "particles=" << x.particles().size() << ", "
<< "vertices=" << x.vertices().size() << ", "
<< "run_info=";
repr_ostream(os, x.run_info()) << ">";
return os;
}

0 comments on commit 39b8683

Please sign in to comment.