iceCube.uhe.interactions
Class ElectronBase

java.lang.Object
  extended by iceCube.uhe.event.MonteCarloBase
      extended by iceCube.uhe.interactions.ElectronBase

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 Summary
ElectronBase(Particle p)
          Constructor
 
Method Summary
 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)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElectronBase

public ElectronBase(Particle p)
Constructor

Method Detail

getLogEnergyProducedMinimum

public static double getLogEnergyProducedMinimum()

getPathLength

public double getPathLength(int iLogE,
                            RandomGenerator rand)
Get pathlength, but this always returns 0.0

Specified by:
getPathLength in class MonteCarloBase

getPathLength

public double getPathLength(double logEnergy,
                            RandomGenerator rand)
Get pathlength, but this always returns 0.0

Specified by:
getPathLength in class MonteCarloBase

getNeutrinoPathLength

public double getNeutrinoPathLength(int iLogE,
                                    RandomGenerator rand)
This is the "dummy" method

Specified by:
getNeutrinoPathLength in class MonteCarloBase

getNeutrinoPathLength

public double getNeutrinoPathLength(double logEnergy,
                                    RandomGenerator rand)
This is the "dummy" method

Specified by:
getNeutrinoPathLength in class MonteCarloBase

getProducedEnergy

public double getProducedEnergy(int iLogE,
                                RandomGenerator rand)
Get produced log energy. This method always returns same as incident energy

Specified by:
getProducedEnergy in class MonteCarloBase

getProducedEnergy

public double getProducedEnergy(double logEnergy,
                                RandomGenerator rand)
Get produced log energy. This method always returns same as incident energy in this hypothetical interaction.

Specified by:
getProducedEnergy in class MonteCarloBase

getPropFlavor

public int getPropFlavor()
Get the flavor of the particle propagating

Specified by:
getPropFlavor in class MonteCarloBase

getPropDoublet

public int getPropDoublet()
Get the doublet of the particle propagating

Specified by:
getPropDoublet in class MonteCarloBase

getProducedFlavor

public int getProducedFlavor()
Get the flavor of the produced particle

Specified by:
getProducedFlavor in class MonteCarloBase

getInteractionName

public java.lang.String getInteractionName()
Get the name of the interaction

Specified by:
getInteractionName in class MonteCarloBase

getTypeOfInteraction

public int getTypeOfInteraction()
get Type Of Interaction (Interaction->0; Decay->1)

Specified by:
getTypeOfInteraction in class MonteCarloBase