WIP: add JSON configuration
Functioning proof of concept for storing parameters in __constant__
memory and configuring via a JSON file.
- Only the VELO parameters
forward_phi_tolerance
andmax_scatter_forwarding
currently supported - Configuration currently performed in
allen()
including a call to configure each component - might want to tidy it away somewhere - Readout of configured parameter values not yet supported
- Parameter names are currently string literals in
configureVelo()
- at a minimum these need to be saved tostd::string
s to remove risk from typos but probably better to add astd::map<std::string,Parameter*>
lookup structure that can be populated the first timeconfigureVelo()
is called to avoid duplicating code for the readout