mmc
Class PhotoStochastic

java.lang.Object
  extended by mmc.PhysicsModel
      extended by mmc.CrossSections
          extended by mmc.Photonuclear
              extended by mmc.PhotoStochastic
All Implemented Interfaces:
FunctionInt, FunctionInt2, FunctionOfx

public class PhotoStochastic
extends Photonuclear

class contains functions necessary for calculation of photonuclear losses


Field Summary
 Interpolate[] J
           
 Interpolate[] Jo
           
 boolean jt
           
 
Fields inherited from class mmc.Photonuclear
bb, c, form, photo, s, shadow, vMax, vMin, vUp
 
Fields inherited from class mmc.CrossSections
b, cb, cd, ce, ci, component, cp, cros, d, e, Jdf, lpm, m, n, 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
PhotoStochastic(Photonuclear cros)
          initializes an integral class separate from that in Propagate
 
Method Summary
 double dNdx()
          this is what the sum over all components of dN/dx is equal to
 double dNdx(double rnd)
          this is what the sum over all components of dN/dx is equal to
 double e(double rnd)
          this is the value of e=v*E, corresponding to rnd in the call to dNdx for the component chosen with rnd in the argument
 double function(double v)
          this is what d2N/dv,dx is equal to - interface to Integral
 double functionInt(double e)
          1d parametrization - interface to Interpolate
 double functionInt(double e, double v)
          2d parametrization - interface to Interpolate
 
Methods inherited from class mmc.Photonuclear
photoN, setEnergy
 
Methods inherited from class mmc.CrossSections
getdx, getef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

J

public Interpolate[] J

jt

public boolean jt

Jo

public Interpolate[] Jo
Constructor Detail

PhotoStochastic

public PhotoStochastic(Photonuclear cros)
initializes an integral class separate from that in Propagate

Method Detail

function

public double function(double v)
this is what d2N/dv,dx is equal to - interface to Integral

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

dNdx

public double dNdx()
this is what the sum over all components of dN/dx is equal to


dNdx

public double dNdx(double rnd)
this is what the sum over all components of dN/dx is equal to


e

public double e(double rnd)
this is the value of e=v*E, corresponding to rnd in the call to dNdx for the component chosen with rnd in the argument


functionInt

public double functionInt(double e,
                          double v)
2d parametrization - interface to Interpolate

Specified by:
functionInt in interface FunctionInt2
Overrides:
functionInt in class Photonuclear

functionInt

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

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