![]() |
Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
Description of an alpha decay. More...
#include <bayeux/genbb_help/alpha_decay.h>
Public Member Functions | |
| alpha_decay () | |
| Default constructor. More... | |
| virtual | ~alpha_decay () |
| Destructor. More... | |
| bool | has_q_alpha () const |
| Check if Q alpha is set. More... | |
| void | set_q_alpha (double) |
| Set the Q alpha of the decay. More... | |
| double | get_q_alpha () const |
| Return the Q alpha of the decay. More... | |
| bool | has_A () const |
| Check if A is set. More... | |
| void | set_A (int) |
| Set the A of the parent nucleus. More... | |
| int | get_A () const |
| Return the A of the parent nucleus. More... | |
| bool | has_Z () const |
| Check if Z parent is set. More... | |
| void | set_Z (int) |
| Set the Z of the parent nucleus. More... | |
| int | get_Z () const |
| Return the Z of the parent nucleus. More... | |
| int | get_Z_parent () const |
| Return the Z of the parent nucleus. More... | |
| int | get_Z_daughter () const |
| Return the Z of the daughter nucleus. More... | |
| int | get_A_parent () const |
| Return the A of the parent nucleus. More... | |
| int | get_A_daughter () const |
| Return the A of the daughter nucleus. More... | |
| void | set_mass_parent (double) |
| Set the isotopic mass of the parent nucleus (not the atomic mass) More... | |
| double | get_mass_parent () const |
| Return the isotopic mass of the parent nucleus (not the atomic mass) More... | |
| void | set_mass_daughter (double) |
| Set the isotopic mass of the daughter nucleus (not the atomic mass) More... | |
| double | get_mass_daughter () const |
| Return the isotopic mass of the daughter nucleus (not the atomic mass) More... | |
| void | set_energy_parent (double) |
| Set the excitation energy of the parent nucleus. More... | |
| double | get_energy_parent () const |
| Return the excitation energy of the parent nucleus. More... | |
| void | set_energy_daughter (double) |
| Set the excitation energy of the daughter nucleus. More... | |
| double | get_energy_daughter () const |
| Return the isotopic mass of the daughter nucleus. More... | |
| bool | is_alpha_generated () const |
| Check the alpha generation flag. More... | |
| void | set_alpha_generated (bool) |
| Set the alpha generation flag. More... | |
| bool | is_daughter_generated () const |
| Check the daughter nucleus generation flag. More... | |
| void | set_daughter_generated (bool) |
| Set the daughter nucleus generation flag. More... | |
| void | set_levels (const nuclear_level &lstart_, const nuclear_level &lstop_) |
| Set the transition parameter from the start and stop levels. More... | |
| virtual void | tree_dump (std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const |
| Smart print. More... | |
| int | fire_event_kinematics (mygsl::rng &prng_, double &ka_, double &thetaa_, double &phia_, double &kr_, double &thetar, double &phir_) const |
| virtual void | initialize (const datatools::properties &config_) |
| Initialization. More... | |
| virtual void | reset () |
| Reset. More... | |
| virtual int | fill (mygsl::rng &prng_, genbb::primary_event &event_) |
| Shoot the kinematics of the decay and fill a primary event. More... | |
Public Member Functions inherited from genbb::base_decay_driver | |
| base_decay_driver () | |
| Default constructor. More... | |
| virtual | ~base_decay_driver () |
| Destructor. More... | |
| datatools::logger::priority | get_logging () const |
| Return the logging priority threshold. More... | |
| void | set_logging (datatools::logger::priority) |
| Set the logging priority threshold. More... | |
| bool | is_initialized () const |
| Check initialization status. More... | |
| void | initialize_simple () |
| Initialization. More... | |
Public Member Functions inherited from datatools::i_tree_dumpable | |
| i_tree_dumpable () | |
| Constructor. More... | |
| virtual | ~i_tree_dumpable () |
| Destructor. More... | |
| virtual void | print_tree (std::ostream &out_=std::clog, const boost::property_tree::ptree &options_=empty_options()) const |
| Main new interface method for printing. More... | |
| void | print_tree_json (std::ostream &out_=std::clog, const std::string &json_options_="") const |
| Printing with jsonized options. More... | |
| void | print_tree_json (std::ostream &out_=std::clog, const char *json_options_=nullptr) const |
| Printing with jsonized options. More... | |
| void | tree_dump_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="", const bool inherit_=false) const |
| void | tree_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="") const |
| void | smart_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="") const |
Protected Member Functions | |
| void | _set_default () |
| Set default values (initialization) More... | |
| void | _init () |
| Compute some internal data. More... | |
Protected Member Functions inherited from genbb::base_decay_driver | |
| void | _set_default () |
| Set the default attributes. More... | |
| void | _set_initialized (bool) |
| Set the initialization flag. More... | |
| void | _initialize (const datatools::properties &setup_) |
| Initialization. More... | |
Additional Inherited Members | |
Public Types inherited from datatools::i_tree_dumpable | |
| enum | ostream_type { OSTREAM_COUT = 1, OSTREAM_CERR = 2, OSTREAM_CLOG = 3 } |
| Enumeration for standard output streams. More... | |
Static Public Member Functions inherited from datatools::i_tree_dumpable | |
| static const boost::property_tree::ptree & | empty_options () |
| static boost::property_tree::ptree | make_base_print_options (const std::string &title_, const std::string &indent_="", const bool inherit_=false) |
| static std::ostream & | last_skip_tag (std::ostream &out_) |
| static std::ostream & | skip_tag (std::ostream &out_) |
| static std::ostream & | last_tag (std::ostream &out_) |
| static std::ostream & | tag (std::ostream &out_) |
Description of an alpha decay.
| genbb::alpha_decay::alpha_decay | ( | ) |
Default constructor.
|
virtual |
Destructor.
|
protected |
Compute some internal data.
|
protected |
Set default values (initialization)
|
virtual |
Shoot the kinematics of the decay and fill a primary event.
Implements genbb::base_decay_driver.
| int genbb::alpha_decay::fire_event_kinematics | ( | mygsl::rng & | prng_, |
| double & | ka_, | ||
| double & | thetaa_, | ||
| double & | phia_, | ||
| double & | kr_, | ||
| double & | thetar, | ||
| double & | phir_ | ||
| ) | const |
Shoot the kinematics of the decay:
| int genbb::alpha_decay::get_A | ( | ) | const |
Return the A of the parent nucleus.
| int genbb::alpha_decay::get_A_daughter | ( | ) | const |
Return the A of the daughter nucleus.
| int genbb::alpha_decay::get_A_parent | ( | ) | const |
Return the A of the parent nucleus.
| double genbb::alpha_decay::get_energy_daughter | ( | ) | const |
Return the isotopic mass of the daughter nucleus.
| double genbb::alpha_decay::get_energy_parent | ( | ) | const |
Return the excitation energy of the parent nucleus.
| double genbb::alpha_decay::get_mass_daughter | ( | ) | const |
Return the isotopic mass of the daughter nucleus (not the atomic mass)
| double genbb::alpha_decay::get_mass_parent | ( | ) | const |
Return the isotopic mass of the parent nucleus (not the atomic mass)
| double genbb::alpha_decay::get_q_alpha | ( | ) | const |
Return the Q alpha of the decay.
| int genbb::alpha_decay::get_Z | ( | ) | const |
Return the Z of the parent nucleus.
| int genbb::alpha_decay::get_Z_daughter | ( | ) | const |
Return the Z of the daughter nucleus.
| int genbb::alpha_decay::get_Z_parent | ( | ) | const |
Return the Z of the parent nucleus.
| bool genbb::alpha_decay::has_A | ( | ) | const |
Check if A is set.
| bool genbb::alpha_decay::has_q_alpha | ( | ) | const |
Check if Q alpha is set.
| bool genbb::alpha_decay::has_Z | ( | ) | const |
Check if Z parent is set.
|
virtual |
Initialization.
Implements genbb::base_decay_driver.
| bool genbb::alpha_decay::is_alpha_generated | ( | ) | const |
Check the alpha generation flag.
| bool genbb::alpha_decay::is_daughter_generated | ( | ) | const |
Check the daughter nucleus generation flag.
|
virtual |
Reset.
Implements genbb::base_decay_driver.
| void genbb::alpha_decay::set_A | ( | int | ) |
Set the A of the parent nucleus.
| void genbb::alpha_decay::set_alpha_generated | ( | bool | ) |
Set the alpha generation flag.
| void genbb::alpha_decay::set_daughter_generated | ( | bool | ) |
Set the daughter nucleus generation flag.
| void genbb::alpha_decay::set_energy_daughter | ( | double | ) |
Set the excitation energy of the daughter nucleus.
| void genbb::alpha_decay::set_energy_parent | ( | double | ) |
Set the excitation energy of the parent nucleus.
|
virtual |
Set the transition parameter from the start and stop levels.
Reimplemented from genbb::base_decay_driver.
| void genbb::alpha_decay::set_mass_daughter | ( | double | ) |
Set the isotopic mass of the daughter nucleus (not the atomic mass)
| void genbb::alpha_decay::set_mass_parent | ( | double | ) |
Set the isotopic mass of the parent nucleus (not the atomic mass)
| void genbb::alpha_decay::set_q_alpha | ( | double | ) |
Set the Q alpha of the decay.
| void genbb::alpha_decay::set_Z | ( | int | ) |
Set the Z of the parent nucleus.
|
virtual |
Smart print.
Reimplemented from genbb::base_decay_driver.
1.8.15