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;