Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Member Functions | Public Attributes | List of all members
materials::isotope::record_type Struct Reference

Isotope record from AME table. More...

#include <bayeux/materials/isotope.h>

Inheritance diagram for materials::isotope::record_type:
datatools::i_tree_dumpable

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_)
 

Detailed Description

Isotope record from AME table.

Constructor & Destructor Documentation

◆ record_type()

materials::isotope::record_type::record_type ( )

Default constructor.

Member Function Documentation

◆ get_A()

int materials::isotope::record_type::get_A ( ) const

Return A.

◆ get_atomic_mass()

double materials::isotope::record_type::get_atomic_mass ( ) const

Return atomic mass.

◆ get_binding_energy_per_nucleon()

double materials::isotope::record_type::get_binding_energy_per_nucleon ( ) const

Return binding energy per nucleon.

◆ get_mass_excess()

double materials::isotope::record_type::get_mass_excess ( ) const

Return mass excess.

◆ get_N()

int materials::isotope::record_type::get_N ( ) const

Return N.

◆ get_nucleus_mass()

double materials::isotope::record_type::get_nucleus_mass ( ) const

Return nucleus mass.

◆ get_Z()

int materials::isotope::record_type::get_Z ( ) const

Return Z.

◆ tree_dump()

virtual void materials::isotope::record_type::tree_dump ( std::ostream &  out_ = std::clog,
const std::string &  title_ = "",
const std::string &  indent_ = "",
bool  inherit_ = false 
) const
virtual

Smart print.

Reimplemented from datatools::i_tree_dumpable.

Member Data Documentation

◆ A

int materials::isotope::record_type::A

The number of nucleons.

◆ am

double materials::isotope::record_type::am

Atomic mass.

◆ am_err

double materials::isotope::record_type::am_err

Error on atomic mass.

◆ bea

double materials::isotope::record_type::bea

Binding energy per nucleon.

◆ bea_err

double materials::isotope::record_type::bea_err

Error on binding energy per nucleon.

◆ mx

double materials::isotope::record_type::mx

Mass excess.

◆ mx_err

double materials::isotope::record_type::mx_err

Error on mass excess.

◆ symbol

std::string materials::isotope::record_type::symbol

Chemical symbol of the element.

◆ Z

int materials::isotope::record_type::Z

The number of protons.


The documentation for this struct was generated from the following file: