Skip to content

Commit

Permalink
Backup
Browse files Browse the repository at this point in the history
  • Loading branch information
beomki-yeo committed Oct 9, 2024
1 parent 0e15dad commit 405a8e7
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions performance/src/efficiency/seeding_performance_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,15 @@ void seeding_performance_writer::write(

std::vector<particle_hit_count> particle_hit_counts;

const auto measurements = sd.get_measurements(spacepoints_view);

if (!evt_data.m_found_meas_to_ptc_map.empty()) {
particle_hit_counts = identify_contributing_particles(
sd.get_measurements(spacepoints_view),
evt_data.m_found_meas_to_ptc_map);
measurements, evt_data.m_found_meas_to_ptc_map);
} else {
particle_hit_counts = identify_contributing_particles(
sd.get_measurements(spacepoints_view),
evt_data.m_meas_to_ptc_map);
const auto measurements = sd.get_measurements(spacepoints_view);

// Check which particle matches this seed.
std::vector<particle_hit_count> particle_hit_counts =
identify_contributing_particles(measurements, evt_map.meas_ptc_map);
measurements, evt_data.m_meas_to_ptc_map);
}

if (particle_hit_counts.size() > measurements.size() / 2) {
auto pid = particle_hit_counts.at(0).ptc.particle_id;
Expand Down

0 comments on commit 405a8e7

Please sign in to comment.