Skip to content

Commit

Permalink
fix: Downgrade RootParticleWriter log message (#2958)
Browse files Browse the repository at this point in the history
In ttbar / g4 jobs especially, we have **many** particles without hits. The `INFO` level seems excessive for these cases.
  • Loading branch information
paulgessinger authored Feb 20, 2024
1 parent d5d0890 commit fc75469
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Examples/Io/Root/src/RootParticleWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,9 @@ ActsExamples::ProcessCode ActsExamples::RootParticleWriter::writeT(
// get the sim hits
auto it = hitsPerParticle.find(particle.particleId());
if (it == hitsPerParticle.end()) {
ACTS_INFO("Could not find sim hits for "
<< particle.particleId() << " in event " << ctx.eventNumber);
ACTS_DEBUG("Could not find sim hits for "
<< particle.particleId() << " in event " << ctx.eventNumber);
m_numberOfHits.push_back(0);
} else {
// get the number of hits
m_numberOfHits.push_back(it->second);
Expand Down
2 changes: 1 addition & 1 deletion Examples/Python/tests/root_file_hashes.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
test_pythia8__pythia8_particles.root: 082eb3dbf142929df28acfec48d61f260e132cb103966d143f430eeeda89daa1
test_fatras__particles_simulation.root: 4ce0feb0ecb234143f418789a7a0d377f4a653d529c49bf999dda1878c50cee1
test_fatras__hits.root: 2e47d9ba55fa1b377f70c361107fe811e9880d14c42cb3d7a9cd4616a6f33a54
test_geant4__particles_simulation.root: 366281a37f60392aa8f27a33554d6c7b7f7fdc967a1f8c4c4d2e7426b0dbf78d
test_geant4__particles_simulation.root: 29fb3ed0c9ea48bc64cb6e4a83f4f6ca535415ab7a71051ca385943ce3dea31f
test_geant4__hits.root: 1ed8ad8d3081980d8eb5b3cdd940f862f03c7683b7dda1cf6fe6ac900ac510be
test_seeding__estimatedparams.root: 7aaf6f92aeced00aba73ffa7b44db76e1f6be9820f864d8a27646feee9e64544
test_seeding__performance_seeding.root: 992f9c611d30dde0d3f3ab676bab19ada61ab6a4442828e27b65ec5e5b7a2880
Expand Down

0 comments on commit fc75469

Please sign in to comment.