3 from AthenaCommon.Logging
import logging
4 log = logging.getLogger( __name__ )
7 This file defines the Data Scouting chain identifiers which serve also
8 as EDM target identifiers and their mapping to HLT Result module IDs.
10 When adding new identifiers, please follow the naming convention SomeNameDS,
11 where SomeName is generally camel-case unless it's an acronym like LAr or MET.
22 _DataScoutingIdentifiers = {
31 _DataScoutingStreams = {
32 'calibration_CostMonitoring':
'CostMonDS',
33 'physics_TLA':
'PhysicsTLA',
34 'physics_DarkJetPEBTLA':
'DarkJetPEBTLA',
35 'physics_FTagPEBTLA':
'FTagPEBTLA',
36 'physics_EgammaPEBTLA':
'EgammaPEBTLA',
40 TruncationThresholds = {
52 if name
in _DataScoutingIdentifiers:
53 return _DataScoutingIdentifiers[name]
55 log.error(
'Unknown name %s, cannot assign result ID', name)
59 return list(_DataScoutingStreams.keys())
63 if streamname
in _DataScoutingStreams:
64 return _DataScoutingStreams[streamname]
66 log.error(
'Unknown name %s, not a data scouting stream', streamname)
70 return _DataScoutingIdentifiers.values()
80 return list(_DataScoutingIdentifiers.keys())