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

Add G4SD "simple calorimeter" that outputs to JSON #1014

Merged
merged 5 commits into from
Nov 22, 2023

Conversation

sethrj
Copy link
Member

@sethrj sethrj commented Nov 13, 2023

This adds a "simple calorimeter" (event and thread integrated, differential per logical volume) detector that saves its output to JSON in the same format as the on-GPU calorimeters. This will let us do an accurate comparison of the cost for converting hits through the Geant4 layer versus directly storing on GPU.

@sethrj sethrj added enhancement New feature or request app Application front ends labels Nov 13, 2023
@sethrj sethrj added this to the v0.4.0 milestone Nov 13, 2023
@sethrj sethrj marked this pull request as ready for review November 20, 2023 21:18
@sethrj
Copy link
Member Author

sethrj commented Nov 20, 2023

@amandalund This is finally ready for review.

Copy link
Contributor

@amandalund amandalund left a comment

Choose a reason for hiding this comment

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

Nice, this look great @sethrj! I tried it (and the Celeritas simple calo) out with testem3 and the results look like we expect:

testem3-simple-calo

src/accel/detail/GeantSimpleCaloStorage.hh Outdated Show resolved Hide resolved
src/accel/detail/GeantSimpleCaloSD.cc Outdated Show resolved Hide resolved
src/accel/GeantSimpleCalo.cc Outdated Show resolved Hide resolved
src/accel/GeantSimpleCalo.cc Outdated Show resolved Hide resolved
@sethrj sethrj enabled auto-merge (squash) November 22, 2023 17:49
@sethrj sethrj merged commit d4daf26 into celeritas-project:develop Nov 22, 2023
12 checks passed
@sethrj sethrj deleted the geant-simple-calo branch December 2, 2023 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app Application front ends enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants