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

fix: G4 material converter #1803

Merged
merged 2 commits into from
Jan 27, 2023

Conversation

andiwand
Copy link
Contributor

@andiwand andiwand commented Jan 27, 2023

nucleus charge VS effective mass

somehow there is no nice solution to get the relative atomic mass in G4 so I had to go through the element class

@andiwand andiwand added Impact - Major Significant bug and/or affects a lot of modules Component - Plugins Affects one or more Plugins labels Jan 27, 2023
@andiwand andiwand added this to the next milestone Jan 27, 2023
@codecov
Copy link

codecov bot commented Jan 27, 2023

Codecov Report

Merging #1803 (9a8774e) into main (78defc3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1803   +/-   ##
=======================================
  Coverage   49.54%   49.54%           
=======================================
  Files         407      407           
  Lines       22618    22618           
  Branches    10318    10318           
=======================================
  Hits        11207    11207           
  Misses       4230     4230           
  Partials     7181     7181           

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

@github-actions
Copy link

📊 Physics performance monitoring for 9a8774e

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

@kodiakhq kodiakhq bot merged commit 8fc8c0a into acts-project:main Jan 27, 2023
@andiwand andiwand deleted the fix/g4-material-converter branch January 27, 2023 12:45
@@ -301,12 +303,14 @@ std::shared_ptr<Acts::HomogeneousSurfaceMaterial>
Acts::Geant4MaterialConverter::surfaceMaterial(const G4Material& g4Material,
ActsScalar original,
ActsScalar compressed) {
assert(g4Material.GetNumberOfElements() == 1);
Copy link
Contributor

Choose a reason for hiding this comment

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

In fact, if is a compound, one would have to do the averaging ...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

followed up on this here #1805

@paulgessinger paulgessinger modified the milestones: next, v23.1.0 Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Plugins Affects one or more Plugins Impact - Major Significant bug and/or affects a lot of modules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants