|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmmc.PhysicsModel
gen.EarthModel
public class EarthModel
Earth density model implementation.
| Field Summary | |
|---|---|
Interpolate |
J
|
boolean |
jt
|
double[] |
mRa
|
double[] |
mRo
|
int |
num
|
double |
px
|
double |
py
|
double |
pz
|
static double |
R0
|
double |
tf
|
double |
ti
|
| Fields inherited from class mmc.PhysicsModel |
|---|
Alpha, bigEnergy, C, Cmon, computerPrecision, De2, Ds2, ebig, elow, Gf, Gw, Gz, halfPrecision, imaxs, iprec, iprec2, iromb, K, Lmu, Log10, Lstau, Ltau, Ma1, Me, Mmon, Mmu, Mn, Mp, Mpi, Mrh, Mrs, Mstau, Mtau, Mw, Mz, Na, nlow, num1, num2, num3, Pi, Re, Ry, sqrt2, sqrt3, sqrtE, St2, Tt2, xres, Xw |
| Constructor Summary | |
|---|---|
EarthModel(int model,
double z0,
double b0,
double D)
Initialize class with atmospheric model, ground elevation z0 in [km], bedrock elevation b0 in [km], and detector depth D. |
|
| Method Summary | |
|---|---|
double |
function(double x)
Returns the density in [g/cm^3] as a function of the path length in [km] - interface to Integral. |
double |
functionInt(double x,
double t)
2d parametrization - interface to Interpolate |
void |
interpolate()
Parametrizes the integral of this class. |
double |
intRho(double x)
Returns the density in [g/cm^3] as a function of the path length in [km], gives density of the internal medium. |
static void |
main(java.lang.String[] args)
Prints the density profile. |
double |
r(double x,
double y,
double z)
Calculates path length in [km] from the entry point. |
double |
rho(double R)
Calculates density in [g/cm^3] as a function of distance to the center R in [km] according to the preliminary Earth model. |
void |
sett(double px,
double py,
double pz)
Calculates and stores path length in [km] to the entry and exit points. |
double |
t()
Returns the path length in [km] corresponding to the mass overburden X0 in [g/cm^2] set by a call to X(t1, t2, X0). |
double |
X(double t1,
double t2)
Calculates mass overburden in [g/cm^2] as a function of path length in [km] to the entry and exit points. |
double |
X(double t1,
double t2,
double X0)
Calculates mass overburden in [g/cm^2] as a function of path length in [km] to the entry and exit points. |
| Methods inherited from class mmc.PhysicsModel |
|---|
functionInt |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final double R0
public int num
public double[] mRa
public double[] mRo
public double px
public double py
public double pz
public double ti
public double tf
public Interpolate J
public boolean jt
| Constructor Detail |
|---|
public EarthModel(int model,
double z0,
double b0,
double D)
| Method Detail |
|---|
public double rho(double R)
public void sett(double px,
double py,
double pz)
public double r(double x,
double y,
double z)
public double X(double t1,
double t2)
public double X(double t1,
double t2,
double X0)
public double t()
public double function(double x)
function in interface FunctionOfxfunction in class PhysicsModelpublic double intRho(double x)
public static void main(java.lang.String[] args)
public void interpolate()
public double functionInt(double x,
double t)
functionInt in interface FunctionInt2functionInt in class PhysicsModel
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||