From e8f235ae0780ccfc91e0cd012c728ab1b0f55ef3 Mon Sep 17 00:00:00 2001 From: Matti Kortelainen Date: Fri, 13 Sep 2019 09:16:28 -0700 Subject: [PATCH] Allow enabling duplicate removal from CMSSW --- ConfigWrapper.cc | 4 ++++ ConfigWrapper.h | 1 + 2 files changed, 5 insertions(+) diff --git a/ConfigWrapper.cc b/ConfigWrapper.cc index a130ba9a..19e2371a 100644 --- a/ConfigWrapper.cc +++ b/ConfigWrapper.cc @@ -34,6 +34,10 @@ namespace mkfit { fillZRgridME(); } + void setRemoveDuplicates(bool removeDuplicates) { + Config::removeDuplicates = removeDuplicates; + } + void setNTotalLayers(int nTotalLayers) { Config::nTotalLayers = nTotalLayers; } diff --git a/ConfigWrapper.h b/ConfigWrapper.h index bf7e48fb..102fa7c5 100644 --- a/ConfigWrapper.h +++ b/ConfigWrapper.h @@ -20,6 +20,7 @@ namespace mkfit { }; void initializeForCMSSW(SeedCleaningOpts seedClean, BackwardFit backfit, bool silent); + void setRemoveDuplicates(bool removeDuplicates); void setNTotalLayers(int nTotalLayers); }