diff --git a/performance/src/efficiency/finding_performance_writer.cpp b/performance/src/efficiency/finding_performance_writer.cpp index a21005fdcc..5a9cbc2703 100644 --- a/performance/src/efficiency/finding_performance_writer.cpp +++ b/performance/src/efficiency/finding_performance_writer.cpp @@ -174,7 +174,7 @@ void finding_performance_writer::write_common( // of the number of measurements assert(measurements.size() > 0u); if (particle_hit_counts.at(0).hit_counts / measurements.size() > - matching_ratio) { + m_cfg.matching_ratio) { const auto pid = particle_hit_counts.at(0).ptc.particle_id; match_counter[pid]++; } else { diff --git a/performance/src/efficiency/seeding_performance_writer.cpp b/performance/src/efficiency/seeding_performance_writer.cpp index 01fcae6423..31cd760852 100644 --- a/performance/src/efficiency/seeding_performance_writer.cpp +++ b/performance/src/efficiency/seeding_performance_writer.cpp @@ -77,7 +77,7 @@ void seeding_performance_writer::write( identify_contributing_particles(measurements, evt_map.meas_ptc_map); if (particle_hit_counts.at(0).hit_counts / measurements.size() > - matching_ratio) { + m_cfg.matching_ratio) { auto pid = particle_hit_counts.at(0).ptc.particle_id; match_counter[pid]++; }