ATLAS Offline Software
MdtCalibDbTesterR4.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 
3 
4 if __name__ == "__main__":
5  from MuonGeoModelTestR4.testGeoModel import setupGeoR4TestCfg, SetupArgParser, executeTest, geoModelFileDefault
6  parser = SetupArgParser()
7  parser.add_argument("--setupRun4", default=True, action="store_true")
8  parser.set_defaults(nEvents = 1)
9  parser.set_defaults(noMM=True)
10  parser.set_defaults(noSTGC=True)
11  parser.set_defaults(noRpc=True)
12  parser.set_defaults(noTgc=True)
13  parser.set_defaults(inputFile=["/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/MuonRecRTT/R4SimHits.pool.root"])
14 
15 
16  args = parser.parse_args()
17  args.geoModelFile = geoModelFileDefault(args.setupRun4)
18  flags, cfg = setupGeoR4TestCfg(args)
19  from MuonConfig.MuonCalibrationConfig import MdtCalibDbAlgCfg
20  from MuonCondTest.MdtCablingTester import MdtCablingTestAlgCfg
21  cfg.merge(MdtCablingTestAlgCfg(flags))
22  cfg.merge(MdtCalibDbAlgCfg(flags))
23  from MuonConfig.MuonDataPrepConfig import xAODUncalibMeasPrepCfg
24  cfg.merge(xAODUncalibMeasPrepCfg(flags))
25  executeTest(cfg)
python.MdtCablingTester.MdtCablingTestAlgCfg
def MdtCablingTestAlgCfg(flags, name="MdtCablingTestAlg", mezzJSON="", cablingJSON="", dumpFile="")
Definition: MdtCablingTester.py:35
python.MdtCablingTester.SetupArgParser
def SetupArgParser()
Definition: MdtCablingTester.py:3
python.testGeoModel.geoModelFileDefault
def geoModelFileDefault(useR4Layout=False)
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/python/testGeoModel.py:5
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.MuonDataPrepConfig.xAODUncalibMeasPrepCfg
def xAODUncalibMeasPrepCfg(flags)
Configuriation snippet to schedule all algorithms providing the Uncalibrated measurements.
Definition: MuonDataPrepConfig.py:29
python.MuonCalibrationConfig.MdtCalibDbAlgCfg
def MdtCalibDbAlgCfg(flags, name="MdtCalibDbAlg", **kwargs)
Definition: MuonCalibrationConfig.py:100