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