From 1707fc83f21e2ca6300e3c1d2963261f5eb8f2ef Mon Sep 17 00:00:00 2001
From: Teng Jian Khoo <khoo@lxplus713.cern.ch>
Date: Wed, 10 Jun 2020 18:10:22 +0200
Subject: [PATCH] Fix clients incl trigger for removed GhostScale property

---
 Reconstruction/Jet/JetRecConfig/python/JetRecConfig.py      | 6 ++----
 .../python/HLTMenuConfig/Jet/JetTrackingConfig.py           | 3 +--
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/Reconstruction/Jet/JetRecConfig/python/JetRecConfig.py b/Reconstruction/Jet/JetRecConfig/python/JetRecConfig.py
index 6e6b4644279..0c4d4ae3659 100644
--- a/Reconstruction/Jet/JetRecConfig/python/JetRecConfig.py
+++ b/Reconstruction/Jet/JetRecConfig/python/JetRecConfig.py
@@ -374,8 +374,7 @@ def getConstitPJGAlg(basedef):
         InputContainer = basedef.inputname,
         OutputContainer = "PseudoJet"+full_label,
         Label = full_label,
-        SkipNegativeEnergy=True,
-        GhostScale=0.
+        SkipNegativeEnergy=True
         )
     return pjgalg
 
@@ -384,8 +383,7 @@ def getGhostPJGAlg(ghostdef):
     kwargs = {
         "OutputContainer":    "PseudoJet"+label,
         "Label":              label,
-        "SkipNegativeEnergy": True,
-        "GhostScale":         1e-40
+        "SkipNegativeEnergy": True
         }
 
     pjaclass = CompFactory.PseudoJetAlgorithm
diff --git a/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/Jet/JetTrackingConfig.py b/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/Jet/JetTrackingConfig.py
index 6ba1e551e8f..23a12bd0493 100644
--- a/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/Jet/JetTrackingConfig.py
+++ b/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/Jet/JetTrackingConfig.py
@@ -61,8 +61,7 @@ def JetTrackingSequence(dummyFlags,trkopt,RoIs):
         InputContainer=tracksname,
         OutputContainer=ghosttracksname,
         Label=label,
-        SkipNegativeEnergy=True,
-        GhostScale=1e-40
+        SkipNegativeEnergy=True
         )
     jetTrkSeq += conf2toConfigurable( pjgalg )
 
-- 
GitLab