32 #ifndef GENBB_HELP_NUCLEAR_DECAY_H 33 #define GENBB_HELP_NUCLEAR_DECAY_H 1 40 #include <boost/scoped_ptr.hpp> 51 class base_decay_driver;
114 std::string
to_string(
unsigned int = 0)
const;
117 virtual void tree_dump(std::ostream & out_ = std::clog,
118 const std::string & title_ =
"",
119 const std::string & indent_ =
"",
120 bool inherit_ =
false)
const;
146 std::string _decay_id_;
151 boost::scoped_ptr<base_decay_driver> _decay_driver_;
157 #endif // GENBB_HELP_NUCLEAR_DECAY_H void set_logging(datatools::logger::priority)
Set the logging priority threshold.
datatools::handle< nuclear_decay > handle_type
Handle type.
Definition: nuclear_decay.h:59
const nuclear_level & get_level_initial() const
Return the parent level.
void initialize(const datatools::properties &config_, const std::map< std::string, datatools::handle< nuclear_level > > *levels_=0)
Initialize from a list of parameters and a dictionary of nuclear levels.
const datatools::properties & get_auxiliaries() const
Return auxiliary properties.
Base decay driver.
Definition: base_decay_driver.h:60
bool check_decay(std::string &) const
Check if the decay mode is compatible with parent and daughter levels.
bool is_initialized() const
Check initialization flag.
void _set_default()
Set attributes' default values.
void initialize_simple()
Standalone initialization.
datatools::properties & grab_auxiliaries()
Return auxiliary properties.
nuclear_decay()
Default constructor.
bool has_decay_id() const
Check if the decay identifier is set.
const nuclear_level & get_level_final() const
Return the daughter level.
virtual ~nuclear_decay()
Destructor.
Top-level namespace of the Bayeux/genbb_help module library.
Definition: alpha_decay.h:51
bool is_valid() const
Check validity.
void set_decay_id(const std::string &)
Set the decay identifier.
virtual void tree_dump(std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const
Smart print.
Utilities for logging information.
void set_level_final(const nuclear_level &)
Set the daughter level.
void _init_decay_driver(const datatools::properties &)
Initialization of the embedded decay driver.
void set_level_initial(const nuclear_level &)
Set the parent level.
Description of a nuclear decay.
Definition: nuclear_decay.h:54
std::string to_string(unsigned int=0) const
Return a descriptive string.
datatools::logger::priority get_logging() const
Return the logging priority threshold.
const std::string & get_decay_id() const
Return the decay identifier.
bool has_decay_driver() const
Check the decay driver avaibility.
Description of a nuclear level.
Definition: nuclear_level.h:53
base_decay_driver & grab_decay_driver()
Return the decay driver.