icemc
 All Classes Namespaces Files Functions Variables Friends Macros Pages
Public Member Functions | List of all members
Y Class Reference

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...
 

Detailed Description

Inelasticity distributions: stores parametrizations and picks inelasticities.

Constructor & Destructor Documentation

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.

Member Function Documentation

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.


The documentation for this class was generated from the following files: