iceCube.uhe.event
Class RunManager

java.lang.Object
  extended by iceCube.uhe.event.RunManager

public class RunManager
extends java.lang.Object


   This is a run manager for the Event class. It initializes all the obejcts
   and parameters necessary for events and then run the Event objects.

   


Constructor Summary
RunManager()
          Constructor.
 
Method Summary
 double getStartLocation()
          Get the location of primary particle
static void main(java.lang.String[] args)
          Main method.
 void runEventDump(java.io.DataOutputStream out)
          Method to run event for making textual full-data-file.
 void runEventOnMatrix(java.io.DataOutputStream out)
          Method to run multiple events with various primary energies from logE = Particle.getLogEnergyMinimum() all the way up to 10^12 GeV.
 void runMultipleEvent_Each(java.io.DataOutputStream out)
          Method to run multiple events with a monocromatic primary energy given by the constructor.
 void runMultipleEvent(java.io.DataOutputStream out)
          Method to run multiple events with a monocromatic primary energy given by the constructor.
 void runSingleEvent()
          Method to run a single event with a monocromatic primary energy given by the constructor.
 void setOneCascadeMtx(int n, int jLogE)
          make histgram for EnergyDeposit/cascade
 void setOneEmgCascadeMtx(int iLogE, int jLogE)
           
 void setOneHadronCascadeMtx(int iLogE, int jLogE)
           
 void setOneTotalCascadeMtx(int iLogE, int jLogE)
           
 void setStartLocation(double start)
          Set the location of primary particle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunManager

public RunManager()
           throws java.io.IOException
Constructor. Here all the obejcts including individual InteractionsBase objects (which implies it reads out the InteractionsMatrix objects dumped in the directory classes/iceCube/uhe/interactions/) and Mu/TauDecayBase objects are generated. Each object is generated in an interactive way to an user.

Throws:
java.io.IOException
Method Detail

setStartLocation

public void setStartLocation(double start)
Set the location of primary particle


getStartLocation

public double getStartLocation()
Get the location of primary particle


runEventDump

public void runEventDump(java.io.DataOutputStream out)
                  throws java.io.IOException
Method to run event for making textual full-data-file. This is mainly for debugging. All the profile of particle propagation is dumped in the file.

Throws:
java.io.IOException

runSingleEvent

public void runSingleEvent()
Method to run a single event with a monocromatic primary energy given by the constructor.


runMultipleEvent_Each

public void runMultipleEvent_Each(java.io.DataOutputStream out)
                           throws java.io.IOException
Method to run multiple events with a monocromatic primary energy given by the constructor. This method can make data of each interaction/decay respectively.

Throws:
java.io.IOException

setOneCascadeMtx

public void setOneCascadeMtx(int n,
                             int jLogE)
make histgram for EnergyDeposit/cascade


runMultipleEvent

public void runMultipleEvent(java.io.DataOutputStream out)
                      throws java.io.IOException
Method to run multiple events with a monocromatic primary energy given by the constructor. This method can make data of electromagnetic and hadronic cascade energy respectively.

Throws:
java.io.IOException

runEventOnMatrix

public void runEventOnMatrix(java.io.DataOutputStream out)
                      throws java.io.IOException
Method to run multiple events with various primary energies from logE = Particle.getLogEnergyMinimum() all the way up to 10^12 GeV. The results are stored in the matrix form and will be handled by EventMatrix.class in the event package.

Throws:
java.io.IOException

setOneEmgCascadeMtx

public void setOneEmgCascadeMtx(int iLogE,
                                int jLogE)

setOneHadronCascadeMtx

public void setOneHadronCascadeMtx(int iLogE,
                                   int jLogE)

setOneTotalCascadeMtx

public void setOneTotalCascadeMtx(int iLogE,
                                  int jLogE)

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Main method. In order to run JULIET, it is need that RunManager object and DataOutPutStream are generated.

Throws:
java.io.IOException