iceCube.uhe.event
public class Event extends java.lang.Object
This class defines the behavior of an event running in the madium (rock/ice). This is the fundamenthal class for propagating particles with the Monte Carlo Method. Running particles by numerically solving the transport equations, use PropagationMatrix class in the iceCube.uhe.propagation package. The relevant interactions are registered in the List inside the constructor. Modified for Glashow Resonance by M.Ono December 2 2007.
Constructor and 説明 |
---|
Event(MonteCarloBase[] mcBases,
Particle p,
ParticlePoint s)
Constructor.
|
Modifier and Type | Method and 説明 |
---|---|
void |
changeParticle(int newFlavor,
int newDoublet)
Change the particle to the different kind.
|
double |
collideNow(RandomGenerator rand)
The propagation particle now collides with Nuclear/Nucleon and change its energy
via intertactions determined in GetPhysicalPathLength().
|
double |
getCascadeEmgEnergy() |
double |
getCascadeHadronEnergy() |
double |
getCascadeTotalEnergy() |
int |
getFlavorByInteractionsInPlay()
Get the produced particle's Flavor
|
double |
getPhysicalPathLength(RandomGenerator rand)
Calculate the stepsize determined by sampling the interaction
points for all the interaction channels registred.
|
double |
getStepDx()
Get the step size for traceParticle()
|
java.lang.String |
interactionsNameInPlay()
Get the Interaction's name which has just interacted with your particle
|
void |
registerMonteCarloBase(MonteCarloBase[] mcBases)
Register the MonteCarloBase objects involved in the propagation
|
void |
setStepDx(double dx)
Set the step size for traceParticle()
|
void |
traceParticle(double pathLength)
Trace particle running by a given pathlength [g/cm^2]
|
public Event(MonteCarloBase[] mcBases, Particle p, ParticlePoint s)
public void registerMonteCarloBase(MonteCarloBase[] mcBases)
public double getPhysicalPathLength(RandomGenerator rand)
public java.lang.String interactionsNameInPlay()
public int getFlavorByInteractionsInPlay()
public double collideNow(RandomGenerator rand)
public double getCascadeEmgEnergy()
public double getCascadeHadronEnergy()
public double getCascadeTotalEnergy()
public void changeParticle(int newFlavor, int newDoublet)
newFlavor : flavor of a new particle. newDoublet : doublet of a new particle.
public void setStepDx(double dx)
public double getStepDx()
public void traceParticle(double pathLength)