mmc
Class CrossSections

java.lang.Object
  extended by mmc.PhysicsModel
      extended by mmc.CrossSections
All Implemented Interfaces:
FunctionInt, FunctionInt2, FunctionOfx
Direct Known Subclasses:
Bremsstrahlung, Decay, Epairproduction, Ionizationloss, Photonuclear

public class CrossSections
extends PhysicsModel

initializes all cross sections and keeps references to them


Field Summary
 Bremsstrahlung b
           
 double cb
           
 double cd
           
 double ce
           
 double ci
           
 int component
           
 double cp
           
protected  CrossSections cros
           
 Decay d
           
 Epairproduction e
           
 Ionizationloss i
           
 Interpolate J
           
 Interpolate Jdf
           
 boolean jt
           
 boolean lpm
           
protected  Medium m
           
 Photonuclear n
           
protected  Particle p
           
 
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
CrossSections()
          Necessary to keep class structure, since it is called from subclasses
CrossSections(CrossSections cros)
          creates internal references to p and m, to be called from subclasses
CrossSections(Particle p, Medium m)
          initializes all cross sections, creates internal references to p and m
 
Method Summary
 double function(double E)
          function for range calculation for given energy - interface to Integral
 double functionInt(double e)
          1d parametrization - interface to Interpolate
 double getdx(double ei, double ef, double dist)
          returns the value of the distance integral from ei to ef
 double getef(double ei, double dist)
          final energy, corresponding to the given value of displacement dist
 
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

d

public Decay d

i

public Ionizationloss i

b

public Bremsstrahlung b

n

public Photonuclear n

e

public Epairproduction e

component

public int component

ci

public double ci

cb

public double cb

cp

public double cp

ce

public double ce

cd

public double cd

p

protected Particle p

m

protected Medium m

cros

protected CrossSections cros

J

public Interpolate J

Jdf

public Interpolate Jdf

jt

public boolean jt

lpm

public boolean lpm
Constructor Detail

CrossSections

public CrossSections()
Necessary to keep class structure, since it is called from subclasses


CrossSections

public CrossSections(CrossSections cros)
creates internal references to p and m, to be called from subclasses


CrossSections

public CrossSections(Particle p,
                     Medium m)
initializes all cross sections, creates internal references to p and m

Method Detail

function

public double function(double E)
function for range calculation for given energy - interface to Integral

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

getdx

public double getdx(double ei,
                    double ef,
                    double dist)
returns the value of the distance integral from ei to ef


getef

public double getef(double ei,
                    double dist)
final energy, corresponding to the given value of displacement dist


functionInt

public double functionInt(double e)
1d parametrization - interface to Interpolate

Specified by:
functionInt in interface FunctionInt
Overrides:
functionInt in class PhysicsModel