[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
andTriggerConfigClags
(CA based) -
TriggerBitsMakerTool
reads this JSON-derived config instart
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 theHLTResultMTMaker
. It reads theHLTNav_Summary
and fills thePassedRaw
,Prescaled
andRerun
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 theHLTResultMT
and copies the three bitmaps into anxAOD::TrigDecision
. For MC, it uses the sameTriggerBitsMakerTool
as is used to fill theHLTResultMT
.
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)
Edited by Tim Martin