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) More... | |
Inelasticity distributions: stores parametrizations and picks inelasticities.
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.
double Y::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)
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.