iceCube.uhe.decay
Class TauDecayMatrix

java.lang.Object
  extended by iceCube.uhe.decay.TauDecayMatrix

public class TauDecayMatrix
extends java.lang.Object

Matrix of the Energy Transfer by the tau decays
    The matrix elements are calculated by the methods supplied
    by the Decay class.

        /------------------------------------------------------------\
logEmin | 0   0  ...................................   EmindN/dEmin  |
logE1   | 0   0  ............................E1dN/dE1  EmindN/dEmin  |
  .     |                                                            |x binWidth x ln(10)
  .     |                                                            |
logEmax |EmaxdN/dEmax................................  EmindN/dEmin  |
        \------------------------------------------------------------/

The bin width and logEmin are defined in the Particle class.

Actually each matrix element dN/dLogEdecay is calculated by the integral,
\int dN/dY dY from logY - 0.5xbinWidth to logY + 0.5*binWidth where
logY = logEdecay - logEtau. This is more accurate way than simply
calculating dN/dLogEdecay.

The transfer matrix to the nu-tau
is acquired by the method getTauToNuTauDecayMatrix( ),
that to the other neutrinos such as nu-e by getTauToNuDecayMatrix( )
that to the other charged leptons such as e by getTauToChargedLeptonDecayMatrix( )
while the decay into hadrons
is obtained by getTauToHadronsDecayMatrix( ).


Constructor Summary
TauDecayMatrix(Particle p)
          Constructor: Generate the matrix array
 
Method Summary
 double getLifeTimeMatrix(int iLogE)
          get the element of the LifeTime matrix
 double getTauToChargedLeptonDecayMatrix(int iLogE, int jLogE)
          get the element of the decay matrix of tau-> l^+-
 double getTauToHadronDecayMatrix(int iLogE, int jLogE)
          get the element of the decay matrix of tau-> hadrons
 double getTauToNuDecayMatrix(int iLogE, int jLogE)
          get the element of the decay matrix of tau->nuE or nuMu
 double getTauToNuTauDecayMatrix(int iLogE, int jLogE)
          get the element of the decay matrix of tau->nuTau
 boolean isValidIndex(int iLogE)
          Checking the energy index
 void setLifeTimeMatrix(int iLogE)
          Calculate the life time matrix considering the Lorentz duration
 void setTauDecayMatrix(int iLogE, int jLogE)
          Calculate the decay matrix from tau to neutrinos, leptons, and hadrons
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TauDecayMatrix

public TauDecayMatrix(Particle p)
Constructor: Generate the matrix array

Method Detail

setTauDecayMatrix

public void setTauDecayMatrix(int iLogE,
                              int jLogE)
Calculate the decay matrix from tau to neutrinos, leptons, and hadrons


setLifeTimeMatrix

public void setLifeTimeMatrix(int iLogE)
Calculate the life time matrix considering the Lorentz duration


getTauToNuTauDecayMatrix

public double getTauToNuTauDecayMatrix(int iLogE,
                                       int jLogE)
get the element of the decay matrix of tau->nuTau


getTauToNuDecayMatrix

public double getTauToNuDecayMatrix(int iLogE,
                                    int jLogE)
get the element of the decay matrix of tau->nuE or nuMu


getTauToChargedLeptonDecayMatrix

public double getTauToChargedLeptonDecayMatrix(int iLogE,
                                               int jLogE)
get the element of the decay matrix of tau-> l^+-


getTauToHadronDecayMatrix

public double getTauToHadronDecayMatrix(int iLogE,
                                        int jLogE)
get the element of the decay matrix of tau-> hadrons


getLifeTimeMatrix

public double getLifeTimeMatrix(int iLogE)
get the element of the LifeTime matrix


isValidIndex

public boolean isValidIndex(int iLogE)
Checking the energy index