Skip to content

Acts+Athena JO: Tracking component configurer

Carlo Varni requested to merge cvarni/athena:TrackingComponentConfigurer into master

This is a follow-up MR concerning the Tracking Component scheduling (Athena + Acts). A new python class is being introduce to configure the proper algorithm workflow according to the ConfigFlags. The computation is in only one place, and adding additional workflows would be trivial.

The JO simply retrieves booleans from this and schedule the algorithms properly

This is much cleaner than the current implementation in which we have monstrosities such as:

        from InDetConfig.ITkConfigFlags  import TrackingComponent
        useActsSiSpacePointSeedMaker = TrackingComponent.AthenaChain not in flags.ITk.Tracking.recoChain and \
                                       TrackingComponent.ValidateActsClusters not in flags.ITk.Tracking.recoChain and \
                                       (TrackingComponent.ValidateActsSpacePoints in flags.ITk.Tracking.recoChain or \
                                        TrackingComponent.ValidateActsSeeds in flags.ITk.Tracking.recoChain)

A very simple unit test is also added

/cc @jmasik

Merge request reports