1 """Define method to configure and test SCT_ConditionsParameterTestAlg
3 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
5 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
6 from AthenaConfiguration.ComponentFactory
import CompFactory
9 """Return a configured SCT_ConditionsParameterTestAlg"""
11 from SCT_ConditionsTools.SCT_ConditionsToolsConfig
import SCT_ConditionsParameterCfg
13 acc.addEventAlgo(CompFactory.SCT_ConditionsParameterTestAlg(name, **kwargs))
16 if __name__==
"__main__":
17 from AthenaCommon.Logging
import log
21 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
23 flags.Input.Files = []
24 flags.Input.isMC =
False
25 flags.Input.ProjectName =
"data12_8TeV"
26 flags.Input.RunNumbers = [215643]
27 flags.Input.TimeStamps = [1354748400]
28 flags.IOVDb.GlobalTag =
"COMCOND-BLKPA-RUN1-09"
29 flags.IOVDb.DatabaseInstance =
"COMP200"
30 from AthenaConfiguration.TestDefaults
import defaultGeometryTags
31 flags.GeoModel.AtlasVersion = defaultGeometryTags.RUN1_2012
32 flags.Detector.GeometrySCT =
True
35 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
38 from McEventSelector.McEventSelectorConfig
import McEventSelectorCfg