From 9a82687d6e5dff38abf89052bda95afd402f0bcf Mon Sep 17 00:00:00 2001 From: Juan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com> Date: Fri, 12 Jan 2024 15:26:45 +0100 Subject: [PATCH] Fix building with ACTS 31 (#333) Co-authored-by: jmcarcell --- analyzers/dataframe/src/VertexFinderActs.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/analyzers/dataframe/src/VertexFinderActs.cc b/analyzers/dataframe/src/VertexFinderActs.cc index ce9f110ec7..af9af72425 100644 --- a/analyzers/dataframe/src/VertexFinderActs.cc +++ b/analyzers/dataframe/src/VertexFinderActs.cc @@ -102,7 +102,7 @@ VertexFinderAMVF(ROOT::VecOps::RVec tracks ){ using Finder = Acts::AdaptiveMultiVertexFinder; //using Finder = Acts::AdaptiveMultiVertexFinder; //Finder::Config finderConfig(std::move(fitter), seedFinder, ipEstimator, linearizer); - Finder::Config finderConfig = {std::move(fitter), seedFinder, ipEstimator, + Finder::Config finderConfig = {std::move(fitter), std::move(seedFinder), ipEstimator, std::move(linearizer), bField}; #if ACTS_VERSION_MAJOR < 29 @@ -116,7 +116,11 @@ VertexFinderAMVF(ROOT::VecOps::RVec tracks ){ //finderConfig.maxIterations = 10000;//100; // Instantiate the finder +#if ACTS_VERSION_MAJOR >= 31 + Finder finder(std::move(finderConfig));//, Acts::getDefaultLogger("Finder", Acts::Logging::VERBOSE)); +#else Finder finder(finderConfig);//, Acts::getDefaultLogger("Finder", Acts::Logging::VERBOSE)); +#endif // The vertex finder state Finder::State state;