MARLEY (Model of Argon Reaction Low Energy Yields) v2.0.0
A Monte Carlo event generator for tens-of-MeV neutrino interactions
Loading...
Searching...
No Matches
marley::Fragment Class Reference

Simple container for storing reference data about each of the nuclear fragments considered by MARLEY's compound nucleus de-excitation models. More...

#include <Fragment.hh>

Public Member Functions

 Fragment (int pid, int twoS, marley::Parity pi)
 
int get_A () const
 Get the mass number of this fragment.
 
double get_mass () const
 Get the mass (in MeV) of this fragment.
 
marley::Parity get_parity () const
 Get the parity of this fragment.
 
int get_pid () const
 Get the PDG particle ID for this fragment.
 
int get_two_s () const
 Get two times the spin of this fragment.
 
int get_Z () const
 Get the atomic number of this fragment.
 

Detailed Description

Simple container for storing reference data about each of the nuclear fragments considered by MARLEY's compound nucleus de-excitation models.

Definition at line 27 of file Fragment.hh.

Constructor & Destructor Documentation

◆ Fragment()

marley::Fragment::Fragment ( int pid,
int twoS,
marley::Parity pi )
inline
Parameters
pidPDG particle ID
twoSTwo times the fragment's spin
piThe fragment's parity

Definition at line 66 of file Fragment.hh.

67 : pid_(pid), two_s_(twoS), parity_(pi)
68{
69 Z_ = marley_utils::get_particle_Z(pid);
70 A_ = marley_utils::get_particle_A(pid);
71}

Member Function Documentation

◆ get_A()

int marley::Fragment::get_A ( ) const
inline

Get the mass number of this fragment.

Definition at line 85 of file Fragment.hh.

86 { return A_; }

◆ get_mass()

double marley::Fragment::get_mass ( ) const
inline

Get the mass (in MeV) of this fragment.

Definition at line 88 of file Fragment.hh.

static const MassTable & Instance()
Get a const reference to the singleton instance of the MassTable.
Definition MassTable.cc:69
double get_particle_mass(int pdg_code) const
Get the mass of a particle.
Definition MassTable.cc:84

References marley::MassTable::get_particle_mass(), and marley::MassTable::Instance().

◆ get_parity()

marley::Parity marley::Fragment::get_parity ( ) const
inline

Get the parity of this fragment.

Definition at line 79 of file Fragment.hh.

80 { return parity_; }

Referenced by marley::FragmentDiscreteExitChannel::compute_total_width().

◆ get_pid()

int marley::Fragment::get_pid ( ) const
inline

Get the PDG particle ID for this fragment.

Definition at line 73 of file Fragment.hh.

74 { return pid_; }

Referenced by marley::MassTable::fragment_emission_threshold(), and marley::MassTable::unbound_threshold().

◆ get_two_s()

int marley::Fragment::get_two_s ( ) const
inline

Get two times the spin of this fragment.

Definition at line 76 of file Fragment.hh.

77 { return two_s_; }

Referenced by marley::FragmentDiscreteExitChannel::compute_total_width().

◆ get_Z()

int marley::Fragment::get_Z ( ) const
inline

Get the atomic number of this fragment.

Definition at line 82 of file Fragment.hh.

83 { return Z_; }

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