Skip to content

Add function decorator

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

Adding a Python's Decorator (acts_sequence_configuration) to be used for all the functions that will prepare the sequence of our ACTS algorithms. The wrapper will take care of setting the OutputLevel to the desired value and change all the sequence names to the correct value (e.g. supporting Serial and MT Athena).

Moving all of this in the decoration for reducing the copy-paste of the same piece of code: less maintenance and less bug-prone

Merge request reports

Loading