gen
Class CosCorr

java.lang.Object
  extended by mmc.PhysicsModel
      extended by gen.CosCorr
All Implemented Interfaces:
FunctionInt, FunctionInt2, FunctionOfx

public class CosCorr
extends PhysicsModel

This class calculates atmosphere-dependent quantities for a fixed first interaction depth.


Field Summary
 Atmosphere A
           
 double h0
           
 double X0
           
 
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
CosCorr(int model, double h0, double z0)
          Initialize class with atmospheric model and ground elevation z0 in [km].
 
Method Summary
 double dXdh(double x, double h)
          Calculates atmospheric density in [g/cm^2/km] above altitude h in [km] as a function of x=cos(zenith angle).
 double function(double x)
          Calculates derivative of mass overburden wrt path distance in [km] as a function of x=cos(zenith angle).
 double geth(double x, double X0)
          Calculates altitude in [km] corresponding to depth X0 in [g/cm^2] as a function of x=cos(zenith angle).
 double getX(double x)
          Calculates atmospheric depth in [g/cm^2] as a function of x=cos(zenith angle).
 double getx(double x, double h)
          Calculates path length in [km] to altitude h in [km] as a function of x=cos(zenith angle).
 double getX(double x, double h)
          Calculates atmospheric depth in [g/cm^2] above altitude h in [km] as a function of x=cos(zenith angle).
static void main(java.lang.String[] args)
          Prints zenith angle profile of production height, cos*, total X, track length.
 
Methods inherited from class mmc.PhysicsModel
functionInt, functionInt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

h0

public double h0

X0

public double X0

A

public Atmosphere A
Constructor Detail

CosCorr

public CosCorr(int model,
               double h0,
               double z0)
Initialize class with atmospheric model and ground elevation z0 in [km]. h0 is the average production height in km or in g/cm^2 if negative.

Method Detail

main

public static void main(java.lang.String[] args)
Prints zenith angle profile of production height, cos*, total X, track length.


geth

public double geth(double x,
                   double X0)
Calculates altitude in [km] corresponding to depth X0 in [g/cm^2] as a function of x=cos(zenith angle).


getX

public double getX(double x)
Calculates atmospheric depth in [g/cm^2] as a function of x=cos(zenith angle).


getX

public double getX(double x,
                   double h)
Calculates atmospheric depth in [g/cm^2] above altitude h in [km] as a function of x=cos(zenith angle).


dXdh

public double dXdh(double x,
                   double h)
Calculates atmospheric density in [g/cm^2/km] above altitude h in [km] as a function of x=cos(zenith angle).


getx

public double getx(double x,
                   double h)
Calculates path length in [km] to altitude h in [km] as a function of x=cos(zenith angle).


function

public double function(double x)
Calculates derivative of mass overburden wrt path distance in [km] as a function of x=cos(zenith angle).

Specified by:
function in interface FunctionOfx
Overrides:
function in class PhysicsModel