Functions you need to generate a primary interaction including cross sections and picking charged current/neutral current and flavor Primaries. More...
#include <Primaries.h>
Public Member Functions | |
double | pickY (Settings *settings1, double pnu, int nu_nubar, int currentint) |
pick inelasticity y according to chosen model | |
double | Getyweight (double pnu, double y, int nu_nubar, int currentint) |
in case you choose y from a flat distribution, this is the weight you should give it according to Connolly et al. (2011) | |
Primaries () | |
constructor | |
~Primaries () | |
*primary1 must be manually deleted in icemc for deconstructor to actually be called. More... | |
int | GetSigma (double pnu, double &sigma, double &len_int_kgm2, Settings *settings1, int nu_nubar, int currentint) |
Neutrino-nucleon cross-sections using model chosen. | |
int | GetCurrent (double pnu, Settings *settings, int n_nubar) |
string | GetNuFlavor () |
pick a neutrino type, flavor ratio 1:1:1 | |
Public Attributes | |
double | A_low [4] |
Table V of Connolly et al. for use in Eq. 16. Same for any nu_nubar and current type. | |
double | A0_high [2][2] |
Table V of Connolly et al. for use in Eq. 16. | |
double | A1_high [2][2] |
Table V of Connolly et al. for use in Eq. 16. | |
double | A2_high [2][2] |
Table V of Connolly et al. for use in Eq. 16. | |
double | A3_high [2][2] |
Table V of Connolly et al. for use in Eq. 16. | |
double | b0 |
Eq. 17 of Connolly et al. | |
double | b1 |
Eq. 17 of Connolly et al. | |
TF1 * | m_fy [2][2] |
TF1 * | m_fsigma [2][2] |
double | c0 [2][2] |
Table V of Connolly et al. for Eq. 7. | |
double | c1 [2][2] |
Table V of Connolly et al. for Eq. 7. | |
double | c2 [2][2] |
Table V of Connolly et al. for Eq. 7. | |
double | c3 [2][2] |
Table V of Connolly et al. for Eq. 7. | |
double | c4 [2][2] |
Table V of Connolly et al. for Eq. 7. | |
double | mine [NSIGMAS] |
minimum energy for cross section parametrizations, in eV | |
double | maxe [NSIGMAS] |
minimum energy for cross section parametrizations, in eV | |
Static Public Attributes | |
static constexpr int | NSIGMAS =2 |
Functions you need to generate a primary interaction including cross sections and picking charged current/neutral current and flavor Primaries.
Definition at line 83 of file Primaries.h.
Primaries::~Primaries | ( | ) |
*primary1 must be manually deleted in icemc for deconstructor to actually be called.
destructor
Definition at line 146 of file Primaries.cc.
|
static |
number of possible cross section models 0=Gandhi et al. 1=Connolly et al. 2011
Definition at line 113 of file Primaries.h.