Skip to content

refactor: Move of AdaptiveHT core codes to Core#5403

Open
tboldagh wants to merge 51 commits intoacts-project:mainfrom
tboldagh:cont-feat-adaptive-HT-to-core-seeding
Open

refactor: Move of AdaptiveHT core codes to Core#5403
tboldagh wants to merge 51 commits intoacts-project:mainfrom
tboldagh:cont-feat-adaptive-HT-to-core-seeding

Conversation

@tboldagh
Copy link
Copy Markdown
Contributor

The PR moves the implementation of AdaptiveHT from the test area to the core.

--- END COMMIT MESSAGE ---
In addition the the code cleanup and optimisation it includes as well set of unit tests.

The next step will be replacements in example algorithm

Contributor: @MWojniewski

@github-actions github-actions Bot added this to the next milestone Apr 30, 2026
@github-actions github-actions Bot added Component - Core Affects the Core module Component - Examples Affects the Examples module Seeding Track Finding labels Apr 30, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 30, 2026

📊: Physics performance monitoring for 654b133

Full contents

physmon summary

Copy link
Copy Markdown
Contributor

@andiwand andiwand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

had a quick first look and flagged a few minor issues with ACTS conventions

  • std::int32_t over int and std::uint32_t over unsigned
  • implicit conversions sonarcloud flagged
  • inline after sonarcloud flagged it
  • use of iostream in Core

apart from that I wondered if we want to put this directly into versioned API or if you planned to do additional breaking changes. this will likely slow down the developments as we would sync them with major version bumps

#include <cmath>
#include <concepts>
#include <functional>
#include <iostream> // remove me
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#include <iostream> // remove me

Comment on lines +346 to +350
std::cerr << "start ss.size: " << sectionsStack.size() << std::endl;
std::cerr << "start section decision: "
<< (sectionsStack[0].decision() ==
HoughAccumulatorSection::Decision::Drill)
<< std::endl;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here iostream is still used. is this temporary or can this be done with an Acts::Logger?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is leftover from debugging. Should be removed.

#include <iostream> // remove me
#include <vector>

namespace Acts {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

depending on how stable the API is we can put it into Acts or Acts::Experimental. in case you still want to change something and we put it into Acts we can only do this with major version changes

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Andi, this is excellent suggestion. Will do.

Comment thread Core/include/Acts/Seeding2/HoughAccumulatorSection.hpp Outdated
Comment thread Core/include/Acts/Seeding2/HoughAccumulatorSection.hpp Outdated
Comment thread Core/src/Seeding2/HoughAccumulatorSection.cpp Outdated
Comment thread Core/src/Seeding2/HoughAccumulatorSection.cpp Outdated
Comment thread Tests/UnitTests/Core/Seeding/HoughAccumulatorSectionTest.cpp Outdated
Comment thread Tests/UnitTests/Core/Seeding/HoughAccumulatorSectionTest.cpp Outdated
Comment thread Tests/UnitTests/Core/Seeding/HoughAccumulatorSectionTest.cpp Outdated
tboldagh and others added 26 commits May 5, 2026 10:08
Precise type specification

Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
Doxygen fix

Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
Precise types

Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
Precise type of literals

Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
Precise types

Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
Precise types

Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
Precise types

Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
Precise types

Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
Precise types

Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
Precise types

Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
Precise types

Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
Precise types

Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
Precise types

Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
Precise types

Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
Precise types

Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
Precise types

Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
Precise types

Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
Precise types

Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
Precise types

Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
Precise types

Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
Precise types

Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
Fixed inlining, exact types for literals and leftover unsigned -> uint32_t

Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 5, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component - Core Affects the Core module Component - Examples Affects the Examples module Seeding Track Finding

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants