gen
Class ExpCorr

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

public class ExpCorr
extends PhysicsModel

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


Field Summary
 CosCorr C
           
 double h0
           
 double X0
           
 
Fields inherited from class mmc.PhysicsModel
Alpha, bigEnergy, 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
ExpCorr(int model, double h0, double z0)
          Initialize class with atmospheric model and ground elevation z0 in [km].
 
Method Summary
 double function(double X)
          Common function for calculation of atmospheric averages - interface to Integral.
 double getExp(int func, double x)
          Common function for calculation of atmospheric averages: func=1: muon production height func=2: 1/cos~1/rho func=3: muon track length all others: normalization.
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

C

public CosCorr C
Constructor Detail

ExpCorr

public ExpCorr(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.


getExp

public double getExp(int func,
                     double x)
Common function for calculation of atmospheric averages:
  1. func=1: muon production height
  2. func=2: 1/cos~1/rho
  3. func=3: muon track length
  4. all others: normalization.


function

public double function(double X)
Common function for calculation of atmospheric averages - interface to Integral.

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