Skip to content

Commit

Permalink
hashing alg
Browse files Browse the repository at this point in the history
  • Loading branch information
cvarni committed Oct 1, 2024
1 parent f075090 commit 24775c5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ class SeedingAlgorithmHashing final : public IAlgorithm {
Acts::SeedFinder<SpacePointProxy_t,
Acts::CylindricalSpacePointGrid<SpacePointProxy_t>>
m_seedFinder;
std::unique_ptr<const Acts::GridBinFinder<2ul>> m_bottomBinFinder;
std::unique_ptr<const Acts::GridBinFinder<2ul>> m_topBinFinder;
std::unique_ptr<const Acts::GridBinFinder<3ul>> m_bottomBinFinder{nullptr};
std::unique_ptr<const Acts::GridBinFinder<3ul>> m_topBinFinder{nullptr};

Config m_cfg;

Expand Down
10 changes: 5 additions & 5 deletions Examples/Algorithms/TrackFinding/src/SeedingAlgorithmHashing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,10 @@ ActsExamples::SeedingAlgorithmHashing::SeedingAlgorithmHashing(
m_cfg.seedFinderConfig.experimentCuts.connect<itkFastTrackingCuts>();
}

m_bottomBinFinder = std::make_unique<const Acts::GridBinFinder<2ul>>(
m_cfg.numPhiNeighbors, m_cfg.zBinNeighborsBottom);
m_topBinFinder = std::make_unique<const Acts::GridBinFinder<2ul>>(
m_cfg.numPhiNeighbors, m_cfg.zBinNeighborsTop);
m_bottomBinFinder = std::make_unique<const Acts::GridBinFinder<3ul>>(
m_cfg.numPhiNeighbors, m_cfg.zBinNeighborsBottom, 0);
m_topBinFinder = std::make_unique<const Acts::GridBinFinder<3ul>>(
m_cfg.numPhiNeighbors, m_cfg.zBinNeighborsTop, 0);

m_cfg.seedFinderConfig.seedFilter =
std::make_unique<Acts::SeedFilter<SpacePointProxy_type>>(
Expand Down Expand Up @@ -279,7 +279,7 @@ ActsExamples::ProcessCode ActsExamples::SeedingAlgorithmHashing::execute(
m_cfg.seedFinderConfig, m_cfg.seedFinderOptions, grid,
spContainer.begin(), spContainer.end(), rRangeSPExtent);

std::array<std::vector<std::size_t>, 2ul> navigation;
std::array<std::vector<std::size_t>, 3ul> navigation;
navigation[1ul] = m_cfg.seedFinderConfig.zBinsCustomLooping;

// groups spacepoints
Expand Down

0 comments on commit 24775c5

Please sign in to comment.