Skip to content

Prevent LAr-based triggers in CALREQ bunchgroup

Teng Jian Khoo requested to merge khoo/athena:trig-L1Menu-NoLArInCALREQ into 22.0

The LAr Digital Trigger makes special use of BCID 3500 to send a special signal to the fexes:

As a reminder, at BCID 3500, the latomes do not send energies to the FEXes but an align frame which contains the full BCID number and additional information about the latome and the fiber ... This is very useful for many checks and make sure the system is aligned. This BCID is in the abort gap (CalReq group) so there is no physics data there and this group is used by Tile for laser injection. BCID 3485 is used for the Tile laser with TType=0x34.

Due to this, triggers based on LAr are not permitted at all in the corresponding bunchgroup BGRP2 == CALIB. We enforce this by checking that there are no calo thresholds (= physics thresholds with muons excluded) in any item defined for this bunchgroup.

FYI @aad, @stelzer

Demonstrated failure with a test item placed in the L1 menu:

Py:TriggerMenuMT:L1Menu    INFO Doing L1 Menu checks
Traceback (most recent call last):
  File "/lustre/fs22/group/atlas/tjkhoo/athena_dev/CTPMenu/build/x86_64-centos7-gcc11-opt/bin/generateL1MenuRun3.py", line 45, in <module>
    sys.exit( main() )
  File "/lustre/fs22/group/atlas/tjkhoo/athena_dev/CTPMenu/build/x86_64-centos7-gcc11-opt/bin/generateL1MenuRun3.py", line 40, in main
    generateL1Menu(ConfigFlags)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/22.0_Athena_x86_64-centos7-gcc11-opt/2022-05-29T2101/Athena/22.0.69/InstallArea/x86_64-centos7-gcc11-opt/python/TrigConfigSvc/TrigConfigSvcCfg.py", line 201, in generateL1Menu
    l1cfg = L1MenuConfig(menuName = flags.Trigger.triggerMenuSetup)
  File "/lustre/fs22/group/atlas/tjkhoo/athena_dev/CTPMenu/build/x86_64-centos7-gcc11-opt/python/TriggerMenuMT/L1/L1MenuConfig.py", line 72, in __init__
    self._generate()
  File "/lustre/fs22/group/atlas/tjkhoo/athena_dev/CTPMenu/build/x86_64-centos7-gcc11-opt/python/TriggerMenuMT/L1/L1MenuConfig.py", line 89, in _generate
    self._generateMenu()
  File "/lustre/fs22/group/atlas/tjkhoo/athena_dev/CTPMenu/build/x86_64-centos7-gcc11-opt/python/TriggerMenuMT/L1/L1MenuConfig.py", line 691, in _generateMenu
    self.l1menu.checkBGRP()
  File "/lustre/fs22/group/atlas/tjkhoo/athena_dev/CTPMenu/build/x86_64-centos7-gcc11-opt/python/TriggerMenuMT/L1/Base/L1Menu.py", line 338, in checkBGRP
    raise RuntimeError(f"L1 item {item.name} with threshold type {thrtype} is in CALREQ BGRP2. This is not allowed!")
RuntimeError: L1 item L1_J12_CALIB with threshold type JET is in CALREQ BGRP2. This is not allowed!

Merge request reports