18 #include "marley/marley_utils.hh"
19 #include "marley/MassTable.hh"
20 #include "marley/Parity.hh"
46 inline int get_Z()
const;
49 inline int get_A()
const;
67 : pid_(pid), two_s_(twoS), parity_(pi)
69 Z_ = marley_utils::get_particle_Z(pid);
70 A_ = marley_utils::get_particle_A(pid);
Simple container for storing reference data about each of the nuclear fragments considered by MARLEY'...
Definition: Fragment.hh:27
int get_Z() const
Get the atomic number of this fragment.
Definition: Fragment.hh:82
double get_mass() const
Get the mass (in MeV) of this fragment.
Definition: Fragment.hh:88
int get_two_s() const
Get two times the spin of this fragment.
Definition: Fragment.hh:76
Fragment(int pid, int twoS, marley::Parity pi)
Definition: Fragment.hh:66
int get_A() const
Get the mass number of this fragment.
Definition: Fragment.hh:85
int get_pid() const
Get the PDG particle ID for this fragment.
Definition: Fragment.hh:73
marley::Parity get_parity() const
Get the parity of this fragment.
Definition: Fragment.hh:79
static const MassTable & Instance()
Get a const reference to the singleton instance of the MassTable.
Definition: MassTable.cc:68
double get_particle_mass(int pdg_code) const
Get the mass of a particle.
Definition: MassTable.cc:83
Type-safe representation of a parity value (either +1 or -1)
Definition: Parity.hh:25