5 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
6 from AthenaConfiguration.ComponentFactory
import CompFactory
12 from SCT_Cabling.SCT_CablingConfig
import SCT_CablingCondAlgCfg
15 from AtlasGeoModel.GeoModelConfig
import GeoModelCfg
20 SCT_CablingTool = CompFactory.SCT_CablingTool()
21 SCT_CablingTool.DataSource =
"COOLVECTOR"
22 SCT_CablingTool.OutputLevel = INFO
24 SCT_TestCablingAlg=CompFactory.SCT_TestCablingAlg
27 cfg.addEventAlgo(testAlg)
32 if __name__==
"__main__":
33 from AthenaCommon.Logging
import log
37 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
39 flags.Input.Files = []
40 flags.Input.isMC =
True
41 flags.Input.RunNumbers = [300000]
42 flags.Input.TimeStamps = [1500000000]
44 from AthenaConfiguration.TestDefaults
import defaultGeometryTags, defaultConditionsTags
45 flags.GeoModel.AtlasVersion = defaultGeometryTags.RUN2
46 flags.IOVDb.GlobalTag = defaultConditionsTags.autoconfigure(flags)
47 flags.Detector.GeometrySCT =
True
50 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
53 from McEventSelector.McEventSelectorConfig
import McEventSelectorCfg