[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
TriggerFlagsandTriggerConfigClags(CA based) -
TriggerBitsMakerToolreads this JSON-derived config instartfrom 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
TriggerBitsMakerToolruns as part of theHLTResultMTMaker. It reads theHLTNav_Summaryand fills thePassedRaw,PrescaledandRerunbitmaps. - The three HLT bitmaps are serialised, one after the other, in the
HLTResultMT - The RAW data are read out
- The
TrigDecisionMakerMTchanges its role for data, instead of making the bits, it now fetches theHLTResultMTand copies the three bitmaps into anxAOD::TrigDecision. For MC, it uses the sameTriggerBitsMakerToolas 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