MARLEY (Model of Argon Reaction Low Energy Yields)
v1.2.0
A Monte Carlo event generator for tens-of-MeV neutrino interactions
|
Supernova cooling neutrino source approximated using a Fermi-Dirac distribution. More...
#include <NeutrinoSource.hh>
Public Member Functions | |
FermiDiracNeutrinoSource (int particle_id=marley_utils::ELECTRON_NEUTRINO, double Emin=0., double Emax=50., double temp=3.5, double eta=0.) | |
virtual double | get_Emax () const override |
Get the maximum neutrino energy (MeV) that can be sampled by this source. | |
virtual double | get_Emin () const override |
Get the minimum neutrino energy (MeV) that can be sampled by this source. | |
virtual double | pdf (double E) const override |
Probability density function describing the incident neutrino energy distribution. More... | |
![]() | |
NeutrinoSource (int particle_id) | |
virtual int | get_pid () const |
Get the PDG particle ID for the neutrino type produced by this source. | |
virtual double | sample_incident_neutrino (int &pdg, marley::Generator &gen) const |
Samples an incident neutrino energy and loads pdg with the PDG code of the appropriate neutrino type. More... | |
Protected Attributes | |
double | C_ |
normalization constant (MeV2) | |
double | Emax_ |
maximum neutrino energy (MeV) | |
double | Emin_ |
minimum neutrino energy (MeV) | |
double | eta_ |
dimensionless pinching parameter | |
double | temperature_ |
temperature (MeV) | |
![]() | |
int | pid_ |
PDG particle ID for the neutrinos produced by this source. | |
Additional Inherited Members | |
![]() | |
static bool | pdg_is_allowed (const int pdg) |
Supernova cooling neutrino source approximated using a Fermi-Dirac distribution.
Neutrino energies from this source are sampled from a Fermi-Dirac distribution with temperature \(T\) (MeV) and pinching parameter \(\eta\). The probability density function is given by
\begin{align*} P(E) &= \frac{C\,E^2} {T^4\left[1+\exp\left(\frac{E}{T} - \eta\right)\right]} & \text{E}_\text{min} \leq E \leq \text{E}_\text{max} \end{align*}
where \(C\) is a normalization constant.
marley::FermiDiracNeutrinoSource::FermiDiracNeutrinoSource | ( | int | particle_id = marley_utils::ELECTRON_NEUTRINO , |
double | Emin = 0. , |
||
double | Emax = 50. , |
||
double | temp = 3.5 , |
||
double | eta = 0. |
||
) |
particle_id | PDG particle ID for the neutrinos produced by this source |
Emin | minimum allowed neutrino energy (MeV) |
Emax | maximum allowed neutrino energy (MeV) |
temp | temperature (MeV) |
eta | pinching parameter |
|
overridevirtual |
Probability density function describing the incident neutrino energy distribution.
The neutrino spectrum produced by this source will be folded with the relevant cross sections by a Generator object during event creation
E | neutrino energy (MeV) |
Implements marley::NeutrinoSource.