From 11c19c27a768a853d0aa10be6b4669b027bc254b Mon Sep 17 00:00:00 2001
From: Johannes Josef Junggeburth <johannes.josef.junggeburth@cern.ch>
Date: Wed, 24 Nov 2021 11:13:47 +0100
Subject: [PATCH] MuonART - First bunch of test fixes

---
 .../MuonRecExample/share/MuonRec_jobOptions.py                | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/MuonSpectrometer/MuonReconstruction/MuonRecExample/share/MuonRec_jobOptions.py b/MuonSpectrometer/MuonReconstruction/MuonRecExample/share/MuonRec_jobOptions.py
index e034d13e6f5..df1e8c81f8e 100644
--- a/MuonSpectrometer/MuonReconstruction/MuonRecExample/share/MuonRec_jobOptions.py
+++ b/MuonSpectrometer/MuonReconstruction/MuonRecExample/share/MuonRec_jobOptions.py
@@ -111,9 +111,9 @@ if rec.doTruth() and DetFlags.makeRIO.Muon_on():
    getService("AtlasTrackingGeometrySvc")
    from MuonTruthAlgs.MuonTruthAlgsConf import Muon__MuonTruthDecorationAlg
    topSequence += Muon__MuonTruthDecorationAlg("MuonTruthDecorationAlg")
-   from MCTruthClassifier.MCTruthClassifierConf import MCTruthClassifier
+   from MCTruthClassifier.MCTruthClassifierBase import MCTruthClassifier
    from AthenaCommon import CfgGetter
-   topSequence.MuonTruthDecorationAlg.MCTruthClassifier = CfgGetter.getPublicTool(MCTruthClassifier(name="MCTruthClassifier",ParticleCaloExtensionTool=""))
+   topSequence.MuonTruthDecorationAlg.MCTruthClassifier = MCTruthClassifier
    topSequence.MuonTruthDecorationAlg.SDOs=["RPC_SDO","TGC_SDO","MDT_SDO"]
    PRD_TruthMaps = ["RPC_TruthMap","TGC_TruthMap","MDT_TruthMap"]
    if (MuonGeometryFlags.hasSTGC() and MuonGeometryFlags.hasMM()):
-- 
GitLab