[WIP] Rewrite param guts
param files: (╯°□°)╯︵ ┻━┻
Attached is a quick conversion of the THcParmList to a json structure (and a pretty version).
The first problem I see is the lack of a logical hierarchy. For example, it should probably go like:
params["hms"]["cal"]["gain_constants"] ...
Questions to consider:
- How to pass around the handle? Use the
nlohmann::json
objects? - Should the whole "param list" be passed or, for example, should only the
params["hms"]["cal"]
get passed to the hms calorimeter? - How to move away from param files?
- What would a full replacement look like?