icemc
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | 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...
 

Private Member Functions

double pickYConnollyetal2011 (int NU, int CURRENT, double e)
 pick an inelasticity using recipe in Connolly et al. (2011) More...
 
double pickYGandhietal ()
 THIS IS A ROUGH PARAMETRIZATION OF PLOT 6 FROM Ghandhi,Reno,Quigg,Sarcevic hep-ph/9512364 (the curves are not in their later article). There is also a slow energy dependence. More...
 

Private Attributes

TF1 * ffrac
 This is the fraction of the distribution in the low y region given by Equation 18. More...
 
TF1 * fC1_high [2][2]
 parameterization of parameter C1 in the high y region according to Equation 16 More...
 
TF1 * fC1_low
 parameterization of parameter C1 in the low y region according to Equation 16. More...
 
TF1 * fC2
 parameterization of parameter C2 in the low y region according to Equation 17. More...
 
TF3 * fy0_low
 For picking inelasticity in low y region according to Equation 14. More...
 
TF2 * fy0_high
 For picking inelasticity in high y region according to Equation 15. More...
 
TRandom3 Rand3
 

Static Private Attributes

static constexpr double ymin_low = 0.00002
 Minimum y in low-y region, Connolly et al. More...
 
static constexpr double ymax_low =0.001
 Maximum y in low-y region, Connolly et al. More...
 
static constexpr double ymin_high =0.001
 Minimum y in high-y region, Connolly et al. More...
 
static constexpr double ymax_high =1.
 Maximum y in high-y region, Connolly et al. More...
 
static constexpr double dy_low =0.00002
 y step in low region, Connolly et al. More...
 
static constexpr double dy_high =0.001
 y step in high region, Connolly et al. More...
 
static constexpr double R1 =0.36787944
 1/e, used for Gandhi et al. More...
 
static constexpr double R2 =0.63212056
 1-R1, used for Gandhi et al. More...
 

Detailed Description

Inelasticity distributions: stores parametrizations and picks inelasticities.

Constructor & Destructor Documentation

◆ Y()

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

◆ Getyweight()

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)

◆ pickY()

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.

◆ pickYConnollyetal2011()

double Y::pickYConnollyetal2011 ( int  NU,
int  CURRENT,
double  e 
)
private

pick an inelasticity using recipe in Connolly et al. (2011)

◆ pickYGandhietal()

double Y::pickYGandhietal ( )
private

THIS IS A ROUGH PARAMETRIZATION OF PLOT 6 FROM Ghandhi,Reno,Quigg,Sarcevic hep-ph/9512364 (the curves are not in their later article). There is also a slow energy dependence.

Member Data Documentation

◆ dy_high

constexpr double Y::dy_high =0.001
staticprivate

y step in high region, Connolly et al.

◆ dy_low

constexpr double Y::dy_low =0.00002
staticprivate

y step in low region, Connolly et al.

◆ fC1_high

TF1* Y::fC1_high[2][2]
private

parameterization of parameter C1 in the high y region according to Equation 16

◆ fC1_low

TF1* Y::fC1_low
private

parameterization of parameter C1 in the low y region according to Equation 16.

◆ fC2

TF1* Y::fC2
private

parameterization of parameter C2 in the low y region according to Equation 17.

◆ ffrac

TF1* Y::ffrac
private

This is the fraction of the distribution in the low y region given by Equation 18.

◆ fy0_high

TF2* Y::fy0_high
private

For picking inelasticity in high y region according to Equation 15.

◆ fy0_low

TF3* Y::fy0_low
private

For picking inelasticity in low y region according to Equation 14.

◆ R1

constexpr double Y::R1 =0.36787944
staticprivate

1/e, used for Gandhi et al.

◆ R2

constexpr double Y::R2 =0.63212056
staticprivate

1-R1, used for Gandhi et al.

◆ Rand3

TRandom3 Y::Rand3
private

◆ ymax_high

constexpr double Y::ymax_high =1.
staticprivate

Maximum y in high-y region, Connolly et al.

◆ ymax_low

constexpr double Y::ymax_low =0.001
staticprivate

Maximum y in low-y region, Connolly et al.

◆ ymin_high

constexpr double Y::ymin_high =0.001
staticprivate

Minimum y in high-y region, Connolly et al.

◆ ymin_low

constexpr double Y::ymin_low = 0.00002
staticprivate

Minimum y in low-y region, Connolly et al.


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