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

Simulation Tweaks, main branch (2025.01.08.) #809

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

krasznaa
Copy link
Member

@krasznaa krasznaa commented Jan 8, 2025

Small improvements to the simulation code, taken from #773.

Made traccc::smearing_writer use std::filesystem for a little bit of additional robustness, and removed some awkwardness from the parameter passing in these classes.

To be honest, I don't remember anymore why I did this in #773. I think it helped with the CKF tests writing their test files into a more reasonable location...? 😕

P.S. The two const-ness changes are very much related to each other. I think the rvalue reference in smearing_writer was added because of the missing const in measurement_smearer. 🤔 Note that a copy is being made of the smearer no matter what. We just don't require a non-const original for the copy anymore.

@krasznaa krasznaa added the cleanup Makes the code all clean and tidy label Jan 8, 2025
Made traccc::smearing_writer use std::filesystem for a little
bit of additional robustness, and removed some awkwardness from
the parameter passing in these classes.
@krasznaa krasznaa force-pushed the SimulationTweak-main-20250108 branch from 08c356b to 32db4cb Compare January 8, 2025 13:58
Copy link

sonarqubecloud bot commented Jan 8, 2025

@krasznaa krasznaa enabled auto-merge January 8, 2025 14:10
@krasznaa krasznaa merged commit adab46d into acts-project:main Jan 8, 2025
29 checks passed
@krasznaa krasznaa deleted the SimulationTweak-main-20250108 branch January 8, 2025 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Makes the code all clean and tidy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants