Skip to content

TrigDecisionMaker: drop support of legacy trigger configuration

Frank Winklmeier requested to merge fwinkl/athena:l1rat_newConfig into master
L1BunchGroupSet

Add the bgPattern() method to L1BunchGroupSet which returns the bunchgroup "bit-pattern" that is stored in the TrigDecision object. Also move the s_maxBunchGroups constant from L1BunchGroup to L1BunchGroupSet where it belongs and make it private. Apply a few minor code cleanups and inline some trivial functions.

TrigDecisionMaker
  • Migrate the Run 1&2 TrigDecisionMaker away from the legacy trigger configuration.
  • For the Run 3 TrigDecisionMakerMT also use a handle to read the BunchGroupSet and use the new bgPattern method to get the bunchgroup bit mask.
  • In both cases apply a temporary fix to avoid undefined behavior when storing the 16 possible bunchgroups in a 8 bit char (ATR-24030).
  • Drop support of legacy trigger configuration in Lvl1ResultAccessTool.

cc @rbielski @tamartin

Merge request reports