|
MARLEY (Model of Argon Reaction Low Energy Yields) v2.0.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. | |
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. | |
| 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 |
Definition at line 19 of file Gamma.cc.
References end_level_, energy(), energy_, relative_intensity_, and start_level_.
|
inline |
Get a pointer to the Level that absorbs this γ-ray.
Definition at line 80 of file Gamma.hh.
References end_level_.
Referenced by marley::DecayScheme::do_cascade().
|
inline |
|
inlinestatic |
Convert an iterator that points to a Gamma object into an iterator that points to the Gamma's relative_intensity_ member variable.
This function is used to load the std::discrete_distribution in the starting Level object with the intensities of the gammas that it owns without redundant storage.
Definition at line 89 of file Gamma.hh.
References relative_intensity_.
|
inline |
Get the relative intensity for this transition.
Definition at line 85 of file Gamma.hh.
References relative_intensity_.
|
inline |
Set the Level that abosrbs this γ-ray.
Definition at line 81 of file Gamma.hh.
References end_level_.
|
inline |
Set the Level that emits this γ-ray.
Definition at line 77 of file Gamma.hh.
References start_level_.
|
inline |
Get a pointer to the Level that emits this γ-ray.
Definition at line 76 of file Gamma.hh.
References start_level_.
|
protected |
Pointer to the Level that absorbs this γ-ray.
Definition at line 72 of file Gamma.hh.
Referenced by Gamma(), end_level(), and set_end_level().
|
protected |
|
protected |
Relative intensity of the transition.
Definition at line 66 of file Gamma.hh.
Referenced by Gamma(), make_intensity_iterator(), and relative_intensity().
|
protected |
Pointer to the Level that emits this γ-ray.
Definition at line 69 of file Gamma.hh.
Referenced by Gamma(), set_start_level(), and start_level().