iceCube.uhe.decay
public class TauDecayBase extends MonteCarloBase
The TauDecayBase class to treat tau decay same as interactions for Event class.
This class and other "Base" classes inherit the MonteCarloBase class.
This class has TauDecayYMatrix object. It treats energy transfer as dN/dlogY,
Y = Edecay/Etau.
| Constructor and Description |
|---|
TauDecayBase(TauDecayYMatrix tauDecayMtx)
Constructor for making the table of lifetime and cumulative table.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDecayMode()
Get the decay mode (0:tau to electron, 1:tau to mu, 2:tau to hadron)
|
java.lang.String |
getInteractionName()
Get the name of interacion
|
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)
Get pathlength by random number.
|
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(TauDecayYMatrix tauDecayMtx)
Make a cumulative table of differential cross section.
|
void |
setDecayMode(RandomGenerator rand)
Choose the decay mode.
|
public TauDecayBase(TauDecayYMatrix tauDecayMtx)
public void setCumulativeTable(TauDecayYMatrix tauDecayMtx)
public double getPathLength(int iLogE,
RandomGenerator rand)
getPathLength in class MonteCarloBasepublic double getPathLength(double logEnergy,
RandomGenerator rand)
getPathLength in class MonteCarloBasepublic double getNeutrinoPathLength(int iLogE,
RandomGenerator rand)
getNeutrinoPathLength in class MonteCarloBasepublic double getNeutrinoPathLength(double logEnergy,
RandomGenerator rand)
getNeutrinoPathLength in class MonteCarloBasepublic double getProducedEnergy(int iLogE,
RandomGenerator rand)
getProducedEnergy in class MonteCarloBasepublic double getProducedEnergy(double logEnergy,
RandomGenerator rand)
getProducedEnergy in class MonteCarloBasepublic void setDecayMode(RandomGenerator rand)
public int getDecayMode()
public int getPropFlavor()
getPropFlavor in class MonteCarloBasepublic int getPropDoublet()
getPropDoublet in class MonteCarloBasepublic int getProducedFlavor()
getProducedFlavor in class MonteCarloBasepublic java.lang.String getInteractionName()
getInteractionName in class MonteCarloBasepublic int getTypeOfInteraction()
getTypeOfInteraction in class MonteCarloBase