1 """Define method to configure and test SCTSiLorentzAngleTestAlg
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
7 from AtlasGeoModel.GeoModelConfig
import GeoModelCfg
10 """Return a configured SCTSiLorentzAngleTestAlg"""
13 from SiLorentzAngleTool.SCT_LorentzAngleConfig
import SCT_LorentzAngleToolCfg
15 acc.addEventAlgo(CompFactory.SCTSiLorentzAngleTestAlg(**kwargs))
18 if __name__==
"__main__":
19 from AthenaCommon.Logging
import log
23 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
25 flags.Input.Files = []
26 flags.Input.isMC =
True
27 flags.Input.ProjectName =
"mc16_13TeV"
28 flags.Input.RunNumbers = [300000]
29 flags.Input.TimeStamps = [1500000000]
30 flags.IOVDb.GlobalTag =
"OFLCOND-MC16-SDR-18"
31 from AthenaConfiguration.TestDefaults
import defaultGeometryTags
32 flags.GeoModel.AtlasVersion = defaultGeometryTags.RUN2
33 flags.Detector.GeometrySCT =
True
36 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
39 from McEventSelector.McEventSelectorConfig
import McEventSelectorCfg