ATLAS Offline Software
Loading...
Searching...
No Matches
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
7from AthenaCommon.Logging import logging
8log = logging.getLogger('TriggerEDMDefs')
9
10from collections import UserString
11
12class Alias(UserString):
13 """EDM property to alias collection name"""
14 pass
15
16class 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
24allowTruncation = object()