iceCube.uhe.decay
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 and Description |
---|
MuDecayBase(MuDecayYMatrix muDecayMtx)
Constructor for making the tables of lifetime and cumulative table.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public MuDecayBase(MuDecayYMatrix muDecayMtx)
public void setCumulativeTable(MuDecayYMatrix muDecayMtx)
public double getPathLength(int iLogE, RandomGenerator rand)
getPathLength
in class MonteCarloBase
public double getPathLength(double logEnergy, RandomGenerator rand)
getPathLength
in class MonteCarloBase
public double getNeutrinoPathLength(int iLogE, RandomGenerator rand)
getNeutrinoPathLength
in class MonteCarloBase
public double getNeutrinoPathLength(double logEnergy, RandomGenerator rand)
getNeutrinoPathLength
in class MonteCarloBase
public double getProducedEnergy(int iLogE, RandomGenerator rand)
getProducedEnergy
in class MonteCarloBase
public double getProducedEnergy(double logEnergy, RandomGenerator rand)
getProducedEnergy
in class MonteCarloBase
public int getPropFlavor()
getPropFlavor
in class MonteCarloBase
public int getPropDoublet()
getPropDoublet
in class MonteCarloBase
public int getProducedFlavor()
getProducedFlavor
in class MonteCarloBase
public java.lang.String getInteractionName()
getInteractionName
in class MonteCarloBase
public int getTypeOfInteraction()
getTypeOfInteraction
in class MonteCarloBase