GENIEGenerator
|
Simple functions for loading and reading nucleus dependent keys from config files. More...
Functions | |
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) |
void | LoadAllIsotopesForKey (const char *key_name, const char *log_tool_name, Registry *config, map< int, double > *nuc_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) |
bool | GetValueFromNuclearMaps (const Target &target, const std::map< int, double > &nuc_to_val, const std::map< std::pair< int, int >, double > &nucA_range_to_val, double *val) |
void | LoadAllNucARangesForKey (const char *key_name, const char *log_tool_name, Registry *config, std::map< std::pair< int, int >, double > *nuc_rangeA_to_val) |
void | LoadAllIsotopesForKey (const char *key_name, const char *log_tool_name, Registry *config, std::map< int, double > *nuc_to_val) |
Simple functions for loading and reading nucleus dependent keys from config files.
bool genie::utils::config::GetDoubleKeyPDG | ( | const char * | valName, |
const int | pdgc, | ||
Registry * | config, | ||
double * | val | ||
) |
Definition at line 91 of file ConfigIsotopeMapUtils.cxx.
References genie::Registry::Exists(), genie::Registry::GetDoubleDef(), and genie::units::s.
Referenced by LoadAllIsotopesForKey(), and genie::EffectiveSF::LoadConfig().
bool genie::utils::config::GetDoubleKeyRangeNucA | ( | const char * | valName, |
const int | lowA, | ||
const int | highA, | ||
Registry * | config, | ||
double * | val | ||
) |
Definition at line 107 of file ConfigIsotopeMapUtils.cxx.
References genie::Registry::Exists(), genie::Registry::GetDoubleDef(), and genie::units::s.
Referenced by LoadAllNucARangesForKey(), and genie::EffectiveSF::LoadConfig().
bool genie::utils::config::GetValueFromNuclearMaps | ( | const Target & | target, |
const map< int, double > & | nuc_to_val, | ||
const map< pair< int, int >, double > & | nucA_range_to_val, | ||
double * | val | ||
) |
Definition at line 28 of file ConfigIsotopeMapUtils.cxx.
References genie::Target::A(), genie::pdg::IonPdgCode(), and genie::Target::Z().
Referenced by genie::EffectiveSF::GetTransEnh1p1hMod(), genie::TransverseEnhancementFFModel::GetTransEnhParams(), genie::EffectiveSF::ReturnBindingEnergy(), and genie::EffectiveSF::Returnf1p1h().
bool genie::utils::config::GetValueFromNuclearMaps | ( | const Target & | target, |
const std::map< int, double > & | nuc_to_val, | ||
const std::map< std::pair< int, int >, double > & | nucA_range_to_val, | ||
double * | val | ||
) |
void genie::utils::config::LoadAllIsotopesForKey | ( | const char * | key_name, |
const char * | log_tool_name, | ||
Registry * | config, | ||
std::map< int, double > * | nuc_to_val | ||
) |
void genie::utils::config::LoadAllIsotopesForKey | ( | const char * | key_name, |
const char * | log_tool_name, | ||
Registry * | config, | ||
map< int, double > * | nuc_to_val | ||
) |
Definition at line 73 of file ConfigIsotopeMapUtils.cxx.
References genie::units::A, GetDoubleKeyPDG(), genie::pdg::IonPdgCode(), LOG, and pINFO.
Referenced by genie::TransverseEnhancementFFModel::LoadConfig(), and genie::EffectiveSF::LoadConfig().
void genie::utils::config::LoadAllNucARangesForKey | ( | const char * | key_name, |
const char * | log_tool_name, | ||
Registry * | config, | ||
std::map< std::pair< int, int >, double > * | nuc_rangeA_to_val | ||
) |
void genie::utils::config::LoadAllNucARangesForKey | ( | const char * | key_name, |
const char * | log_tool_name, | ||
Registry * | config, | ||
map< pair< int, int >, double > * | nuc_rangeA_to_val | ||
) |
Definition at line 54 of file ConfigIsotopeMapUtils.cxx.
References GetDoubleKeyRangeNucA(), LOG, and pINFO.
Referenced by genie::TransverseEnhancementFFModel::LoadConfig(), and genie::EffectiveSF::LoadConfig().