Skip to content

FPGATrackSim: allow running pattern rec without fit constant/sector banks

The sector/fit constant bank is effectively only used during track scoring. If track scoring is turned off (by setting the flag tracking=False) we should not need fit constant and pattern/sector files, or the sector bank service at all. At the moment, however, that's not the case because the sectors get assigned automatically during pattern recognition (the Hough transform).

This commit fixes this. The bank service is only configured now if tracking=True, and the various pattern recognition tools (the 1D Hough and the 2D Hough, as well as the eta pattern and spacepoint road filters) will now not try to load it, meaning that the fit constant and sector bank files are no longer needed.

CC @jahreda, @tbold, @lipeles

Merge request reports