-
Notifications
You must be signed in to change notification settings - Fork 35
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 optical collector for generating scintillation and Cerenkov distribution data #1173
Add optical collector for generating scintillation and Cerenkov distribution data #1173
Conversation
- Add optical state and params data for generating distributions - Refactor Cerenkov pre-generator to allocate distribution on stack - Add optical collector class - Add pre-generator action - Update optical test base and Cerenkov test
0f7b1c4
to
a632535
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks really good so far. I think it wouldn't be difficult to split the pregenerator refactoring into a separate PR?
Thanks @sethrj, yeah I can definitely move the pre-gen changes into a separate PR. |
8a93acf
to
ba566e4
Compare
@sethrj I'm happy to split this up further if you'd like since it's still a little large (maybe into actions/executors and collector/test). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
This adds an optical collector class to build the pre- and post-step actions for creating the optical distribution data. A test runs the stepping loop with these actions added and checks the generated distributions.