iceCube.uhe.decay
Class MuDecayBase

java.lang.Object
  extended by iceCube.uhe.event.MonteCarloBase
      extended by iceCube.uhe.decay.MuDecayBase

public class MuDecayBase
extends MonteCarloBase

    The MuDecayBase class to treat mu decay same as interactions for Event class.
    This class and other "Base" classes inherit the MonteCarloBase class.

    This class has MuDecayYMatrix object. It treats energy transfer as dN/dlogY,
    Y = Edecay/Emu.
    


Constructor Summary
MuDecayBase(MuDecayYMatrix muDecayMtx)
          Constructor for making the tables of lifetime and cumulative table.
 
Method Summary
 java.lang.String getInteractionName()
          Get the name of interaction
 double getNeutrinoPathLength(double logEnergy, RandomGenerator rand)
          This is a dummy method because this class extends MonteCarloBase.class
 double getNeutrinoPathLength(int iLogE, RandomGenerator rand)
          This is a dummy method because this class extends MonteCarloBase.class
 double getPathLength(double logEnergy, RandomGenerator rand)
           
 double getPathLength(int iLogE, RandomGenerator rand)
          Get pathlength by random number.
 double getProducedEnergy(double logEnergy, RandomGenerator rand)
          Get produced log energy.
 double getProducedEnergy(int iLogE, RandomGenerator rand)
          Get produced log energy.
 int getProducedFlavor()
          Get the flavor of the produced particle
 int getPropDoublet()
          Get the doublet of the particle propagating
 int getPropFlavor()
          Get the flavor of the particle propagating
 int getTypeOfInteraction()
          get Type Of Interaction (Interaction->0; Decay->1)
 void setCumulativeTable(MuDecayYMatrix muDecayMtx)
          Make a cumulative table of differential cross section.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MuDecayBase

public MuDecayBase(MuDecayYMatrix muDecayMtx)
Constructor for making the tables of lifetime and cumulative table.

Method Detail

setCumulativeTable

public void setCumulativeTable(MuDecayYMatrix muDecayMtx)
Make a cumulative table of differential cross section. The elements are normalized to 1.


getPathLength

public double getPathLength(int iLogE,
                            RandomGenerator rand)
Get pathlength by random number.

Specified by:
getPathLength in class MonteCarloBase

getPathLength

public double getPathLength(double logEnergy,
                            RandomGenerator rand)
Specified by:
getPathLength in class MonteCarloBase

getNeutrinoPathLength

public double getNeutrinoPathLength(int iLogE,
                                    RandomGenerator rand)
This is a dummy method because this class extends MonteCarloBase.class

Specified by:
getNeutrinoPathLength in class MonteCarloBase

getNeutrinoPathLength

public double getNeutrinoPathLength(double logEnergy,
                                    RandomGenerator rand)
This is a dummy method because this class extends MonteCarloBase.class

Specified by:
getNeutrinoPathLength in class MonteCarloBase

getProducedEnergy

public double getProducedEnergy(int iLogE,
                                RandomGenerator rand)
Get produced log energy. In order to decide the value of log energy in a bin, use a random number

Specified by:
getProducedEnergy in class MonteCarloBase

getProducedEnergy

public double getProducedEnergy(double logEnergy,
                                RandomGenerator rand)
Get produced log energy. In order to decide the value of log energy in a bin, use a random number

Specified by:
getProducedEnergy in class MonteCarloBase

getPropFlavor

public int getPropFlavor()
Get the flavor of the particle propagating

Specified by:
getPropFlavor in class MonteCarloBase

getPropDoublet

public int getPropDoublet()
Get the doublet of the particle propagating

Specified by:
getPropDoublet in class MonteCarloBase

getProducedFlavor

public int getProducedFlavor()
Get the flavor of the produced particle

Specified by:
getProducedFlavor in class MonteCarloBase

getInteractionName

public java.lang.String getInteractionName()
Get the name of interaction

Specified by:
getInteractionName in class MonteCarloBase

getTypeOfInteraction

public int getTypeOfInteraction()
get Type Of Interaction (Interaction->0; Decay->1)

Specified by:
getTypeOfInteraction in class MonteCarloBase