Skip to content

[ATR-20088] Move trigger bit creation to online

This MR moves the creation of trigger bits from its current location of RDOtoRDOTrigger (MC) or RAWtoESD (data) and puts it in the online world.

  • HLT Menu creation python produces Menu JSON using name specified in TriggerFlags and TriggerConfigClags (CA based)
  • TriggerBitsMakerTool reads this JSON-derived config in start from the DetStore and internally maps Chain IDs to Chain Counters.
  • (If for online, at this point TriggerBitsMakerTool & its internal map would be dumped to the setup JSON)
  • The TriggerBitsMakerTool runs as part of the HLTResultMTMaker. It reads the HLTNav_Summary and fills the PassedRaw, Prescaled and Rerun bitmaps.
  • The three HLT bitmaps are serialised, one after the other, in the HLTResultMT
  • The RAW data are read out
  • The TrigDecisionMakerMT changes its role for data, instead of making the bits, it now fetches the HLTResultMT and copies the three bitmaps into an xAOD::TrigDecision. For MC, it uses the same TriggerBitsMakerTool as is used to fill the HLTResultMT.

What is then further needed is the reading of the new config JSON in an offline environment by the Trigger Decision Tool. This still needs to be added before this MR can go in.

First though I need to fix a crash (will post on JIRA)

cc @mark, @stelzer, @tbold, @rbielski, @dzanzi, @fwinkl

Edited by Tim Martin

Merge request reports