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, MuonPhaseIITestDefaults
5  parser = SetupArgParser()
6  parser.set_defaults(nEvents = -1)
7  parser.set_defaults(inputFile=MuonPhaseIITestDefaults.HITS_PG_R3)
8 
9  args = parser.parse_args()
10  flags, cfg = setupGeoR4TestCfg(args)
11 
12  from MuonHitCsvDump.MuonHitCsvDumpConfig import CsvSpacePointDumpCfg, CsvMuonTruthSegmentDumpCfg
13 
14  from MuonConfig.MuonDataPrepConfig import xAODUncalibMeasPrepCfg
15  cfg.merge(xAODUncalibMeasPrepCfg(flags))
16  if flags.Input.isMC:
17  cfg.merge(CsvMuonTruthSegmentDumpCfg(flags))
18  cfg.merge(CsvSpacePointDumpCfg(flags))
19 
20  executeTest(cfg)
21 
22 
23 
MuonHitCsvDumpConfig.CsvMuonTruthSegmentDumpCfg
def CsvMuonTruthSegmentDumpCfg(flags, name="CsvMuonTruthSegmentDumper", **kwargs)
Definition: MuonHitCsvDumpConfig.py:22
MdtCablingTester.SetupArgParser
def SetupArgParser()
Definition: MdtCablingTester.py:3
testGeoModel.setupGeoR4TestCfg
def setupGeoR4TestCfg(args, flags=None)
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/python/testGeoModel.py:145
MuonConfigUtils.executeTest
def executeTest(cfg)
Definition: MuonConfigUtils.py:19
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