3 from AthenaCommon.Logging
import logging
4 log = logging.getLogger( __name__ )
7 This file defines Event Building identifiers which can be used in chain names.
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
17 LArPEB, LumiPEB, RPCPEB, TrkPEB, PhysicsTLA
21 _PartialEventBuildingIdentifiers = {
22 'BeamSpotPEB' :
False,
26 'LArPEBCalib' :
False,
35 'Lvl1CaloPEB' :
False,
39 'DarkJetPEBTLA' :
True,
41 'EgammaPEBTLA' :
True,
46 return _PartialEventBuildingIdentifiers.keys()
50 """Helper function to determine if eventBuildType corresponds to RoI-based PEB"""
52 return _PartialEventBuildingIdentifiers[eventBuildType]
54 log.error(
"'%s' is not a known event building identifier", eventBuildType)