18#include "marley/IteratorToMember.hh"
33 Gamma(
double energy = 0.,
double rel_intensity = 0.,
49 inline double energy()
const;
double relative_intensity() const
Get the relative intensity for this transition.
double energy_
Energy of the emitted gamma (MeV)
marley::Level * start_level() const
Get a pointer to the Level that emits this γ-ray.
marley::Level * start_level_
Pointer to the Level that emits this γ-ray.
void set_end_level(marley::Level *end_lev)
Set the Level that abosrbs this γ-ray.
marley::Level * end_level() const
Get a pointer to the Level that absorbs this γ-ray.
double relative_intensity_
Relative intensity of the transition.
void set_start_level(marley::Level *start_lev)
Set the Level that emits this γ-ray.
double energy() const
Get the energy of the emitted γ-ray (MeV)
marley::Level * end_level_
Pointer to the Level that absorbs this γ-ray.
static marley::IteratorToMember< It, double > make_intensity_iterator(It it)
Convert an iterator that points to a Gamma object into an iterator that points to the Gamma's relativ...
Gamma(double energy=0., double rel_intensity=0., marley::Level *start_lev=nullptr, marley::Level *end_lev=nullptr)
Template class that creates an iterator to a class member based on an iterator to the class object.
A discrete nuclear energy level.