Skip to content

Safe calculation of muon crossings

This MR removes the muon crossing factor to estimate the number of crossings. Instead, it precalculates the number of crossings by running another kernel.

  • muon_populate_tile_and_tdc now calculates the number of crossings. It precalculates dev_muon_tile_used_t and dev_station_ocurrences_sizes_t.
  • muon_station_ocurrence_prefix_sum runs right after muon_populate_tile_and_tdc and before muon_add_coords_crossing_maps.
  • Now, muon_add_coords_crossing_maps knows how many hits there are exactly.

Closes #369 (closed).

Merge request reports