Skip to content

Implemented the use of CacheContainer for TgcPrepDataContainers (ATR-20620)

Mark Andrew Owen requested to merge markowen/athena:MO_TGCdatapred_r0216 into master

Detailed changes:

  • MuonPRDCacheCreator is updated to create caches for the four TgcPrepDataContainers.
  • TgcRdoToPrepDataToolCore is updated so that each PRD collection is filled before it is recorded into the container. This is done by having a map holding the PRD collections corresponding to a single TgcRdo. This works because each PRD collection is filled from only one TgcRdo. The filling of the AllBC collections is removed from the decodeHits, this is now done after the other collections are filled (in TgcRdoToPrepDataToolMT).
  • TgcRdoToPrepDataToolMT is updated to (optionally) use the Caches for the TgcPrepDataContainers. The code us updated to use the map mentioned above and the insertion of collections into the containers is done with the (hopefully) thread sage IDC_WriteHandle. The filling of the collections of the AllBC collections is also moved into the decode function (was more convenient to do it after all other collections were filled).
  • TgcRdoToPrepDataTool is updated for the changes in TgcRdoToPrepDataToolCore, but this is potentially not fully working any more.
  • MuonRdoDecodeConfig: update setting of cache name for TgcPrepDataContainers & enable use of TGC PRD cache for triggers running.
  • MuonRecoSequences.py: Require the TGC cache objects for TgcPrepDataContainers to be present in views, turn on access to the TGC PRD caches in TgcRdoToPrepDataToolMT.
Edited by Mark Andrew Owen

Merge request reports

Loading