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: Remove LoggerWrapper in favor of Logger refs #1812

Merged
merged 21 commits into from
Feb 1, 2023

Conversation

paulgessinger
Copy link
Member

To harmonize / simplify the ways that loggers are used, this PR removes LoggerWrapper. To support the case of e.g. functions optionally accepting a logger, we can use const Logger& and default it to getDummyLogger. Since getDummyLogger returns a reference to a logger instance of static lifetime, all the arguments should be safe, even if they are retained (I think).

@paulgessinger paulgessinger added this to the next milestone Jan 30, 2023
@codecov
Copy link

codecov bot commented Jan 30, 2023

Codecov Report

Merging #1812 (4f058c5) into main (b90891f) will increase coverage by 0.01%.
The diff coverage is 37.50%.

@@            Coverage Diff             @@
##             main    #1812      +/-   ##
==========================================
+ Coverage   49.54%   49.56%   +0.01%     
==========================================
  Files         407      407              
  Lines       22626    22618       -8     
  Branches    10322    10316       -6     
==========================================
  Hits        11211    11211              
+ Misses       4230     4227       -3     
+ Partials     7185     7180       -5     
Impacted Files Coverage Δ
...Data/detail/CorrectedTransformationFreeToBound.hpp 100.00% <ø> (ø)
Core/include/Acts/Propagator/AtlasStepper.hpp 71.85% <ø> (ø)
Core/include/Acts/Propagator/EigenStepper.hpp 71.42% <ø> (ø)
.../include/Acts/Propagator/MultiEigenStepperLoop.hpp 72.18% <ø> (ø)
...re/include/Acts/Propagator/StraightLineStepper.hpp 71.66% <ø> (ø)
.../include/Acts/Propagator/detail/SteppingHelper.hpp 53.84% <ø> (ø)
.../include/Acts/TrackFinding/MeasurementSelector.hpp 38.09% <ø> (ø)
...e/include/Acts/TrackFitting/GainMatrixSmoother.hpp 52.08% <ø> (ø)
...re/include/Acts/TrackFitting/GainMatrixUpdater.hpp 10.00% <ø> (ø)
Core/include/Acts/TrackFitting/GsfOptions.hpp 100.00% <ø> (ø)
... and 11 more

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

@github-actions
Copy link

github-actions bot commented Jan 30, 2023

📊 Physics performance monitoring for 4f058c5

Full report
Seeding: seeded, truth estimated, orthogonal
CKF: seeded, truth smeared, truth estimated, orthogonal
IVF: seeded, truth smeared, truth estimated, orthogonal
Ambiguity resolution: seeded, orthogonal
Truth tracking
Truth tracking (GSF)

Vertexing

Vertexing vs. mu
IVF seeded

IVF truth_smeared

IVF truth_estimated

IVF orthogonal

Seeding

Seeding seeded

Seeding truth_estimated

Seeding orthogonal

CKF

CKF seeded

CKF truth_smeared

CKF truth_estimated

CKF orthogonal

Ambiguity resolution

seeded

Truth tracking (Kalman Filter)

Truth tracking

Truth tracking (GSF)

Truth tracking

Copy link
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.

looks good! thanks for this 👍

@andiwand andiwand self-assigned this Jan 31, 2023
@kodiakhq kodiakhq bot merged commit 38926ae into acts-project:main Feb 1, 2023
@github-actions github-actions bot removed the automerge label Feb 1, 2023
@paulgessinger paulgessinger modified the milestones: next, v23.1.0 Feb 2, 2023
wdconinc added a commit to eic/EICrecon that referenced this pull request Oct 16, 2023
wdconinc added a commit to eic/EICrecon that referenced this pull request Oct 17, 2023
wdconinc added a commit to eic/EICrecon that referenced this pull request Oct 25, 2023
wdconinc added a commit to eic/EICrecon that referenced this pull request Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants