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
Gamma.cc
1
4//
5// This file is part of MARLEY (Model of Argon Reaction Low Energy Yields)
6//
7// MARLEY is free software: you can redistribute it and/or modify it under the
8// terms of version 3 of the GNU General Public License as published by the
9// Free Software Foundation.
10//
11// For the full text of the license please see COPYING or
12// visit http://opensource.org/licenses/GPL-3.0
13//
14// Please respect the MCnet academic usage guidelines. See GUIDELINES
15// or visit https://www.montecarlonet.org/GUIDELINES for details.
16
17#include "marley/Gamma.hh"
18
19marley::Gamma::Gamma(double energy, double rel_intensity,
20 marley::Level* start_lev, marley::Level* end_lev) : energy_(energy),
21 relative_intensity_(rel_intensity), start_level_(start_lev),
22 end_level_(end_lev)
23{
24}
double energy_
Energy of the emitted gamma (MeV)
Definition Gamma.hh:65
marley::Level * start_level_
Pointer to the Level that emits this γ-ray.
Definition Gamma.hh:69
double relative_intensity_
Relative intensity of the transition.
Definition Gamma.hh:66
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
Gamma(double energy=0., double rel_intensity=0., marley::Level *start_lev=nullptr, marley::Level *end_lev=nullptr)
Definition Gamma.cc:19
A discrete nuclear energy level.
Definition Level.hh:29