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 GeantSimpleCalo output when Celeritas is enabled #1040

Merged
merged 7 commits into from
Dec 1, 2023

Conversation

sethrj
Copy link
Member

@sethrj sethrj commented Nov 29, 2023

The simple calorimeter SD implementation in #1014 was only tested with Geant4 disabled, so the call to SharedParams::Initialize would reset the output and prevent the calo from being printed at the end of the program run.

I also updated the local logger to use a mutex for output to avoid stepping on each other, and I fixed a few other small bugs while trying to get this to work.

@sethrj sethrj added bug Something isn't working external Integration with external components (VecGeom, Geant4, ROOT, HepMC3) labels Nov 29, 2023
@sethrj sethrj marked this pull request as ready for review November 29, 2023 22:15
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.

Thanks @sethrj! Ugly but working :)

@sethrj sethrj merged commit 2e2d09d into celeritas-project:develop Dec 1, 2023
19 checks passed
@sethrj sethrj deleted the simple-calo-output branch December 1, 2023 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working external Integration with external components (VecGeom, Geant4, ROOT, HepMC3)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants