32 #ifndef GENBB_HELP_NUCLEAR_DECAY_MANAGER_H 33 #define GENBB_HELP_NUCLEAR_DECAY_MANAGER_H 1 47 class multi_properties;
80 void load_level(
const std::string & level_name_,
83 void load_decay(
const std::string & decay_name_,
91 void load(
const std::string & filename_);
115 virtual void tree_dump(std::ostream & out_ = std::clog,
116 const std::string & title_ =
"",
117 const std::string & indent_ =
"",
118 bool inherit_ =
false)
const;
131 bool _do_decay_tables_;
137 #endif // GENBB_HELP_NUCLEAR_DECAY_MANAGER_H
void _install_decay_tables()
Install decay tables associated to nuclear levels.
void load(const std::string &filename_)
Load levels and decays from a configuration file.
std::map< std::string, datatools::handle< nuclear_level > > level_dict_type
Dictionary of nuclear levels.
Definition: nuclear_decay_manager.h:62
const decay_dict_type & get_decays() const
Return decays.
A nuclear decay manager.
Definition: nuclear_decay_manager.h:57
datatools::logger::priority get_logging() const
Return the logging priority threshold.
virtual void tree_dump(std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const
Smart print.
void initialize(const datatools::properties &config_)
Initialization from a list of properties.
Top-level namespace of the Bayeux/genbb_help module library.
Definition: alpha_decay.h:51
const level_dict_type & get_levels() const
Return levels.
void load_level(const std::string &level_name_, const datatools::properties &level_config_)
Load a nuclear level.
bool is_initialized() const
Check initialization.
std::map< std::string, datatools::handle< nuclear_decay > > decay_dict_type
Dictionary of nuclear decays.
Definition: nuclear_decay_manager.h:65
void load_decay_table(const std::string &level_name_, const datatools::properties &decay_table_config_)
Load a decay table for an existing level.
Utilities for logging information.
void initialize_simple()
Initialization.
nuclear_decay_manager()
Default constructor.
void set_logging(datatools::logger::priority)
Set the logging priority threshold.
void load_decay(const std::string &decay_name_, const datatools::properties &decay_config_)
Load a nuclear decay.
virtual ~nuclear_decay_manager()
Destructor.