iceCube.uhe.interactions
public class InteractionsBase extends MonteCarloBase
The InteractionsBase class to treat all of interactions same as decay for
RunManager class. This class and other "Base" classes inherit the MonteCarloBase class.
| Modifier and Type | Field and Description |
|---|---|
static int |
neutrinoFactor
In order to save CPU time, we increase neutrino cross section by
this factor.
|
| Constructor and Description |
|---|
InteractionsBase(InteractionsMatrix intMtx)
Constructor for making the cumulative table.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getCumulativeProbability(double logPrimaryEnergy,
double logProducedEnergy)
Get Cumulative Probability on a given log(Primary Energy [GeV]),
log(Produced Energy [GeV])
|
java.lang.String |
getInteractionName()
Get the name of the interaction
|
static double |
getLogEnergyProducedMinimum() |
double |
getNeutrinoPathLength(double logEnergy,
RandomGenerator rand)
Get pathlength for neutrino.
|
double |
getNeutrinoPathLength(int iLogE,
RandomGenerator rand)
Get pathlength for neutrino.
|
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 propagateing
|
int |
getPropFlavor()
Get the flavor of the particle propagateing
|
int |
getTypeOfInteraction()
Get type of the interaction (Interaction->0; Decay->1)
|
public static int neutrinoFactor
public InteractionsBase(InteractionsMatrix intMtx)
public static double getLogEnergyProducedMinimum()
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 double getCumulativeProbability(double logPrimaryEnergy,
double logProducedEnergy)
double logPrimaryEnergy : Log (Input Primary Energy [GeV])
double logPproducedEnergy : Log (Produced Energy [GeV] via this interaction)
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