From 58d54fe4c26bd7c85103f2069abc9643da7fe66a Mon Sep 17 00:00:00 2001
From: Bastian Schlag <bastian.schlag@cern.ch>
Date: Mon, 13 Jul 2020 11:16:51 +0200
Subject: [PATCH] remove Acts AMVF refitAfterBadVertex option

---
 .../ActsPriVtxFinder/ActsAdaptiveMultiPriVtxFinderTool.h         | 1 -
 .../ActsPriVtxFinder/src/ActsAdaptiveMultiPriVtxFinderTool.cxx   | 1 -
 2 files changed, 2 deletions(-)

diff --git a/Tracking/Acts/ActsPriVtxFinder/ActsPriVtxFinder/ActsAdaptiveMultiPriVtxFinderTool.h b/Tracking/Acts/ActsPriVtxFinder/ActsPriVtxFinder/ActsAdaptiveMultiPriVtxFinderTool.h
index d7838e872097..412ae34e4a25 100644
--- a/Tracking/Acts/ActsPriVtxFinder/ActsPriVtxFinder/ActsAdaptiveMultiPriVtxFinderTool.h
+++ b/Tracking/Acts/ActsPriVtxFinder/ActsPriVtxFinder/ActsAdaptiveMultiPriVtxFinderTool.h
@@ -144,7 +144,6 @@ private:
   BooleanProperty m_do3dSplitting{this, "do3dSplitting", false, "Do 3d-splitting"};
   DoubleProperty m_maximumVertexContamination{this, "maximumVertexContamination", 0.5, "Max. vertex contamination"};
   DoubleProperty m_looseConstrValue{this, "looseConstrValue", 1e+8, "Loose constraint value"};
-  BooleanProperty m_refitAfterBadVertex{this, "refitAfterBadVertex", false, "Run multivertex refit after bad vertex"};
   BooleanProperty m_useVertexCovForIPEstimation{this, "useVertexCovForIPEstimation", false, "Use seed vertex cov for IPEstimation"};
   BooleanProperty m_useSeedConstraint{this, "useSeedConstraint", true, "Use seed constraint in fit"};
   // Final vertex selection variables
diff --git a/Tracking/Acts/ActsPriVtxFinder/src/ActsAdaptiveMultiPriVtxFinderTool.cxx b/Tracking/Acts/ActsPriVtxFinder/src/ActsAdaptiveMultiPriVtxFinderTool.cxx
index bb9e41530807..55d42bb2d89f 100755
--- a/Tracking/Acts/ActsPriVtxFinder/src/ActsAdaptiveMultiPriVtxFinderTool.cxx
+++ b/Tracking/Acts/ActsPriVtxFinder/src/ActsAdaptiveMultiPriVtxFinderTool.cxx
@@ -126,7 +126,6 @@ ActsAdaptiveMultiPriVtxFinderTool::initialize()
     finderConfig.do3dSplitting = m_do3dSplitting;
     finderConfig.maximumVertexContamination = m_maximumVertexContamination;
     finderConfig.looseConstrValue = m_looseConstrValue;
-    finderConfig.refitAfterBadVertex = m_refitAfterBadVertex;
     finderConfig.useVertexCovForIPEstimation = m_useVertexCovForIPEstimation;
     finderConfig.useSeedConstraint = m_useSeedConstraint;
     m_vertexFinder = std::make_shared<VertexFinder>(finderConfig, extractParameters);
-- 
GitLab