Skip to content

Early exit in case the inputs are empty

Carlo Varni requested to merge cvarni/athena:EarlyExit into main

Just reordering the execute methods of some of our ACTS Tracking component in such a way that they return immediately in case the inputs are empty, while still saving output collections needed by downstream algorithms. Needless to say the output collections would be empty as well in this case.

In particular, the seeding algorithms does a lot of stuff before trying to compute the seeds. In this case, all of this is avoided.

Merge request reports