Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor!: move useBeamSpotConstraint to vertexingOptions #2272

Merged
merged 31 commits into from
Aug 29, 2023

Conversation

felix-russo
Copy link
Contributor

@felix-russo felix-russo commented Jul 5, 2023

Previously, the boolean member variable useBeamSpotConstraint of the AMVF and IVF was set independently of the actual beam spot constraint which was part of the vertexingOptions. This PR moves useBeamSpotConstraint to vertexingOptions as well.

@github-actions github-actions bot added Component - Core Affects the Core module Component - Examples Affects the Examples module Component - Documentation Affects the documentation Vertexing labels Jul 5, 2023
@felix-russo felix-russo changed the title move useBeamSpotConstraint to vertexingOptions refactor: move useBeamSpotConstraint to vertexingOptions Jul 5, 2023
@paulgessinger paulgessinger added this to the next milestone Jul 5, 2023
@paulgessinger paulgessinger added the 🚧 WIP Work-in-progress label Jul 5, 2023
@paulgessinger paulgessinger marked this pull request as draft July 5, 2023 11:53
@codecov
Copy link

codecov bot commented Jul 5, 2023

Codecov Report

Merging #2272 (ec3a1bf) into main (c1e0cb5) will increase coverage by 0.07%.
Report is 2 commits behind head on main.
The diff coverage is 31.57%.

@@            Coverage Diff             @@
##             main    #2272      +/-   ##
==========================================
+ Coverage   49.53%   49.60%   +0.07%     
==========================================
  Files         453      453              
  Lines       25692    25691       -1     
  Branches    11819    11814       -5     
==========================================
+ Hits        12726    12744      +18     
+ Misses       4583     4569      -14     
+ Partials     8383     8378       -5     
Files Changed Coverage Δ
...Acts/Vertexing/AdaptiveGridDensityVertexFinder.ipp 51.94% <0.00%> (+1.31%) ⬆️
...clude/Acts/Vertexing/AdaptiveMultiVertexFinder.hpp 89.47% <ø> (ø)
...include/Acts/Vertexing/GridDensityVertexFinder.ipp 50.64% <0.00%> (+1.28%) ⬆️
...e/include/Acts/Vertexing/IterativeVertexFinder.hpp 80.00% <ø> (ø)
...nclude/Acts/Vertexing/TrackDensityVertexFinder.ipp 35.71% <0.00%> (+2.38%) ⬆️
...e/include/Acts/Vertexing/IterativeVertexFinder.ipp 26.69% <8.33%> (-0.51%) ⬇️
...clude/Acts/Vertexing/AdaptiveMultiVertexFinder.ipp 41.29% <12.50%> (+0.48%) ⬆️
Core/include/Acts/Vertexing/ZScanVertexFinder.ipp 46.15% <14.28%> (+22.51%) ⬆️
...include/Acts/Vertexing/FullBilloirVertexFitter.ipp 28.05% <55.55%> (+0.08%) ⬆️
Core/include/Acts/Vertexing/VertexingOptions.hpp 76.92% <76.92%> (-23.08%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@github-actions github-actions bot added the Infrastructure Changes to build tools, continous integration, ... label Jul 5, 2023
@felix-russo felix-russo marked this pull request as ready for review July 5, 2023 21:00
@paulgessinger
Copy link
Member

paulgessinger commented Jul 6, 2023

I guess this is breaking backward compatibility? Outputs seem unchanged on our end.

@paulgessinger paulgessinger removed the 🚧 WIP Work-in-progress label Jul 6, 2023
@felix-russo
Copy link
Contributor Author

I guess this is breaking backward compatibility? Outputs seem unchanged on our end.

Ah yes indeed it does! I didn't have this in mind when coding (I am still not used to working on such big projects). I guess this is a no-go?

@paulgessinger
Copy link
Member

No not at all, we just have to handle it correctly. I might have to ask you to do some checks on the Athena side to determine the impact (cc @CarloVarni @noemina)

@paulgessinger paulgessinger changed the title refactor: move useBeamSpotConstraint to vertexingOptions refactor!: move useBeamSpotConstraint to vertexingOptions Jul 6, 2023
@paulgessinger paulgessinger added the Breaking change This change breaks backwards compatibility label Jul 6, 2023
@paulgessinger paulgessinger modified the milestones: next, v28.0.0 Jul 6, 2023
Copy link
Member

@paulgessinger paulgessinger left a comment

Choose a reason for hiding this comment

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

Here are a few comments.

Can we get this in before the end of the week in time for v28?

@paulgessinger paulgessinger modified the milestones: v28.0.0, v29.0.0 Jul 27, 2023
felix-russo and others added 3 commits August 1, 2023 10:53
paulgessinger
paulgessinger previously approved these changes Aug 28, 2023
@paulgessinger
Copy link
Member

/run-experiment atlas

@paulgessinger
Copy link
Member

The bridged physmon job fails due (at least) 3 FPEs that are encountered. From the ckf_tracking log:

17:41:39    Sequencer      INFO      - FLTUND: (3 times) 
 0# Acts::AdaptiveMultiVertexFinder<Acts::AdaptiveMultiVertexFitter<Acts::GenericBoundTrackParameters<Acts::SinglyCharged>, Acts::HelicalTrackLinearizer<Acts::Propagator<Acts::EigenStepper<Acts::StepperExtensionList<Acts::detail::GenericDefaultExtension<double> >, Acts::detail::VoidAuctioneer>, Acts::detail::VoidNavigator>, Acts::PropagatorOptions<Acts::ActionList<>, Acts::AbortList<> > > >, Acts::TrackDensityVertexFinder<Acts::AdaptiveMultiVertexFitter<Acts::GenericBoundTrackParameters<Acts::SinglyCharged>, Acts::HelicalTrackLinearizer<Acts::Propagator<Acts::EigenStepper<Acts::StepperExtensionList<Acts::detail::GenericDefaultExtension<double> >, Acts::detail::VoidAuctioneer>, Acts::detail::VoidNavigator>, Acts::PropagatorOptions<Acts::ActionList<>, Acts::AbortList<> > > >, Acts::GaussianTrackDensity<Acts::GenericBoundTrackParameters<Acts::SinglyCharged> > > >::find(std::vector<Acts::GenericBoundTrackParameters<Acts::SinglyCharged> const*, std::allocator<Acts::GenericBoundTrackParameters<Acts::SinglyCharged> const*> > const&, Acts::VertexingOptions<Acts::GenericBoundTrackParameters<Acts::SinglyCharged> > const&, Acts::AdaptiveMultiVertexFinder<Acts::AdaptiveMultiVertexFitter<Acts::GenericBoundTrackParameters<Acts::SinglyCharged>, Acts::HelicalTrackLinearizer<Acts::Propagator<Acts::EigenStepper<Acts::StepperExtensionList<Acts::detail::GenericDefaultExtension<double> >, Acts::detail::VoidAuctioneer>, Acts::detail::VoidNavigator>, Acts::PropagatorOptions<Acts::ActionList<>, Acts::AbortList<> > > >, Acts::TrackDensityVertexFinder<Acts::AdaptiveMultiVertexFitter<Acts::GenericBoundTrackParameters<Acts::SinglyCharged>, Acts::HelicalTrackLinearizer<Acts::Propagator<Acts::EigenStepper<Acts::StepperExtensionList<Acts::detail::GenericDefaultExtension<double> >, Acts::detail::VoidAuctioneer>, Acts::detail::VoidNavigator>, Acts::PropagatorOptions<Acts::ActionList<>, Acts::AbortList<> > > >, Acts::GaussianTrackDensity<Acts::GenericBoundTrackParameters<Acts::SinglyCharged> > > >::State&) const [clone .isra.0] at /builds/acts/ci-bridge/src/Core/include/Acts/Vertexing/AdaptiveMultiVertexFinder.ipp:120
 1# ActsExamples::ProcessCode ActsExamples::AdaptiveMultiVertexFinderAlgorithm::executeAfterSeederChoice<Acts::TrackDensityVertexFinder<Acts::AdaptiveMultiVertexFitter<Acts::GenericBoundTrackParameters<Acts::SinglyCharged>, Acts::HelicalTrackLinearizer<Acts::Propagator<Acts::EigenStepper<Acts::StepperExtensionList<Acts::detail::GenericDefaultExtension<double> >, Acts::detail::VoidAuctioneer>, Acts::detail::VoidNavigator>, Acts::PropagatorOptions<Acts::ActionList<>, Acts::AbortList<> > > >, Acts::GaussianTrackDensity<Acts::GenericBoundTrackParameters<Acts::SinglyCharged> > >, Acts::AdaptiveMultiVertexFinder<Acts::AdaptiveMultiVertexFitter<Acts::GenericBoundTrackParameters<Acts::SinglyCharged>, Acts::HelicalTrackLinearizer<Acts::Propagator<Acts::EigenStepper<Acts::StepperExtensionList<Acts::detail::GenericDefaultExtension<double> >, Acts::detail::VoidAuctioneer>, Acts::detail::VoidNavigator>, Acts::PropagatorOptions<Acts::ActionList<>, Acts::AbortList<> > > >, Acts::TrackDensityVertexFinder<Acts::AdaptiveMultiVertexFitter<Acts::GenericBoundTrackParameters<Acts::SinglyCharged>, Acts::HelicalTrackLinearizer<Acts::Propagator<Acts::EigenStepper<Acts::StepperExtensionList<Acts::detail::GenericDefaultExtension<double> >, Acts::detail::VoidAuctioneer>, Acts::detail::VoidNavigator>, Acts::PropagatorOptions<Acts::ActionList<>, Acts::AbortList<> > > >, Acts::GaussianTrackDensity<Acts::GenericBoundTrackParameters<Acts::SinglyCharged> > > > >(ActsExamples::AlgorithmContext const&, Acts::TrackDensityVertexFinder<Acts::AdaptiveMultiVertexFitter<Acts::GenericBoundTrackParameters<Acts::SinglyCharged>, Acts::HelicalTrackLinearizer<Acts::Propagator<Acts::EigenStepper<Acts::StepperExtensionList<Acts::detail::GenericDefaultExtension<double> >, Acts::detail::VoidAuctioneer>, Acts::detail::VoidNavigator>, Acts::PropagatorOptions<Acts::ActionList<>, Acts::AbortList<> > > >, Acts::GaussianTrackDensity<Acts::GenericBoundTrackParameters<Acts::SinglyCharged> > > const&) const at /builds/acts/ci-bridge/src/Examples/Algorithms/Vertexing/src/AdaptiveMultiVertexFinderAlgorithm.cpp:161
 2# ActsExamples::AdaptiveMultiVertexFinderAlgorithm::execute(ActsExamples::AlgorithmContext const&) const at /builds/acts/ci-bridge/src/Examples/Algorithms/Vertexing/src/AdaptiveMultiVertexFinderAlgorithm.cpp:65
 3# ActsExamples::Sequencer::run()::{lambda()#1}::operator()() const::{lambda(tbb::detail::d1::blocked_range<unsigned long> const&)#1}::operator()(tbb::detail::d1::blocked_range<unsigned long> const&) const at /builds/acts/ci-bridge/src/Examples/Framework/src/Framework/Sequencer.cpp:505
 4# tbb::detail::d1::start_for<tbb::detail::d1::blocked_range<unsigned long>, ActsExamples::Sequencer::run()::{lambda()#1}::operator()() const::{lambda(tbb::detail::d1::blocked_range<unsigned long> const&)#1}, tbb::detail::d1::auto_partitioner const>::execute(tbb::detail::d1::execution_data&) at /usr/include/oneapi/tbb/parallel_for.h:172
 5# 0x00007FA411E61B3C in /usr/lib/x86_64-linux-gnu/libtbb.so.12
 6# 0x00007FA411E63DD8 in /usr/lib/x86_64-linux-gnu/libtbb.so.12
 7# 0x00007FA413C07B43 in /usr/lib/x86_64-linux-gnu/libc.so.6

Any ideas @felix-russo?

@paulgessinger paulgessinger merged commit 99050a8 into acts-project:main Aug 29, 2023
@acts-project-service acts-project-service added the Fails Athena tests This PR causes a failure in the Athena tests label Aug 29, 2023
@paulgessinger
Copy link
Member

Transient error, breaks (broke) the build though.

@paulgessinger paulgessinger added Breaks Athena build This PR breaks the Athena build and removed Fails Athena tests This PR causes a failure in the Athena tests labels Aug 29, 2023
@felix-russo felix-russo deleted the vtx-constr branch October 3, 2023 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaking change This change breaks backwards compatibility Breaks Athena build This PR breaks the Athena build Component - Core Affects the Core module Component - Documentation Affects the documentation Component - Examples Affects the Examples module Infrastructure Changes to build tools, continous integration, ... Vertexing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants