18 #include "marley/IteratorToMember.hh"
33 Gamma(
double energy = 0.,
double rel_intensity = 0.,
49 inline double energy()
const;
A gamma-ray transition between two nuclear levels.
Definition: Gamma.hh:25
double relative_intensity() const
Get the relative intensity for this transition.
Definition: Gamma.hh:85
double energy_
Energy of the emitted gamma (MeV)
Definition: Gamma.hh:65
marley::Level * start_level() const
Get a pointer to the Level that emits this γ-ray.
Definition: Gamma.hh:76
marley::Level * start_level_
Pointer to the Level that emits this γ-ray.
Definition: Gamma.hh:69
void set_end_level(marley::Level *end_lev)
Set the Level that abosrbs this γ-ray.
Definition: Gamma.hh:81
marley::Level * end_level() const
Get a pointer to the Level that absorbs this γ-ray.
Definition: Gamma.hh:80
double relative_intensity_
Relative intensity of the transition.
Definition: Gamma.hh:66
void set_start_level(marley::Level *start_lev)
Set the Level that emits this γ-ray.
Definition: Gamma.hh:77
double energy() const
Get the energy of the emitted γ-ray (MeV)
Definition: Gamma.hh:84
marley::Level * end_level_
Pointer to the Level that absorbs this γ-ray.
Definition: Gamma.hh:72
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...
Definition: Gamma.hh:89
Gamma(double energy=0., double rel_intensity=0., marley::Level *start_lev=nullptr, marley::Level *end_lev=nullptr)
Definition: Gamma.cc:19
Template class that creates an iterator to a class member based on an iterator to the class object.
Definition: IteratorToMember.hh:30
A discrete nuclear energy level.
Definition: Level.hh:29