Skip to content

WIP: add JSON configuration

Daniel Charles Craik requested to merge dcraik-configuration into master

Functioning proof of concept for storing parameters in __constant__ memory and configuring via a JSON file.

  • Only the VELO parameters forward_phi_tolerance and max_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 to std::strings to remove risk from typos but probably better to add a std::map<std::string,Parameter*> lookup structure that can be populated the first time configureVelo() is called to avoid duplicating code for the readout

Merge request reports

Loading