|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjecticeCube.uhe.event.MonteCarloBase
public abstract class MonteCarloBase
This is the abstract class to define the methods for both intereactions and decay that determines the pathlength and produced energy with the Monte Carlo method. The acutual implementaion of the mothods are made by InteractionsBase.java (in the intereactions package) and MuDecayBase/TauDecayBase.java (in the decay package). This class also defines the method to tell you particle flavor and doublet involved so that the Event class can decide which interaction (or decay) should be taken for a given primary particle.
Constructor Summary | |
---|---|
MonteCarloBase()
|
Method Summary | |
---|---|
abstract java.lang.String |
getInteractionName()
Get name of the interaction |
abstract double |
getNeutrinoPathLength(double logEnergy,
RandomGenerator rand)
|
abstract double |
getNeutrinoPathLength(int iLogE,
RandomGenerator rand)
|
abstract double |
getPathLength(double logEnergy,
RandomGenerator rand)
|
abstract double |
getPathLength(int iLogE,
RandomGenerator rand)
Get the pathlength |
abstract double |
getProducedEnergy(double logEnergy,
RandomGenerator rand)
|
abstract double |
getProducedEnergy(int iLogE,
RandomGenerator rand)
Get the logEnergy of the produced particle |
abstract int |
getProducedFlavor()
Get information of the produced particle |
abstract int |
getPropDoublet()
|
abstract int |
getPropFlavor()
Get information of the particle propagating |
abstract int |
getTypeOfInteraction()
Get type of the interaction (Interaction->0; Decay->1) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MonteCarloBase()
Method Detail |
---|
public abstract double getPathLength(int iLogE, RandomGenerator rand)
public abstract double getPathLength(double logEnergy, RandomGenerator rand)
public abstract double getNeutrinoPathLength(int iLogE, RandomGenerator rand)
public abstract double getNeutrinoPathLength(double logEnergy, RandomGenerator rand)
public abstract double getProducedEnergy(int iLogE, RandomGenerator rand)
public abstract double getProducedEnergy(double logEnergy, RandomGenerator rand)
public abstract int getPropFlavor()
public abstract int getPropDoublet()
public abstract int getProducedFlavor()
public abstract java.lang.String getInteractionName()
public abstract int getTypeOfInteraction()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |