1 """Define method to configure and test SCT_ConditionsSummaryTestAlg
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_ConditionsSummaryTestAlg"""
11 from SCT_ConditionsTools.SCT_ConditionsToolsConfig
import SCT_ConditionsSummaryToolCfg
13 kwargs.setdefault(
"SCT_ConditionsSummaryTool", InDetSCT_ConditionsSummaryToolWithoutFlagged)
14 acc.addEventAlgo(CompFactory.SCT_ConditionsSummaryTestAlg(name, **kwargs))
17 if __name__==
"__main__":
18 from AthenaCommon.Logging
import log
22 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
24 flags.Input.Files = []
25 flags.Input.isMC =
False
26 flags.Input.ProjectName =
"data17_13TeV"
27 flags.Input.RunNumbers = [310809]
28 flags.Input.TimeStamps = [1476741326]
29 flags.IOVDb.GlobalTag =
"CONDBR2-BLKPA-2017-06"
30 from AthenaConfiguration.TestDefaults
import defaultGeometryTags
31 flags.GeoModel.AtlasVersion = defaultGeometryTags.RUN2
32 flags.Detector.GeometrySCT =
True
35 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
38 from McEventSelector.McEventSelectorConfig
import McEventSelectorCfg