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 """
34 acc.addEventAlgo(CompFactory.SCTRawDataProvider(name=prefix+
"SCTRawDataProvider"+suffix,
41 """ Configures the SCT raw data decoding with trigger args """
43 from RegionSelector.RegSelToolConfig
import regSelTool_SCT_Cfg
46 regSelTools = regSelAcc.popPrivateTools()
50 'RegSelTool' : regSelTools,
51 'RDOKey' :
'SCT_RDOs',
54 'RDOCacheKey' : flags.Trigger.InDetTracking.SCTRDOCacheKey,
55 'BSErrCacheKey' : flags.Trigger.InDetTracking.SCTBSErrCacheKey,
56 'StoreInDetTimeCollections' :
False,
60 dataPrepAcc.merge(regSelAcc)
64 """ Configures the main algorithm for SCT raw data decoding for data overlay """
65 kwargs.setdefault(
"RDOKey", flags.Overlay.BkgPrefix +
"SCT_RDOs")
66 kwargs.setdefault(
"LVL1IDKey", flags.Overlay.BkgPrefix +
"SCT_LVL1ID")
67 kwargs.setdefault(
"BCIDKey", flags.Overlay.BkgPrefix +
"SCT_BCID")
73 acc.addEventAlgo(CompFactory.SCTEventFlagWriter(name=prefix+
"SCTEventFlagWriter"+suffix,