ATLAS Offline Software
testChamberBuilder.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
3 from AthenaConfiguration.ComponentFactory import CompFactory
4 def MuonChamberToolTestCfg(flags, name="MuonChamberToolTest", **kwargs):
5  result = ComponentAccumulator()
6  the_alg = CompFactory.MuonGMR4.MuonChamberToolTest(name, **kwargs)
7  result.addEventAlgo(the_alg, primary = True)
8  return result
9 
10 if __name__=="__main__":
11  from MuonGeoModelTestR4.testGeoModel import setupGeoR4TestCfg, SetupArgParser, executeTest
12  parser = SetupArgParser()
13 
14  args = parser.parse_args()
15  flags, cfg = setupGeoR4TestCfg(args)
16 
17  cfg.merge(MuonChamberToolTestCfg(flags))
18  cfg.getService("MessageSvc").verboseLimit = 100000
19  executeTest(cfg)
20 
21 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.MdtCablingTester.SetupArgParser
def SetupArgParser()
Definition: MdtCablingTester.py:3
python.testGeoModel.executeTest
def executeTest(cfg)
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/python/testGeoModel.py:192
python.testGeoModel.setupGeoR4TestCfg
def setupGeoR4TestCfg(args, flags=None)
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/python/testGeoModel.py:103
python.testChamberBuilder.MuonChamberToolTestCfg
def MuonChamberToolTestCfg(flags, name="MuonChamberToolTest", **kwargs)
Definition: testChamberBuilder.py:4