3 if __name__==
"__main__":
5 from MuonGeoModelTestR4.testGeoModel
import setupGeoR4TestCfg, SetupArgParser, executeTest,setupHistSvcCfg
7 parser.set_defaults(nEvents = -1)
9 parser.set_defaults(noSTGC=
True)
10 parser.set_defaults(outRootFile=
"HoughTransformTester.root")
12 parser.set_defaults(inputFile=[
13 "/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/MuonRecRTT/R3SimHits.pool.root"
16 parser.set_defaults(eventPrintoutLevel = 500)
17 parser.add_argument(
"--monitorPlots", action=
'store_true', default=
False,
18 help=
"Setup monitoring plots of the pattern recognition")
19 parser.add_argument(
"--runVtune",
20 help=
"runs VTune profiler service for the muon hough alg", action=
'store_true', default =
False)
23 args = parser.parse_args()
24 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
26 flags.Muon.Align.UseAsBuilt =
False
27 flags.Muon.Align.UseBLines =
False
35 outStream=
"MuonEtaHoughTransformTest"))
37 from MuonConfig.MuonDataPrepConfig
import xAODUncalibMeasPrepCfg
40 from MuonSpacePointFormation.SpacePointFormationConfig
import MuonSpacePointFormationCfg
44 from MuonPatternRecognitionTest.PatternTestConfig
import LegacyMuonRecoChainCfg
47 from MuonPatternRecognitionAlgs.MuonHoughTransformAlgConfig
import MuonPatternRecognitionCfg, MuonSegmentFittingAlgCfg
51 from MuonPatternRecognitionTest.PatternTestConfig
import MuonR4PatternRecoChainCfg, MuonR4SegmentRecoChainCfg
57 from MuonPatternRecognitionTest.PatternTestConfig
import MuonRecoChainTesterCfg
60 from PerfMonVTune.PerfMonVTuneConfig
import VTuneProfilerServiceCfg
64 from MuonPatternRecognitionTest.PatternTestConfig
import PatternVisualizationToolCfg
66 CanvasPreFix=
"EtaHoughPlotValid",
67 AllCanvasName=
"AllEtaHoughiDiPuffPlots",
68 TruthSegDecors=[
"HabemusZ"],
69 displayTruthOnly =
False,
70 saveSinglePDFs =
True, saveSummaryPDF=
True))
72 CanvasPreFix=
"PhiHoughPlotValid",
73 AllCanvasName=
"AllPhiHoughiDiPuffPlots",
74 TruthSegDecors=[
"HabemusZ"],
75 displayTruthOnly =
False,
76 saveSinglePDFs =
False, saveSummaryPDF=
False))
78 CanvasPreFix=
"SegmentPlotValid",
79 AllCanvasName=
"AllSegmentFitPlots",
80 TruthSegDecors=[
"HabemusZ"],
81 displayTruthOnly =
False,
82 saveSinglePDFs =
False, saveSummaryPDF=
False))