Skip to content
Snippets Groups Projects
Commit 46f090ea authored by Edward Moyse's avatar Edward Moyse
Browse files

Missing data dependency on SCT_ByteStreamErrs

parent 346fa9fe
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,12 @@ from SCT_GeoModel.SCT_GeoModelConfig import SCT_ReadoutGeometryCfg
def SCT_ByteStreamErrorsToolCfg(flags, name="SCT_ByteStreamErrorsTool", **kwargs):
acc = SCT_ConfigurationConditionsToolCfg(flags)
kwargs.setdefault("ConfigTool", acc.popPrivateTools())
# Missing dependency on SCT_ByteStreamErrs
from SCT_RawDataByteStreamCnv.SCT_RawDataByteStreamCnvConfig import (
SCTRawDataProviderCfg)
acc.merge(SCTRawDataProviderCfg(flags))
acc.setPrivateTools(CompFactory.SCT_ByteStreamErrorsTool(name, **kwargs))
return acc
......@@ -227,6 +233,9 @@ def SCT_DCSConditionsCfg(flags, name="InDetSCT_DCSConditions", **kwargs):
def SCT_FlaggedConditionToolCfg(flags, name="InDetSCT_FlaggedConditionTool", **kwargs):
# For SCT_ID and SCT_DetectorElementCollection used in SCT_FlaggedConditionTool
acc = SCT_ReadoutGeometryCfg(flags)
# This tool needs SCT_FlaggedCondData which is produced by SCT_Clusterization
acc.setPrivateTools(CompFactory.SCT_FlaggedConditionTool(name, **kwargs))
return acc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment