ATLAS Offline Software
ItemDef_run4.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 #
4 # Disable flake8 checking due to the use of 'exec':
5 # flake8: noqa
6 #
7 
8 from AthenaCommon.Logging import logging
9 log = logging.getLogger(__name__)
10 
11 # The trigger types
12 from ..Base.Items import MenuItem
13 from .TriggerTypeDef import TT
14 
16 
17  @staticmethod
18  def registerItems(d, menuName):
19  if "run4" not in menuName:
20  return
21 
22  log.info("Adding extra run4 L1 items")
23  physcond = d.BGRP0 & d.BGRP1
24 
25  MenuItem('L1_2eEM10L' ).setLogic( d.eEM10L.x(2) & physcond).setTriggerType(TT.calo)
26  MenuItem('L1_eEM10L_MU8F' ).setLogic( d.eEM10L & d.MU8F & physcond).setTriggerType(TT.muon)
27  MenuItem('L1_MU5VF_cTAU30M' ).setLogic( d.MU5VF & d.cTAU30M & physcond).setTriggerType(TT.calo)
28  MenuItem('L1_3jJ40' ).setLogic( d.jJ40.x(3) & physcond).setTriggerType(TT.calo)
python.L1.Base.Items.MenuItem
Definition: Items.py:79
python.L1.Config.ItemDef_run4.ItemDef_run4.registerItems
def registerItems(d, menuName)
Definition: ItemDef_run4.py:18
python.L1.Config.ItemDef_run4.ItemDef_run4
Definition: ItemDef_run4.py:15