Skip to content

Commit

Permalink
Merge pull request #259 from kjvbrt/acts
Browse files Browse the repository at this point in the history
Fixes in ACTS dependent analyzers
  • Loading branch information
BrieucF committed Mar 28, 2023
2 parents 6e93bbe + 8e9bab5 commit d88f938
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions analyzers/dataframe/src/VertexFinderActs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ VertexFinderAMVF(ROOT::VecOps::RVec<edm4hep::TrackState> tracks ){

// Set up deterministic annealing with user-defined temperatures
std::vector<double> temperatures{8.0, 4.0, 2.0, 1.4142136, 1.2247449, 1.0};
Acts::AnnealingUtility::Config annealingConfig(temperatures);
Acts::AnnealingUtility::Config annealingConfig;
annealingConfig.setOfTemperatures = temperatures;
Acts::AnnealingUtility annealingUtility(annealingConfig);


Expand Down Expand Up @@ -101,7 +102,8 @@ VertexFinderAMVF(ROOT::VecOps::RVec<edm4hep::TrackState> tracks ){
using Finder = Acts::AdaptiveMultiVertexFinder<Fitter, SeedFinder>;
//using Finder = Acts::AdaptiveMultiVertexFinder<Fitter, VertexSeedFinder>;
//Finder::Config finderConfig(std::move(fitter), seedFinder, ipEstimator, linearizer);
Finder::Config finderConfig(std::move(fitter), seedFinder, ipEstimator, linearizer, bField);
Finder::Config finderConfig = {std::move(fitter), seedFinder, ipEstimator,
std::move(linearizer), bField};

// We do not want to use a beamspot constraint here
finderConfig.useBeamSpotConstraint = false;
Expand Down

0 comments on commit d88f938

Please sign in to comment.