iceCube.uhe.event
Class EventFlux

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

public class EventFlux
extends java.lang.Object

This class calculates differential flux dF/dLogE [/cm^2 sec sr] of muons/taus as a function of emg/hadron cascade energy deposited in the detector volume expected irom a given UHE neutrino model such as GZK. The differential flux of mu/tau's which enter into the detector volume after propagating in the earth is given by PropagatingNeutrinoFlux.class in the neutrinoModel package. The cascade energy distribution is given by EventMatrix.class in the Event package.


Field Summary
 EventMatrix eventMatrix
           
 PropagatingNeutrinoFlux propLeptonFlux
           
 
Constructor Summary
EventFlux(int model)
          Constructor.
EventFlux(int model, java.io.DataInputStream eventIn)
          Same as the constructor EventFlux(int model) except it reads the event matrix from the DataInputStream eventIn.
 
Method Summary
 double getDFEmgCascadeDLogE(double logEcascade)
          Calculate dF/dLogE [/cm^2 sec sr] for EMG cascade
 double getDFHadronCascadeDLogE(double logEcascade)
          Calculate dF/dLogE [/cm^2 sec sr] for Hadron cascade
 double getDFTotalCascadeDLogE(double logEcascade)
          Calculate dF/dLogE [/cm^2 sec sr] for total cascade
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propLeptonFlux

public PropagatingNeutrinoFlux propLeptonFlux

eventMatrix

public EventMatrix eventMatrix
Constructor Detail

EventFlux

public EventFlux(int model)
          throws java.io.IOException
Constructor. PropagatingNeutrinoFlux and EventMatrix classes are generated. Note that both of these objects still needs to read the matix file to perform any futher calculation. This can be done by calling the methods propLeptonFlux.readMatrix(DataInputStream in) and eventMatrix.readMatrix(DataInputStream in). You can run these method through this object because both propLeptonFlux and eventMatrix are public class variables.

Throws:
java.io.IOException

EventFlux

public EventFlux(int model,
                 java.io.DataInputStream eventIn)
          throws java.io.IOException
Same as the constructor EventFlux(int model) except it reads the event matrix from the DataInputStream eventIn.

Throws:
java.io.IOException
Method Detail

getDFEmgCascadeDLogE

public double getDFEmgCascadeDLogE(double logEcascade)
Calculate dF/dLogE [/cm^2 sec sr] for EMG cascade


getDFHadronCascadeDLogE

public double getDFHadronCascadeDLogE(double logEcascade)
Calculate dF/dLogE [/cm^2 sec sr] for Hadron cascade


getDFTotalCascadeDLogE

public double getDFTotalCascadeDLogE(double logEcascade)
Calculate dF/dLogE [/cm^2 sec sr] for total cascade