|
MARLEY (Model of Argon Reaction Low Energy Yields)
v1.2.0
A Monte Carlo event generator for tens-of-MeV neutrino interactions
|
A gamma-ray transition between two nuclear levels. More...
#include <Gamma.hh>
Public Member Functions | |
| Gamma (double energy=0., double rel_intensity=0., marley::Level *start_lev=nullptr, marley::Level *end_lev=nullptr) | |
| marley::Level * | end_level () const |
| Get a pointer to the Level that absorbs this γ-ray. | |
| double | energy () const |
| Get the energy of the emitted γ-ray (MeV) | |
| double | relative_intensity () const |
| Get the relative intensity for this transition. | |
| void | set_end_level (marley::Level *end_lev) |
| Set the Level that abosrbs this γ-ray. | |
| void | set_start_level (marley::Level *start_lev) |
| Set the Level that emits this γ-ray. | |
| marley::Level * | start_level () const |
| Get a pointer to the Level that emits this γ-ray. | |
Static Public Member Functions | |
| template<typename It > | |
| 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 relative_intensity_ member variable. More... | |
Protected Attributes | |
| marley::Level * | end_level_ |
| Pointer to the Level that absorbs this γ-ray. | |
| double | energy_ |
| Energy of the emitted gamma (MeV) | |
| double | relative_intensity_ |
| Relative intensity of the transition. | |
| marley::Level * | start_level_ |
| Pointer to the Level that emits this γ-ray. | |
A gamma-ray transition between two nuclear levels.
| marley::Gamma::Gamma | ( | double | energy = 0., |
| double | rel_intensity = 0., |
||
| marley::Level * | start_lev = nullptr, |
||
| marley::Level * | end_lev = nullptr |
||
| ) |
| energy | Energy of the emitted γ-ray (MeV) |
| rel_intensity | Relative intensity of this transition |
| start_lev | Pointer to the Level that de-excites by emitting this γ-ray |
|
inlinestatic |