celeritas
celeritas copied to clipboard
Replace SetupOptions with `inp::FrameworkInput`
The parameter setup that's evolved in accel is fragile and half-duplicated in several other places in the code. We want migrate to using the inp data structures.
UI integration:
- [ ] Add G4UI wrapper class that stores values into a JSON object (refactoring
SetupOptionMessengeras needed) - [ ] Add JSON converters for the key celeritas configuration classes (system, scoring, control)
Input integration:
- [ ] Have
SetOptionsconvert immediately toinp, haveSharedParamstakeFrameworkInput(and for backward compatibility, leave setupoptions) - [ ] Add a
SetInputmethod toIntegrationBase - [ ] At initialize, apply UI json options to stored input, then reset UI options