From 9df72c540ab5ed19351d3dd7e95fcc92e4ba92d1 Mon Sep 17 00:00:00 2001 From: jmcarcell Date: Fri, 12 Jan 2024 10:15:19 +0100 Subject: [PATCH] Fix building with ACTS 31 --- 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;