iceCube.uhe.event
Class EventMatrix

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

public class EventMatrix
extends java.lang.Object

This object handles a matrix table generated by RunManager.runEventOnMatrix(DataOutputStream out, int numEvent). It gives a dN/dLogEcascade(mu or tau) where Ecascade is a total energy deposit in form of electrons or hadrons initiated by UHE muons or taus running in the detector voluce. Propagation of muons and tauons are treated by Event.java. The matrix table this object reads out is similar with PropagationMatrix.getFtauToHadron(int iLogE,int jLogE) or PropagationMatrix.getFmuToHadron(int iLogE,int jLogE), for example, in the propagation package. A main difference is the PropagationMatrix is calculated by numerically solving the transport equation which is suitable for particle propagation in the Earth over long range while THIS matrix table is calculated by the Monte Carlo method by Event.java which works especially for particle propagation inside the detector volume where the fluctuation of the energy loss profile and total energy deposit from an event do matter.


Constructor Summary
EventMatrix()
          Constructor.
EventMatrix(java.io.DataInputStream in)
           
 
Method Summary
 double getEmgCascadeFlux(double logEprimary, double logEcascade)
          Obtain dN/dLogE for electroMagnetic cascades
 double getHadronCascadeFlux(double logEprimary, double logEcascade)
          Obtain dN/dLogE for Hadron cascades
 int getPropFlavor()
          obtain primarily propagating particle flavor to initiate cascades.
 double getTotalCascadeFlux(double logEprimary, double logEcascade)
          Obtain dN/dLogE for Total cascades
 void readMatrix(java.io.DataInputStream in)
          Read the calculated event matrix by RunManager.runEventOnMatrix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventMatrix

public EventMatrix()
Constructor. Generate matrix array.


EventMatrix

public EventMatrix(java.io.DataInputStream in)
            throws java.io.IOException
Throws:
java.io.IOException
Method Detail

readMatrix

public void readMatrix(java.io.DataInputStream in)
                throws java.io.IOException
Read the calculated event matrix by RunManager.runEventOnMatrix

Throws:
java.io.IOException

getPropFlavor

public int getPropFlavor()
obtain primarily propagating particle flavor to initiate cascades. As defined in the Particle class, it should be either 1 (muon) or 2 (tau). This value is read from the Matrix file by the method readMatrix( ) in this class.


getEmgCascadeFlux

public double getEmgCascadeFlux(double logEprimary,
                                double logEcascade)
Obtain dN/dLogE for electroMagnetic cascades


getHadronCascadeFlux

public double getHadronCascadeFlux(double logEprimary,
                                   double logEcascade)
Obtain dN/dLogE for Hadron cascades


getTotalCascadeFlux

public double getTotalCascadeFlux(double logEprimary,
                                  double logEcascade)
Obtain dN/dLogE for Total cascades