iceCube.uhe.interactions
public class ElectronBase extends MonteCarloBase
An electron once generated by nu-e charged current interaction is subject to immediate electromagnetic cascades. The Event class under the current version is not able to simulate cascades features themselves. Instead, it simply records primary energy of the electron (i.e. primary energy of the emg cascades) and its generated location, and put an end to the particle tracing. In order to do so, this class provides a hypthetical "electron-to-electron interaction" where all the primary energy is channeled into "produced" electron with pathlength of 0. By calling this class right after an electron is generated by interactions such as nu-e charged current interactions, all the energy is deposited at the same location and the event sees its end.
Constructor and Description |
---|
ElectronBase(Particle p)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getInteractionName()
Get the name of the interaction
|
static double |
getLogEnergyProducedMinimum() |
double |
getNeutrinoPathLength(double logEnergy,
RandomGenerator rand)
This is the "dummy" method
|
double |
getNeutrinoPathLength(int iLogE,
RandomGenerator rand)
This is the "dummy" method
|
double |
getPathLength(double logEnergy,
RandomGenerator rand)
Get pathlength, but this always returns 0.0
|
double |
getPathLength(int iLogE,
RandomGenerator rand)
Get pathlength, but this always returns 0.0
|
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)
|
public ElectronBase(Particle p)
public static double getLogEnergyProducedMinimum()
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