mmc
Class Propagate

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

public class Propagate
extends PhysicsModel

main mmc class - must be constructed before anything else


Field Summary
 boolean contiCorr
           
 boolean dw
           
 boolean exactTime
           
static int g
           
 double hw
           
 Interpolate[] J
           
 Interpolate[] Jdf
           
 boolean jt
           
 Energy2Loss l
           
 Medium m
           
 boolean molieScat
           
 Output o
           
 Particle p
           
static java.util.Random rand
           
 boolean recc
           
 double rho
           
 double rw
           
 CrossSections s
           
 StandardNormal S
           
 boolean sdec
           
 
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
Propagate(java.lang.String w, double ecut, double vcut)
          initialize all classes necessary for propagation of a muon.
Propagate(java.lang.String w, double ecut, double vcut, java.lang.String type)
          initialize all classes necessary for propagation of a muon or tau.
Propagate(java.lang.String w, double ecut, double vcut, java.lang.String type, double rho)
          initialize all classes necessary for propagation.
 
Method Summary
 double function(double E)
          function for energy range calculation - interface to Integral
 double functionInt(double e)
          1d parametrization - interface to Interpolate
 double getef(double ei, double rnd, boolean pint)
          final energy, corresponding to the given value rnd of the tracking integral
 double getpr(double ei, double rnd, boolean pint)
          returns the value of the tracking integral
 double getPropEc()
          returns the particle energy at rc if the particle has survived or the distance from the point of decay to rc with a minus sign otherwise.
 double getPropTc()
          returns the particle time at rc if the particle has survived or at the point of decay otherwise.
 void interpolate(java.lang.String w)
          call this routine to enable interpolations.
 void interpolate(java.lang.String w, java.lang.String filename)
          call this routine to enable interpolations and their save and reread.
 double propagateTo(double r, double e)
          Propagates the particle of initial energy e to the distance r.
 double propagateTo(double r, double e, double rc)
          Propagates the particle of initial energy e to the distance r.
 
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

p

public Particle p

m

public Medium m

s

public CrossSections s

l

public Energy2Loss l

o

public Output o

rho

public double rho

sdec

public boolean sdec

recc

public boolean recc

exactTime

public boolean exactTime

contiCorr

public boolean contiCorr

molieScat

public boolean molieScat

S

public StandardNormal S

dw

public boolean dw

rw

public double rw

hw

public double hw

rand

public static java.util.Random rand

g

public static int g

J

public Interpolate[] J

Jdf

public Interpolate[] Jdf

jt

public boolean jt
Constructor Detail

Propagate

public Propagate(java.lang.String w,
                 double ecut,
                 double vcut)
initialize all classes necessary for propagation of a muon.


Propagate

public Propagate(java.lang.String w,
                 double ecut,
                 double vcut,
                 java.lang.String type)
initialize all classes necessary for propagation of a muon or tau.


Propagate

public Propagate(java.lang.String w,
                 double ecut,
                 double vcut,
                 java.lang.String type,
                 double rho)
initialize all classes necessary for propagation. String w contains the name of the medium. For the definition of ecut and vcut see help for the class Medium constructor. Set type to "mu" or "tau". The value of rho sets the multiplicative medium density correction factor. To enable parametrization routines, call this.interpolate("all") after this class is created.

Method Detail

propagateTo

public double propagateTo(double r,
                          double e)
Propagates the particle of initial energy e to the distance r. Returns the final energy if the particle has survived or the track length to the point of disappearance with a minus sign otherwise.


propagateTo

public double propagateTo(double r,
                          double e,
                          double rc)
Propagates the particle of initial energy e to the distance r. Returns the final energy if the particle has survived or the track length to the point of disappearance with a minus sign otherwise. Also calculates particle energy at point rc. Call getPropEc() to get this energy.


getPropEc

public double getPropEc()
returns the particle energy at rc if the particle has survived or the distance from the point of decay to rc with a minus sign otherwise.


getPropTc

public double getPropTc()
returns the particle time at rc if the particle has survived or at the point of decay otherwise.


function

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

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

interpolate

public void interpolate(java.lang.String w)
call this routine to enable interpolations. To enable everything, set w="all"


interpolate

public void interpolate(java.lang.String w,
                        java.lang.String filename)
call this routine to enable interpolations and their save and reread. To enable everything, set w="all"


getpr

public double getpr(double ei,
                    double rnd,
                    boolean pint)
returns the value of the tracking integral


getef

public double getef(double ei,
                    double rnd,
                    boolean pint)
final energy, corresponding to the given value rnd of the tracking integral


functionInt

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

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