Skip to content
Snippets Groups Projects
  1. Sep 18, 2024
    • James Catmore's avatar
      Adjustment to TruthNavigationDecorator to avoid ExcStoreLocked in MT · 81a5456e
      James Catmore authored
      ATLASG-2787
      
      This is an attempt to fix a crash when PHYS is built in MT. In the current code an `isAvailable` check is made on a decorator called `parent_decorator` for a given particle/particle container, but no such check is done for the children counterpart. This leads to crashes of the following form when AthenaMT is used:
      
      ```
      Derivation 13:42:18 PHYS_MCTruthNavigationDecoratorKernel                323     1   FATAL  Standard std::exception is caught
      Derivation 13:42:18 PHYS_MCTruthNavigationDecoratorKernel                323     1   ERROR SG::ExcStoreLocked: Attempted to modify auxiliary data in a locked store: `::childLinks' (27)
      ```
      
      By adding a second loop for doing the check also on the children, the crash is avoided. This will add a small performance penalty.
      81a5456e
  2. Sep 17, 2024
  3. Sep 16, 2024
Loading