Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
Isotope record from AME table. More...
#include <bayeux/materials/isotope.h>
Public Member Functions | |
int | get_Z () const |
Return Z. More... | |
int | get_A () const |
Return A. More... | |
int | get_N () const |
Return N. More... | |
double | get_nucleus_mass () const |
Return nucleus mass. More... | |
double | get_mass_excess () const |
Return mass excess. More... | |
double | get_binding_energy_per_nucleon () const |
Return binding energy per nucleon. More... | |
double | get_atomic_mass () const |
Return atomic mass. More... | |
record_type () | |
Default constructor. 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... | |
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 |
Public Attributes | |
std::string | symbol |
Chemical symbol of the element. More... | |
int | Z |
The number of protons. More... | |
int | A |
The number of nucleons. More... | |
double | mx |
Mass excess. More... | |
double | mx_err |
Error on mass excess. More... | |
double | bea |
Binding energy per nucleon. More... | |
double | bea_err |
Error on binding energy per nucleon. More... | |
double | am |
Atomic mass. More... | |
double | am_err |
Error on atomic mass. 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_) |
Isotope record from AME table.
materials::isotope::record_type::record_type | ( | ) |
Default constructor.
int materials::isotope::record_type::get_A | ( | ) | const |
Return A.
double materials::isotope::record_type::get_atomic_mass | ( | ) | const |
Return atomic mass.
double materials::isotope::record_type::get_binding_energy_per_nucleon | ( | ) | const |
Return binding energy per nucleon.
double materials::isotope::record_type::get_mass_excess | ( | ) | const |
Return mass excess.
int materials::isotope::record_type::get_N | ( | ) | const |
Return N.
double materials::isotope::record_type::get_nucleus_mass | ( | ) | const |
Return nucleus mass.
int materials::isotope::record_type::get_Z | ( | ) | const |
Return Z.
|
virtual |
Smart print.
Reimplemented from datatools::i_tree_dumpable.
int materials::isotope::record_type::A |
The number of nucleons.
double materials::isotope::record_type::am |
Atomic mass.
double materials::isotope::record_type::am_err |
Error on atomic mass.
double materials::isotope::record_type::bea |
Binding energy per nucleon.
double materials::isotope::record_type::bea_err |
Error on binding energy per nucleon.
double materials::isotope::record_type::mx |
Mass excess.
double materials::isotope::record_type::mx_err |
Error on mass excess.
std::string materials::isotope::record_type::symbol |
Chemical symbol of the element.
int materials::isotope::record_type::Z |
The number of protons.