|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjecticeCube.uhe.event.Event
public class Event
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 Summary | |
---|---|
Event(MonteCarloBase[] mcBases,
Particle p,
ParticlePoint s)
Constructor. |
Method Summary | |
---|---|
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] |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Event(MonteCarloBase[] mcBases, Particle p, ParticlePoint s)
Method Detail |
---|
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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |