diff --git a/MuonSpectrometer/MuonReconstruction/MuonRecExample/share/MuonRec_jobOptions.py b/MuonSpectrometer/MuonReconstruction/MuonRecExample/share/MuonRec_jobOptions.py
index dec58fc72fbdd71e48c670d87f4613fa9d6bfe11..02681c0d85b8957a80320c502898ef57d25888d2 100644
--- a/MuonSpectrometer/MuonReconstruction/MuonRecExample/share/MuonRec_jobOptions.py
+++ b/MuonSpectrometer/MuonReconstruction/MuonRecExample/share/MuonRec_jobOptions.py
@@ -99,6 +99,14 @@ if rec.doTruth() and DetFlags.makeRIO.Muon_on():
    from MuonTruthAlgs.MuonTruthAlgsConf import Muon__MuonTruthDecorationAlg
    topSequence += Muon__MuonTruthDecorationAlg("MuonTruthDecorationAlg")
 
+   try:
+       from RecExConfig.InputFilePeeker import inputFileSummary
+       truthStrategy = inputFileSummary['metadata']['/Simulation/Parameters']['TruthStrategy']
+       if truthStrategy in ['MC15','MC18','MC18LLP']:
+           topSequence.MuonTruthDecorationAlg.BarcodeOffset=10000000
+   except:
+       print "Failed to read /Simulation/Parameters/ metadata"
+       pass
 
 #load default tools:
 if muonRecFlags.doStandalone() or muonRecFlags.doPseudoTracking():
@@ -131,6 +139,15 @@ if muonRecFlags.doStandalone():
 
         topSequence += Muon__MuonSegmentTruthAssociationAlg("MuonSegmentTruthAssociationAlg")
 
+        try:
+            from RecExConfig.InputFilePeeker import inputFileSummary
+            truthStrategy = inputFileSummary['metadata']['/Simulation/Parameters']['TruthStrategy']
+            if truthStrategy in ['MC15','MC18','MC18LLP']:
+                topSequence.MuonSegmentTruthAssociationAlg.BarcodeOffset=10000000
+        except:
+            print "Failed to read /Simulation/Parameters/ metadata"
+            pass
+
 #--------------------------------------------------------------------------
 # Apply alignment corrections to geometry
 #--------------------------------------------------------------------------
diff --git a/Reconstruction/MuonIdentification/MuonCombinedRecExample/share/MuonCombinedRec_postprocessing.py b/Reconstruction/MuonIdentification/MuonCombinedRecExample/share/MuonCombinedRec_postprocessing.py
index 521d770c5543bb83f779c634ef6ba4017653ee5f..98030248bb4e377852c0a477bf43166c250e667f 100644
--- a/Reconstruction/MuonIdentification/MuonCombinedRecExample/share/MuonCombinedRec_postprocessing.py
+++ b/Reconstruction/MuonIdentification/MuonCombinedRecExample/share/MuonCombinedRec_postprocessing.py
@@ -31,10 +31,19 @@ if rec.doTruth() and muonCombinedRecFlags.doxAOD() and rec.doMuonCombined():
         topSequence += TrackParticleTruthAlg(name = cols[i]+"TruthAlg",
                                              TrackTruthName=cols[i]+"Truth",
                                              TrackParticleName = colsTP[i] )
+    topSequence.CombinedMuonTracksTruthAlg.OutputLevel=VERBOSE
 
     from MuonTruthAlgs.MuonTruthAlgsConf import MuonTruthAssociationAlg
     topSequence += MuonTruthAssociationAlg("MuonTruthAssociationAlg")
 
+    try:
+        from RecExConfig.InputFilePeeker import inputFileSummary
+        truthStrategy = inputFileSummary['metadata']['/Simulation/Parameters']['TruthStrategy']
+        if truthStrategy in ['MC15','MC18','MC18LLP']:
+            topSequence.MuonTruthAssociationAlg.BarcodeOffset=10000000
+    except:
+        print "Failed to read /Simulation/Parameters/ metadata"
+        pass
 
 if muonCombinedRecFlags.doTrackPerformance:
     include("MuonCombinedRecExample/MuonCombinedTrackPerformance_jobOptions.py")