![]() |
TkN 2.1
Toolkit for Nuclei
|
Stores information on a gamma-ray decay. More...
Stores information on a gamma-ray decay.
See the tkn::tkdecay documentation
#include <tkdecay.h>
Public Member Functions | |
tkgammadecay (int _id, int _from_id, int _to_id, const tkdb_table::measure_data_struct &_struc) | |
virtual | ~tkgammadecay ()=default |
double | get_conv_coeff () |
returns the gamma conversion coefficient value More... | |
shared_ptr< tkmeasure > | get_conv_coeff_measure () |
returns the gamma conversion coefficient tkmeasure object More... | |
double | get_mixing_ratio () |
returns the gamma mixing ratio value More... | |
shared_ptr< tkmeasure > | get_mixing_ratio_measure () |
returns the gamma mixing ratio tkmeasure object More... | |
tkstring | get_multipolarity () |
get the transition multipolarity More... | |
double | get_relative_intensity () |
returns the gamma relative intensity (100% correspond the the more intence gamma-ray) More... | |
shared_ptr< tkmeasure > | get_relative_intensity_measure () |
returns the gamma relative intensity tkmeasure object (100% correspond the the more intence gamma-ray) More... | |
double | get_trans_prob (bool _elec, int _L, bool _WU) |
returns the gamma gamma transition probability value (ex: BE2 in Weiksopf units, get_trans_prob(1,2,1)) More... | |
shared_ptr< tkmeasure > | get_trans_prob_measure (bool _elec, int _L, bool _WU) |
returns the gamma transition probability tkmeasure object (ex: BE2 in Weiksopf units, get_trans_prob(1,2,1)) More... | |
void | set_conv_coeff (tkdb_table::measure_data_struct &_struc) |
set the conversion coeff More... | |
void | set_mixing_ratio (tkdb_table::measure_data_struct &_struc) |
set the mixing ratio info More... | |
void | set_multipolarity (const tkstring &_mul) |
set the relative intensity info More... | |
void | set_relative_intensity (double _val, double _unc) |
void | set_relative_intensity (tkdb_table::measure_data_struct &_struc) |
set the relative intensity info More... | |
void | set_transition_probability (tkdb_table::measure_data_struct &_struc) |
set the transition probability More... | |
![]() | |
tkdecay (int _id, int _from_id, int _to_id, const tkdb_table::measure_data_struct &_struc, decay_type _type) | |
virtual | ~tkdecay ()=default |
const tkstring & | get_comment () const |
get the level comment string More... | |
decay_type | get_decay_type () |
get the decay type More... | |
double | get_energy (const tkunit_manager::units_keys _unit=tkunit_manager::units_keys::keV) |
returns the energy in keV by default More... | |
shared_ptr< tkmeasure > | get_energy_meas () const |
returns the energy tkmeasure object More... | |
shared_ptr< tklevel > | get_level_from () |
get the parent level More... | |
shared_ptr< tklevel > | get_level_to () |
get the daughter level More... | |
bool | has_comment () const |
check if a comment exists More... | |
bool | is_uncertain () const |
check if the decay is uncertain More... | |
void | print (const tkstring &_option="") const |
print the decay properties More... | |
![]() | |
tkproperty_list (tkstring _name) | |
virtual | ~tkproperty_list ()=default |
shared_ptr< tkmeasure > | get (const tkstring &_property) const |
get the property as tkmeasure More... | |
vector< shared_ptr< tkmeasure > > | get_data_properties (const tkstring &_opt="*") |
get a vector of data properties according to a regular expression More... | |
const std::map< tkstring, property_string > | get_properties () |
get the properties map More... | |
tkstring | get_property (const tkstring &_property) const |
get the property value as a string More... | |
tkstring | get_property_type (const tkstring &_property) const |
get the property type as a string More... | |
tkstring | get_property_unit (const tkstring &_property) const |
get the property unnit as a string More... | |
bool | has_property (const tkstring &_property) const |
to check if the property is available More... | |
void | list_data_properties (const tkstring &_opt="*") const |
list the available tkmeasure properties More... | |
void | list_properties (const tkstring &_opt="*") const |
list the available properties More... | |
Friends | |
class | tkdataset |
class | tklevel_scheme |
Additional Inherited Members | |
![]() | |
enum | decay_type { kundef , kbeta , kec , kalpha , kparticle , kgamma } |
![]() | |
static array< tkstring, 6 > | decay_type_str = {"undefined", "beta", "ec", "alpha", "particle", "gamma"} |
|
inline |
|
virtualdefault |
double get_conv_coeff | ( | ) |
returns the gamma conversion coefficient value
This method returns the gamma conversion coefficient. A std::nan(1)
is returned in case no lifetime is known for this nucleus. It can be tested using tknucleus::has_property("conv")
prior to call this method or std::is_nan()
on the returned value.
Definition at line 238 of file tkdecay.cpp.
|
inline |
double get_mixing_ratio | ( | ) |
returns the gamma mixing ratio value
This method returns the gamma mixing ratio. A std::nan(1)
is returned in case no lifetime is known for this nucleus. It can be tested using tknucleus::has_property("mix ratio")
prior to call this method or std::is_nan()
on the returned value.
Definition at line 225 of file tkdecay.cpp.
|
inline |
|
inline |
double get_relative_intensity | ( | ) |
returns the gamma relative intensity (100% correspond the the more intence gamma-ray)
This method returns the gamma relative intensity in %. An intensity of 100% correspond the the more intence gamma-ray decaying from its parent level A std::nan(1)
is returned in case no lifetime is known for this nucleus. It can be tested using tknucleus::has_property("RI")
prior to call this method or std::is_nan()
on the returned value.
Definition at line 212 of file tkdecay.cpp.
|
inline |
double get_trans_prob | ( | bool | _elec, |
int | _L, | ||
bool | _WU | ||
) |
returns the gamma gamma transition probability value (ex: BE2 in Weiksopf units, get_trans_prob(1,2,1))
_elec | true for electric transition, false for magnetic |
_L | transfered momentum of the transiton (2 for a E2 transition) |
_WU | true to obtain the result in Weisskopf units |
This method returns the gamma transition probability value A std::nan(1)
is returned in case no lifetime is known for this nucleus.
Definition at line 262 of file tkdecay.cpp.
shared_ptr< tkmeasure > get_trans_prob_measure | ( | bool | _elec, |
int | _L, | ||
bool | _WU | ||
) |
returns the gamma transition probability tkmeasure object (ex: BE2 in Weiksopf units, get_trans_prob(1,2,1))
Definition at line 244 of file tkdecay.cpp.
void set_conv_coeff | ( | tkdb_table::measure_data_struct & | _struc | ) |
set the conversion coeff
Definition at line 181 of file tkdecay.cpp.
void set_mixing_ratio | ( | tkdb_table::measure_data_struct & | _struc | ) |
set the mixing ratio info
Definition at line 169 of file tkdecay.cpp.
void set_multipolarity | ( | const tkstring & | _mul | ) |
set the relative intensity info
Definition at line 164 of file tkdecay.cpp.
void set_relative_intensity | ( | double | _val, |
double | _unc | ||
) |
Definition at line 147 of file tkdecay.cpp.
void set_relative_intensity | ( | tkdb_table::measure_data_struct & | _struc | ) |
set the relative intensity info
Definition at line 136 of file tkdecay.cpp.
void set_transition_probability | ( | tkdb_table::measure_data_struct & | _struc | ) |
set the transition probability
Definition at line 192 of file tkdecay.cpp.
|
friend |