Skip to content

Commit e2ca7e7

Browse files
committed
Ensure total_*_contribution printed in trace
1 parent 0e27704 commit e2ca7e7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/algorithms/reco/Truthiness.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@ void Truthiness::process(const Truthiness::Input& input,
149149
// Report final truthiness
150150
debug("Event truthiness: {:.6f} (from {} associations, {} unassociated MC, {} unassociated RC)",
151151
truthiness, associations->size(), unassociated_mc_count, unassociated_rc_count);
152+
trace(" Total PID contribution: {:.6f}", total_pid_contribution);
153+
trace(" Total energy contribution: {:.6f}", total_energy_contribution);
154+
trace(" Total momentum contribution: {:.6f}", total_momentum_contribution);
152155

153156
#if __has_include(<edm4eic/Truthiness.h>)
154157
// Create output collection if available

0 commit comments

Comments
 (0)