5 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
6 from AthenaConfiguration.ComponentFactory
import CompFactory
7 from SCT_Cabling.SCT_CablingConfig
import SCT_CablingToolCfg
8 from SCT_ConditionsTools.SCT_ConditionsToolsConfig
import SCT_ConfigurationConditionsToolCfg
9 from SCT_GeoModel.SCT_GeoModelConfig
import SCT_ReadoutGeometryCfg
17 acc.setPrivateTools(CompFactory.SCT_RodDecoder(name=prefix+
"SCTRodDecoder"+suffix,
24 kwargs.setdefault(
"Decoder", acc.popToolsAndMerge(
SCT_RodDecoderCfg(flags, prefix=prefix, suffix=suffix)))
25 acc.setPrivateTools(CompFactory.SCTRawDataProviderTool(name=prefix+
"SCTRawDataProviderTool"+suffix,
31 """ Configures the main algorithm for SCT raw data decoding """
35 if flags.Overlay.ByteStream:
36 kwargs.setdefault(
"RDOKey", f
"{flags.Overlay.BkgPrefix}SCT_RDOs")
37 kwargs.setdefault(
"LVL1IDKey", f
"{flags.Overlay.BkgPrefix}SCT_LVL1ID")
38 kwargs.setdefault(
"BCIDKey", f
"{flags.Overlay.BkgPrefix}SCT_BCID")
40 acc.addEventAlgo(CompFactory.SCTRawDataProvider(name=prefix+
"SCTRawDataProvider"+suffix,
46 """ Configures the SCT raw data decoding with trigger args """
48 from RegionSelector.RegSelToolConfig
import regSelTool_SCT_Cfg
51 regSelTools = regSelAcc.popPrivateTools()
55 'RegSelTool' : regSelTools,
56 'RDOKey' :
'SCT_RDOs',
59 'RDOCacheKey' : flags.Trigger.InDetTracking.SCTRDOCacheKey,
60 'BSErrCacheKey' : flags.Trigger.InDetTracking.SCTBSErrCacheKey,
61 'StoreInDetTimeCollections' :
False,
65 dataPrepAcc.merge(regSelAcc)
71 if flags.Overlay.ByteStream:
72 kwargs.setdefault(
"xAODEventInfoKey", f
"{flags.Overlay.BkgPrefix}EventInfo")
73 acc.addEventAlgo(CompFactory.SCTEventFlagWriter(name=prefix+
"SCTEventFlagWriter"+suffix,