Inelasticity distributions: stores parametrizations and picks inelasticities. More...
#include <Primaries.h>
Public Member Functions | |
Y () | |
double | pickY (Settings *settings1, double pnu, int nu_nubar, int currentint) |
pick inelasticity y according to chosen model More... | |
double | Getyweight (double pnu, double y, int nu_nubar, int currentint) |
If you want to choose y from a flat distribution this is the weight it should have according to Connolly et al. (2011) | |
Inelasticity distributions: stores parametrizations and picks inelasticities.
Definition at line 38 of file Primaries.h.
Y::Y | ( | ) |
The Y class contains all of the parameterizations for generating inelasticity distributions We are following Connolly et al. (2011) but any model can be added.
Definition at line 330 of file Primaries.cc.
double Y::pickY | ( | Settings * | settings1, |
double | pnu, | ||
int | nu_nubar, | ||
int | currentint | ||
) |
pick inelasticity y according to chosen model
Pick an inelasticity y according to the model chosen.
Definition at line 408 of file Primaries.cc.