|
MARLEY (Model of Argon Reaction Low Energy Yields) v2.0.0
A Monte Carlo event generator for tens-of-MeV neutrino interactions
|
"Alpha-fit" neutrino source More...
#include <NeutrinoSource.hh>
Public Member Functions | |
| AlphaFitNeutrinoSource (int particle_id=marley_utils::ELECTRON_NEUTRINO, double Emin=0., double Emax=50., double Emean=13., double alpha=2.) | |
| 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. | |
Public Member Functions inherited from marley::NeutrinoSource | |
| 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. | |
Protected Attributes | |
| double | alpha_ |
| dimensionless pinching parameter | |
| double | C_ |
| dimensionless normalization constant | |
| double | Emax_ |
| double | Emean_ |
| mean neutrino energy | |
| double | Emin_ |
| minimum neutrino energy (MeV) | |
Protected Attributes inherited from marley::NeutrinoSource | |
| int | pid_ |
| PDG particle ID for the neutrinos produced by this source. | |
Additional Inherited Members | |
Static Public Member Functions inherited from marley::NeutrinoSource | |
| static bool | pdg_is_allowed (const int pdg) |
"Alpha-fit" neutrino source
Neutrino energies from this source are sampled from an "alpha-fit" spectrum (see, for example, equation 14 in Keil, Raffelt, & Janka, Astrophys. J. 590, 971 (2003)) with mean neutrino energy \(\langle E \rangle\) and fit parameter \(\alpha\). The probability density function is given by
\begin{align*}P(E) &= C\left(E/\langle E \rangle\right)^{\alpha} \exp\left(-(\alpha+1)\,E/\langle E \rangle\right) & \text{E}_\text{min} \leq E \leq \text{E}_\text{max} \end{align*}
where \(C\) is a normalization constant.
Definition at line 163 of file NeutrinoSource.hh.
| marley::AlphaFitNeutrinoSource::AlphaFitNeutrinoSource | ( | int | particle_id = marley_utils::ELECTRON_NEUTRINO, |
| double | Emin = 0., | ||
| double | Emax = 50., | ||
| double | Emean = 13., | ||
| double | alpha = 2. ) |
| particle_id | PDG particle ID for the neutrinos produced by this source |
| Emin | minimum allowed neutrino energy (MeV) |
| Emax | maximum allowed neutrino energy (MeV) |
| Emean | mean neutrino energy (MeV) |
| alpha | dimensionless pinching parameter |
Definition at line 88 of file NeutrinoSource.cc.
References marley::NeutrinoSource::NeutrinoSource(), alpha_, C_, Emax_, Emean_, Emin_, and pdf().
|
inlineoverridevirtual |
Get the maximum neutrino energy (MeV) that can be sampled by this source.
Implements marley::NeutrinoSource.
Definition at line 346 of file NeutrinoSource.hh.
References Emax_.
|
inlineoverridevirtual |
Get the minimum neutrino energy (MeV) that can be sampled by this source.
Implements marley::NeutrinoSource.
Definition at line 347 of file NeutrinoSource.hh.
References Emin_.
|
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.
Definition at line 115 of file NeutrinoSource.cc.
References alpha_, C_, Emax_, Emean_, and Emin_.
Referenced by AlphaFitNeutrinoSource().
|
protected |
dimensionless pinching parameter
Definition at line 188 of file NeutrinoSource.hh.
Referenced by AlphaFitNeutrinoSource(), and pdf().
|
protected |
dimensionless normalization constant
Definition at line 189 of file NeutrinoSource.hh.
Referenced by AlphaFitNeutrinoSource(), and pdf().
|
protected |
maximum neutrino energy (MeV)
Definition at line 182 of file NeutrinoSource.hh.
Referenced by AlphaFitNeutrinoSource(), get_Emax(), and pdf().
|
protected |
mean neutrino energy
Definition at line 187 of file NeutrinoSource.hh.
Referenced by AlphaFitNeutrinoSource(), and pdf().
|
protected |
minimum neutrino energy (MeV)
Definition at line 181 of file NeutrinoSource.hh.
Referenced by AlphaFitNeutrinoSource(), get_Emin(), and pdf().