12 from AthenaConfiguration.ComponentFactory
import CompFactory
14 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
15 from AthenaPython.PyAthenaComps
import Alg, StatusCode
21 Alg.__init__ (self, name)
27 self.
tool = ROOT.ToolHandle(ROOT.AthAlgTool)(
'TrigL2MuonSA::MdtDataPreparator')
30 return StatusCode.Success
34 return StatusCode.Success
40 from MuonConfig.MuonGeometryConfig
import MuonGeoModelCfg
43 from MagFieldServices.MagFieldServicesConfig
import AtlasFieldCacheCondAlgCfg
46 TrigL2MuonSA__MdtDataPreparator=CompFactory.TrigL2MuonSA.MdtDataPreparator
47 result.addPublicTool (TrigL2MuonSA__MdtDataPreparator (
'TrigL2MuonSA::MdtDataPreparator', OutputLevel = 1))
49 result.addEventAlgo (TestAlg (
'TestAlg'))
53 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
54 from AthenaConfiguration.TestDefaults
import defaultConditionsTags, defaultGeometryTags, defaultTestFiles
57 flags.Input.Files = defaultTestFiles.RAW_RUN2
58 flags.GeoModel.AtlasVersion = defaultGeometryTags.RUN2
59 flags.IOVDb.GlobalTag = defaultConditionsTags.RUN2_DATA
61 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
64 acc.merge (testCfg (flags))
67 acc.getService(
"MessageSvc").enableSuppression =
False