32 #ifndef GENBB_HELP_NUCLEAR_TRANSITION_H 33 #define GENBB_HELP_NUCLEAR_TRANSITION_H 1 177 virtual void tree_dump(std::ostream & out_ = std::clog,
178 const std::string & title_ =
"",
179 const std::string & indent_ =
"",
180 bool inherit_ =
false)
const;
204 double & phi2_)
const;
210 virtual void reset();
228 unsigned int _approx_flags_;
229 double _ic_k_shell_binding_energy_;
230 double _ic_l_shell_binding_energy_;
231 double _ic_m_shell_binding_energy_;
232 double _ic_k_shell_coefficient_;
233 double _ic_l_shell_coefficient_;
234 double _ic_m_shell_coefficient_;
235 double _pc_coefficient_;
237 bool _gamma_generated_;
238 bool _conversion_electron_generated_;
239 bool _conversion_pair_generated_;
261 #endif // GENBB_HELP_NUCLEAR_TRANSITION_H bool is_gamma_generated() const
Check the gamma generation flag.
bool is_conversion_pair_generated() const
Check the conversion pair generation flag.
Pair conversion.
Definition: nuclear_transition.h:77
void _set_default()
Set default values (initialization)
void set_ic_k_shell_binding_energy(double b_)
Set the binding energy of electron on K-shell.
void set_pc_coefficient(double c_)
Set the pair conversion coefficient.
void set_A(int)
Set the A of the excited nucleus.
void set_energy(double)
Set the energy.
nuclear_transition()
Constructor.
double get_ic_l_shell_coefficient() const
Return the IC coefficient of electron on L-shell.
Approximation mode with concurrent gamma emission, internal conversion from K/L/M shells and pair con...
Definition: nuclear_transition.h:66
void set_Z(int)
Set the Z of the excited nucleus.
void set_conversion_electron_generated(bool)
Set the conversion electron generation flag.
void set_ic_m_shell_coefficient(double b_)
Set the IC coefficient of electron on M-shell.
void set_ic_k_shell_coefficient(double b_)
Set the IC coefficient of electron on K-shell.
Base decay driver.
Definition: base_decay_driver.h:60
double get_ic_l_shell_binding_energy() const
Return the binding energy of electron on L-shell.
bool is_conversion_electron_generated() const
Check the conversion electron generation flag.
void set_ic_m_shell_binding_energy(double b_)
Set the binding energy of electron on M-shell.
void set_ic_l_shell_coefficient(double b_)
Set the IC coefficient of electron on L-shell.
#define GENBB_BDD_REGISTRATION_INTERFACE(GENBB_CLASS_NAME)
Definition: genbb_macros.h:35
Approximation mode with only gamma emission, neglecting conversion from K/L/M shells and pair convers...
Definition: nuclear_transition.h:65
virtual int fill(mygsl::rng &prng_, genbb::primary_event &event_)
Shoot the kinematics of the decay and fill a primary event.
double get_ic_m_shell_binding_energy() const
Return the binding energy of electron on M-shell.
Default approximation mode.
Definition: nuclear_transition.h:67
bool has_A() const
Check if A is set.
int get_A() const
Return the A of the excited nucleus.
virtual void initialize(const datatools::properties &config_)
Initialization.
DOCD_CLASS_DECLARATION(my::algo)
Declaration of the OCD support for the my::algo class.
double get_energy() const
Return the energy.
double get_ic_m_shell_coefficient() const
Return the IC coefficient of electron on M-shell.
Gamma emission.
Definition: nuclear_transition.h:73
Internal conversion on K-shell.
Definition: nuclear_transition.h:74
Internal conversion on M-shell.
Definition: nuclear_transition.h:76
Description of a deexcitation nuclear transition between two levels of the same nuclide (gamma + IC)
Definition: nuclear_transition.h:57
approx_flag_type
Approximation mode.
Definition: nuclear_transition.h:63
bool has_Z() const
Check if Z is set.
virtual void reset()
Reset.
virtual void tree_dump(std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const
Smart print.
int get_Z() const
Return the Z of the excited nucleus.
double get_pc_coefficient() const
Return the pair conversion coefficient.
Top-level namespace of the Bayeux/genbb_help module library.
Definition: alpha_decay.h:51
void set_gamma_generated(bool)
Set the gamma generation flag.
A primary event from a Monte-Carlo generator.
Definition: primary_event.h:60
int fire_event_kinematics(mygsl::rng &prng_, mode_type &mode_, double &eg_, double &thetag_, double &phig_, double &e1_, double &theta1_, double &phi1_, double &e2_, double &theta2_, double &phi2_) const
bool has_energy() const
Check if energy is set.
Internal conversion on L-shell.
Definition: nuclear_transition.h:75
void _init()
Compute some internal data.
mode_type
Deexcitation mode.
Definition: nuclear_transition.h:71
void set_conversion_pair_generated(bool)
Set the conversion pair generation flag.
double get_ic_k_shell_binding_energy() const
Return the binding energy of electron on K-shell.
double get_ic_k_shell_coefficient() const
Return the IC coefficient of electron on K-shell.
Null flag.
Definition: nuclear_transition.h:64
void set_ic_l_shell_binding_energy(double b_)
Set the binding energy of electron on L-shell.
virtual ~nuclear_transition()
Destructor.
Description of a nuclear level.
Definition: nuclear_level.h:53
void set_levels(const nuclear_level &lstart_, const nuclear_level &lstop_)
Set the transition parameter from the start and stop levels.
Pseudo random number generator.
Definition: rng.h:53
Invalid mode.
Definition: nuclear_transition.h:72