postInclude for transforms using multiple SGs
- Mar 13, 2020
-
-
Vincent Pascuzzi authored
For transforms using multiple `StoreGate`s -- e.g. `FastChain_tf.py` with pile-up -- we need to point to the correct instance to retrieve correctly hard-scatter and pile-up events. This `postInclude` configures `SimHitToolBase`-derived objects to use the `OriginalEvent_SG` collection for hard-scatter events by overriding the `AthAlgTool::EvtStore` property. Fixes ATLASSIM-4458. Depends on !31175 `MuonHitTestTool`-derived classes to return successfully.
-