6 def MuonHitTesterCfg(flags, name="MuonHitTester", outFile="SimHitTest.root", **kwargs):
8 from MuonGeoModelTestR4.testGeoModel
import setupHistSvcCfg
9 result.merge(
setupHistSvcCfg(flags,outFile=outFile, outStream=
"MuonR4HitTest"))
10 from ActsAlignmentAlgs.AlignmentAlgsConfig
import ActsGeometryContextAlgCfg
12 kwargs.setdefault(
"isMC", flags.Input.isMC)
15 kwargs.setdefault(
"dumpPrds",
False)
16 kwargs.setdefault(
"dumpDigits",
False)
17 kwargs.setdefault(
"dumpSimHits",
True)
22 kwargs.setdefault(
"dumpMdtSimHits", flags.Detector.GeometryMDT)
23 kwargs.setdefault(
"dumpRpcSimHits", flags.Detector.GeometryRPC)
24 kwargs.setdefault(
"dumpTgcSimHits", flags.Detector.GeometryTGC)
25 kwargs.setdefault(
"dumpStgcSimHits",flags.Detector.GeometrysTGC)
26 kwargs.setdefault(
"dumpMmSimHits", flags.Detector.GeometryMM)
29 kwargs.setdefault(
"dumpMdtDigits", flags.Detector.GeometryMDT)
30 kwargs.setdefault(
"dumpRpcDigits", flags.Detector.GeometryRPC)
31 kwargs.setdefault(
"dumpTgcDigits", flags.Detector.GeometryTGC)
32 kwargs.setdefault(
"dumpStgcDigits",flags.Detector.GeometrysTGC)
33 kwargs.setdefault(
"dumpMmDigits", flags.Detector.GeometryMM)
35 kwargs.setdefault(
"dumpMdtPrds", flags.Detector.GeometryMDT)
36 kwargs.setdefault(
"dumpRpcPrds", flags.Detector.GeometryRPC)
37 kwargs.setdefault(
"dumpTgcPrds", flags.Detector.GeometryTGC)
38 kwargs.setdefault(
"dumpMmPrds", flags.Detector.GeometryMM)
40 theAlg = CompFactory.MuonValR4.MuonHitTesterAlg(name, **kwargs)
41 result.addEventAlgo(theAlg, primary =
True)