32 #ifndef GENBB_HELP_ALPHA_DECAY_H 33 #define GENBB_HELP_ALPHA_DECAY_H 1 147 virtual void tree_dump(std::ostream & out_ = std::clog,
148 const std::string & title_ =
"",
149 const std::string & indent_ =
"",
150 bool inherit_ =
false)
const;
163 double & phir_)
const;
169 virtual void reset();
187 double _mass_parent_;
188 double _energy_parent_;
189 double _mass_daughter_;
190 double _energy_daughter_;
191 bool _alpha_generated_;
192 bool _daughter_generated_;
212 #endif // GENBB_HELP_ALPHA_DECAY_H bool has_q_alpha() const
Check if Q alpha is set.
void set_mass_daughter(double)
Set the isotopic mass of the daughter nucleus (not the atomic mass)
void set_alpha_generated(bool)
Set the alpha generation flag.
int get_A_parent() const
Return the A of the parent nucleus.
virtual ~alpha_decay()
Destructor.
void set_q_alpha(double)
Set the Q alpha of the decay.
Description of a two body decay.
Definition: two_body_decay.h:41
bool is_alpha_generated() const
Check the alpha generation flag.
void set_Z(int)
Set the Z of the parent nucleus.
int get_Z_daughter() const
Return the Z of the daughter nucleus.
virtual void reset()
Reset.
double get_q_alpha() const
Return the Q alpha of the decay.
double get_energy_parent() const
Return the excitation energy of the parent nucleus.
Base decay driver.
Definition: base_decay_driver.h:60
void _init()
Compute some internal data.
Description of an alpha decay.
Definition: alpha_decay.h:57
virtual void tree_dump(std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const
Smart print.
void set_energy_parent(double)
Set the excitation energy of the parent nucleus.
int get_Z_parent() const
Return the Z of the parent nucleus.
double get_energy_daughter() const
Return the isotopic mass of the daughter nucleus.
#define GENBB_BDD_REGISTRATION_INTERFACE(GENBB_CLASS_NAME)
Definition: genbb_macros.h:35
double get_mass_parent() const
Return the isotopic mass of the parent nucleus (not the atomic mass)
alpha_decay()
Default constructor.
bool is_daughter_generated() const
Check the daughter nucleus generation flag.
void set_daughter_generated(bool)
Set the daughter nucleus generation flag.
int fire_event_kinematics(mygsl::rng &prng_, double &ka_, double &thetaa_, double &phia_, double &kr_, double &thetar, double &phir_) const
DOCD_CLASS_DECLARATION(my::algo)
Declaration of the OCD support for the my::algo class.
void set_energy_daughter(double)
Set the excitation energy of the daughter nucleus.
bool has_A() const
Check if A is set.
void _set_default()
Set default values (initialization)
Top-level namespace of the Bayeux/genbb_help module library.
Definition: alpha_decay.h:51
bool has_Z() const
Check if Z parent is set.
void set_levels(const nuclear_level &lstart_, const nuclear_level &lstop_)
Set the transition parameter from the start and stop levels.
int get_A_daughter() const
Return the A of the daughter nucleus.
A primary event from a Monte-Carlo generator.
Definition: primary_event.h:60
double get_mass_daughter() const
Return the isotopic mass of the daughter nucleus (not the atomic mass)
virtual void initialize(const datatools::properties &config_)
Initialization.
void set_mass_parent(double)
Set the isotopic mass of the parent nucleus (not the atomic mass)
virtual int fill(mygsl::rng &prng_, genbb::primary_event &event_)
Shoot the kinematics of the decay and fill a primary event.
int get_A() const
Return the A of the parent nucleus.
int get_Z() const
Return the Z of the parent nucleus.
Description of a nuclear level.
Definition: nuclear_level.h:53
void set_A(int)
Set the A of the parent nucleus.
Pseudo random number generator.
Definition: rng.h:53