iceCube.uhe.muonModel
Class CosmicRayFlux

java.lang.Object
  extended by iceCube.uhe.muonModel.CosmicRayFlux

public class CosmicRayFlux
extends java.lang.Object

UHE Cosmic Ray Flux


Constructor Summary
CosmicRayFlux()
          Constructor: Calculate log(dJ/dE) @ E = energyBase
 
Method Summary
 boolean doesCutOffExists()
          Tell if the CR spectrum calculated in this object has a cutoff feature at the highest energy end
 double getDFDLogE(double logEnergy)
           calculate the log differential Flux dF/dLogE [/cm^2 sec sr] logEnergy [GeV]
 double getDFDLogE(double logEnergy, double cosTheta)
           calculate the log differential Flux dF/dLogE [/cm^2 sec sr] logEnergy [GeV] cos(zenith angle)
 double getEFlux(double logEnergy)
          calculate the differential Energy Flux [GeV /cm^2 sec sr]
 double getEFlux(double logEnergy, double cosTheta)
          calculate the differential Energy Flux [GeV /cm^2 sec sr]
 boolean isValidEnergy(double logEnergy)
          Check if the energy is in the range where this power law model is valid.
 void setCutOffFeature(boolean cutoffExists)
          Sets on/off the cutoff feature at the highest energy end
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CosmicRayFlux

public CosmicRayFlux()
Constructor: Calculate log(dJ/dE) @ E = energyBase

Method Detail

doesCutOffExists

public boolean doesCutOffExists()
Tell if the CR spectrum calculated in this object has a cutoff feature at the highest energy end


setCutOffFeature

public void setCutOffFeature(boolean cutoffExists)
Sets on/off the cutoff feature at the highest energy end


getEFlux

public double getEFlux(double logEnergy)
calculate the differential Energy Flux [GeV /cm^2 sec sr]
        logEnergy [GeV]
        


getEFlux

public double getEFlux(double logEnergy,
                       double cosTheta)
calculate the differential Energy Flux [GeV /cm^2 sec sr]
        logEnergy [GeV] cos(zenith angle)
        
This method is indentical to getEFlux(double logEnergy) because the cosmic ray flux is isotropic.


getDFDLogE

public double getDFDLogE(double logEnergy)
        calculate the log differential Flux dF/dLogE [/cm^2 sec sr] 

        logEnergy [GeV]
        


getDFDLogE

public double getDFDLogE(double logEnergy,
                         double cosTheta)
        calculate the log differential Flux dF/dLogE [/cm^2 sec sr] 

        logEnergy [GeV] cos(zenith angle)
        
This method is indentical to getDFDLogE(double logEnergy) because the cosmic ray flux is isotropic.


isValidEnergy

public boolean isValidEnergy(double logEnergy)
Check if the energy is in the range where this power law model is valid. It depends on whether the spectrum has a cutoff feature which you can set by calling the method void setCutOffFeature(boolean ).