ATLAS Offline Software
Loading...
Searching...
No Matches
Trigger
TriggerCommon
TriggerMenuMT
python
HLT
Menu
EventBuildingInfo.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2
3
from
AthenaCommon.Logging
import
logging
4
log = logging.getLogger( __name__ )
5
6
'''
7
This file defines Event Building identifiers which can be used in chain names.
8
9
When adding new identifiers, please follow the naming convention
10
SomeNamePEBVariant for Partial Event Building (here) or
11
SomeNameDSVariant for Data Scouting (in DataScoutingInfo),
12
where SomeName and Variant are generally camel-case unless they're acronyms
13
like LAr or RPC. Variant is normally empty unless there are several variants
14
like RPCPEB.
15
16
Possible examples:
17
LArPEB, LumiPEB, RPCPEB, TrkPEB, PhysicsTLA
18
'''
19
20
# Dictionary with PEB identifiers and if RoI-based PEB is used:
21
_PartialEventBuildingIdentifiers = {
22
'BeamSpotPEB'
:
False
,
23
'MuonTrkPEB'
:
True
,
24
'IDCalibPEB'
:
True
,
25
'LArPEB'
:
True
,
26
'LArPEBCalib'
:
False
,
27
'LArPEBHLT'
:
True
,
28
'LArPEBNoise'
:
True
,
29
'LATOMEPEB'
:
False
,
30
'SCTPEB'
:
False
,
31
'TilePEB'
:
False
,
32
'ZDCPEB'
:
False
,
33
'AFPPEB'
:
False
,
34
'LumiPEB'
:
False
,
35
'Lvl1CaloPEB'
:
False
,
36
# DataScouting identifiers from TrigEDMConfig.DataScoutingInfo:
37
'CostMonDS'
:
False
,
38
'MuonDS'
:
False
,
39
'PhysicsTLA'
:
False
,
40
'DarkJetPEBTLA'
:
True
,
41
'FTagPEBTLA'
:
True
,
42
'EgammaPEBTLA'
:
True
,
43
}
44
45
46
def
getAllEventBuildingIdentifiers
():
47
return
_PartialEventBuildingIdentifiers.keys()
48
49
50
def
isRoIBasedPEB
(eventBuildType):
51
"""Helper function to determine if eventBuildType corresponds to RoI-based PEB"""
52
try
:
53
return
_PartialEventBuildingIdentifiers[eventBuildType]
54
except
KeyError:
55
log.error(
"'%s' is not a known event building identifier"
, eventBuildType)
56
raise
python.HLT.Menu.EventBuildingInfo.getAllEventBuildingIdentifiers
getAllEventBuildingIdentifiers()
Definition
EventBuildingInfo.py:46
python.HLT.Menu.EventBuildingInfo.isRoIBasedPEB
isRoIBasedPEB(eventBuildType)
Definition
EventBuildingInfo.py:50
Generated on
for ATLAS Offline Software by
1.14.0