ATLAS Offline Software
Trigger
TriggerCommon
TrigEDMConfig
python
TriggerEDMDefs.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2
3
# ********************* Common Definitons **********************
4
# For import into the Run3 and Run4 menu files
5
# **************************************************************
6
7
from
AthenaCommon.Logging
import
logging
8
log = logging.getLogger(
'TriggerEDMDefs'
)
9
10
from
collections
import
UserString
11
12
class
Alias
(UserString):
13
"""EDM property to alias collection name"""
14
pass
15
16
class
InViews
(UserString):
17
"""EDM property to configure collections available in a given view"""
18
def
__init__
(self, value):
19
if
','
in
value:
20
raise
ValueError(f
'Invalid view name: {value}'
)
21
super().
__init__
(value)
22
23
# EDM property to allow truncation for a collection
24
allowTruncation =
object
()
python.TriggerEDMDefs.Alias
Definition:
TriggerEDMDefs.py:12
python.TriggerEDMDefs.InViews.__init__
def __init__(self, value)
Definition:
TriggerEDMDefs.py:18
pickleTool.object
object
Definition:
pickleTool.py:30
python.TriggerEDMDefs.InViews
Definition:
TriggerEDMDefs.py:16
Generated on Mon Nov 18 2024 21:29:40 for ATLAS Offline Software by
1.8.18