A non-copyable mapping.
Definition register_maps_types.h:91
The object that does the compiling.
Definition Compile.h:57
std::map< std::string, std::map< std::string, int > > decompile(const std::map< int, std::map< int, uint8_t > > &compiled_config, bool be_careful)
unpack register values into the page names, parameter names and parameter values mapping
Definition Compile.cxx:121
Compiler(const ParameterLUT ¶meter_lut, const PageLUT &page_lut)
Private constructor, only access Compiler instances from the static get method so that we can ensure ...
Definition Compile.cxx:50
std::map< std::string, std::map< std::string, int > > defaults()
get the default parameter values as specified in the manual
Definition Compile.cxx:186
static Compiler get(const std::string &roc_type_version)
Get an instance of the compiler for the input HGCROC type_version string.
Definition Compile.cxx:42
void compile(const std::string &page, const std::string ¶m, const int &val, std::map< int, std::map< int, uint8_t > > ®isters)
Overlay a single parameter onto the input register map.
Definition Compile.cxx:53
void extract(const std::vector< std::string > &setting_files, std::map< std::string, std::map< std::string, int > > &settings)
Extract the page name, parameter name, and parameter values from the YAML files into the passed setti...
Definition Compile.cxx:197
std::vector< std::string > parameters(const std::string &page)
get the parameter names for the input page-type
Definition Compile.cxx:169
This version of the fast control code interfaces with the CMS Fast control library which can be contr...
Definition Backend.cxx:3
int str_to_int(std::string str)
Get an integer from the input string.
Definition Compile.cxx:13
std::string upper_cp(const std::string &str)
Get a copy of the input string with all caps.
Definition Compile.cxx:34
Header defining types stored within the parameter to register mappings.