15 #include "Primaries.h" 50 vector<double> mydensityvector;
52 vector<double> myavgdensityvector;
54 vector<double> myenergyvector;
55 vector<double> myPsurvvector;
56 vector<double> etaufarray;
57 vector<double> PDFarray;
61 void GetDensityVectors(
IceModel *antarctica1,
Interaction *interaction1,
Vector nchord,
double step,
double Distance,
int &totalnusteps,
int &crust_entered);
64 void GetEnergyVector(
double Etau_final,
double step,
int totalnusteps,
int &totalsteps,
double &totaltaudistance,
double pnu);
68 void GetTauSurvVector(
double step,
int totalsteps);
74 double weight_nu_prob;
double weight_tau_prob
Weight for tau neutrino to interact, create a tau, tau survives and decays in the ice...
Reads in and stores input settings for the run.
Functions you need to generate a primary interaction including cross sections and picking charged cur...
Stores everything about a particular neutrino interaction. Interaction.
double GetTauWeight(Primaries *primary1, Settings *settings1, IceModel *antarctica1, Interaction *interaction1, double pnu, int nu_nubar, double &ptauf, int &crust_entered)
GetTauWeight is the function that will calculate the probability that a tau neutrino will interact al...
This class represents a three-vector. Operators are overloaded to provide for the familiar operations...
double ptauf
Final energy of the tau.
Ice thicknesses and water depth.