ATLAS Offline Software
csvSegmentDump.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 
3 if __name__=="__main__":
4  from MuonGeoModelTestR4.testGeoModel import setupGeoR4TestCfg, SetupArgParser, executeTest
5  parser = SetupArgParser()
6  parser.set_defaults(nEvents = -1)
7  parser.set_defaults(noMM=True)
8  parser.set_defaults(noSTGC=True)
9  #parser.set_defaults(condTag="CONDBR2-BLKPA-2023-03")
10  #parser.set_defaults(inputFile=[
11  # "/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/Tier0ChainTests/TCT_Run3/data22_13p6TeV.00431493.physics_Main.daq.RAW._lb0525._SFO-16._0001.data"
12  # ])
13  parser.set_defaults(inputFile=[
14  "/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/MuonRecRTT/R3SimHits.pool.root"
15  ])
16 
17 
18  args = parser.parse_args()
19  flags, cfg = setupGeoR4TestCfg(args)
20 
21  from MuonConfig.MuonDataPrepConfig import xAODUncalibMeasPrepCfg
22  cfg.merge(xAODUncalibMeasPrepCfg(flags))
23 
24  if flags.Input.isMC:
25  from MuonHitCsvDump.MuonHitCsvDumpConfig import CsvMuonTruthSegmentDumpCfg
26  cfg.merge(CsvMuonTruthSegmentDumpCfg(flags))
27 
28 
29  executeTest(cfg)
30 
31 
32 
python.MdtCablingTester.SetupArgParser
def SetupArgParser()
Definition: MdtCablingTester.py:3
MuonHitCsvDumpConfig.CsvMuonTruthSegmentDumpCfg
def CsvMuonTruthSegmentDumpCfg(flags, name="CsvMuonTruthSegmentDumper", **kwargs)
Definition: MuonHitCsvDumpConfig.py:27
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