4 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
5 result = ComponentAccumulator()
6 from AthenaConfiguration.ComponentFactory
import CompFactory
7 from MuonConfig.MuonCondAlgConfig
import NswCalibDbAlgCfg
8 result.merge(NswCalibDbAlgCfg(flags))
9 the_alg = CompFactory.NswPassivationTestAlg(alg_name, **kwargs)
10 result.addEventAlgo(the_alg, primary=
True)
14if __name__ ==
"__main__":
15 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
16 from AthenaConfiguration.TestDefaults
import defaultTestFiles
17 from MuonConfig.MuonConfigUtils
import executeTest, SetupMuonStandaloneCA, configureCondTag
19 flags = initConfigFlags()
20 flags.Input.Files = defaultTestFiles.ESD_RUN3_DATA22
22 flags.Concurrency.NumThreads = 1
23 flags.Concurrency.NumConcurrentEvents = 1
24 flags.Exec.MaxEvents = 1
25 configureCondTag(flags)
29 cfg = SetupMuonStandaloneCA(flags)
NSWPassivAlgTest(flags, alg_name="NSWPassivAlgTest", **kwargs)