ATLAS Offline Software
csvHitDump.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2025 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(inputFile=[
8  "/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/MuonGeomRTT/R3SimHits.pool.root"
9  # "/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/Tier0ChainTests/TCT_Run3/data22_13p6TeV.00431493.physics_Main.daq.RAW._lb0525._SFO-16._0001.data"
10  ])
11 
12  args = parser.parse_args()
13  flags, cfg = setupGeoR4TestCfg(args)
14 
15  from MuonHitCsvDump.MuonHitCsvDumpConfig import CsvSpacePointDumpCfg, CsvMuonTruthSegmentDumpCfg
16 
17  from MuonConfig.MuonDataPrepConfig import xAODUncalibMeasPrepCfg
18  cfg.merge(xAODUncalibMeasPrepCfg(flags))
19  if flags.Input.isMC:
20  cfg.merge(CsvMuonTruthSegmentDumpCfg(flags))
21  cfg.merge(CsvSpacePointDumpCfg(flags))
22 
23  executeTest(cfg)
24 
25 
26 
MuonHitCsvDumpConfig.CsvMuonTruthSegmentDumpCfg
def CsvMuonTruthSegmentDumpCfg(flags, name="CsvMuonTruthSegmentDumper", **kwargs)
Definition: MuonHitCsvDumpConfig.py:22
testGeoModel.executeTest
def executeTest(cfg)
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/python/testGeoModel.py:227
MdtCablingTester.SetupArgParser
def SetupArgParser()
Definition: MdtCablingTester.py:3
testGeoModel.setupGeoR4TestCfg
def setupGeoR4TestCfg(args, flags=None)
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/python/testGeoModel.py:126
MuonDataPrepConfig.xAODUncalibMeasPrepCfg
def xAODUncalibMeasPrepCfg(flags)
Configuriation snippet to schedule all algorithms providing the Uncalibrated measurements.
Definition: MuonDataPrepConfig.py:29
MuonHitCsvDumpConfig.CsvSpacePointDumpCfg
def CsvSpacePointDumpCfg(flags, name="CsvDriftCircleDumper", **kwargs)
Definition: MuonHitCsvDumpConfig.py:6