iceCube.uhe.interactions
public class GlashowResonanceBase extends MonteCarloBase
The GlashowResonanceBase class to treat Glashow Resonance for JulietEventGenerator class and RunManager class. This class inherits 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 |
---|
GlashowResonanceBase()
Default Constructor of GlashowResonanceBase.
|
GlashowResonanceBase(int flavor,
int mediumID)
Constructor of GlashowResonanceBase.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getInteractionName()
Get the name of the interaction
|
double |
getNeutrinoPathLength(double logEnergy,
RandomGenerator rand)
Get pathlength for neutrino.
|
double |
getNeutrinoPathLength(int iLogE,
RandomGenerator rand)
Get pathlength for neutrino by given logEnergy bin.
|
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)
|
void |
setProducedFlavor(int flavor)
Set the flavor of the produced particle
|
public static int neutrinoFactor
public GlashowResonanceBase()
public GlashowResonanceBase(int flavor, int mediumID)
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 void setProducedFlavor(int flavor)
public java.lang.String getInteractionName()
getInteractionName
in class MonteCarloBase
public int getTypeOfInteraction()
getTypeOfInteraction
in class MonteCarloBase