17#ifndef _CONFIG_UTILS_H
18#define _CONFIG_UTILS_H
29 const Target& target,
const std::map<int, double>& nuc_to_val,
30 const std::map<std::pair<int, int>,
double>& nucA_range_to_val,
34 std::map<std::pair<int, int>,
double>* nuc_rangeA_to_val);
A registry. Provides the container for algorithm configuration parameters.
A Neutrino Interaction Target. Is a transparent encapsulation of quite different physical systems suc...
Simple functions for loading and reading nucleus dependent keys from config files.
void LoadAllIsotopesForKey(const char *key_name, const char *log_tool_name, Registry *config, map< int, double > *nuc_to_val)
bool GetValueFromNuclearMaps(const Target &target, const map< int, double > &nuc_to_val, const map< pair< int, int >, double > &nucA_range_to_val, double *val)
void LoadAllNucARangesForKey(const char *key_name, const char *log_tool_name, Registry *config, map< pair< int, int >, double > *nuc_rangeA_to_val)
bool GetDoubleKeyPDG(const char *valName, const int pdgc, Registry *config, double *val)
bool GetDoubleKeyRangeNucA(const char *valName, const int lowA, const int highA, Registry *config, double *val)
Root of GENIE utility namespaces.
THE MAIN GENIE PROJECT NAMESPACE