51 NuPath(
double l = 0,
double d = 0,
double z = 0.5,
int ly = 0)
70 void SetPath(
double l = 0,
double d = 0,
double z = 0.5,
int ly = 0)
101 PremLayer(
double r = 0,
double d = 0,
double z = 0.5,
int ly = 0)
120 void SetLayer(
double r = 0,
double d = 0,
double z = 0.5,
int ly = 0)
142 NuPath
AvgPath(NuPath& p1, NuPath& p2);
144 std::vector<NuPath>& pv);
145 std::vector<NuPath>
MergePaths(std::vector<NuPath>& inputPath,
int j,
Some useful general definitions.
std::vector< NuPath > MergePaths(std::vector< NuPath > &inputPath, int j, int k)
Merge paths j and k in vector.
NuPath AvgPath(NuPath &p1, NuPath &p2)
Get the average of two paths.
A struct representing a neutrino path segment.
NuPath(double l=0, double d=0, double z=0.5, int ly=0)
Constructor.
int layer
An index to identify the matter type.
double density
The density of the path segment in g/cm^3.
double length
The length of the path segment in km.
double zoa
The effective Z/A value of the path segment.
void SetPath(double l=0, double d=0, double z=0.5, int ly=0)
Set the properties of the neutrino path.
A struct representing a spherical shell of matter for earth models.
bool operator==(PremLayer &rhs)
double radius
The outer radius of the layer in km.
double zoa
The effective Z/A value of the layer.
void SetLayer(double r=0, double d=0, double z=0.5, int ly=0)
Set the properties of the layer.
double density
The density of the layer in g/cm^3.
PremLayer(double r=0, double d=0, double z=0.5, int ly=0)
Constructor.
int layer
An index to identify the matter type.