iceCube.uhe.analysis
public class I3ParticleFlux extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected double |
cosZenithBinWidth |
protected double |
logEbinWidth
bin widths for getInIceEffectiveArea()
|
protected double |
mcArea
Area where juliet particles are thrown in the MC simulation .
|
protected double |
mcOmega
Solid angle where juliet particles are thrown in
the MC simulation
|
protected static double |
minLogNPEToFill
The lowest level Requirement of NPEs.
|
protected static int |
minNDOMsToFill
The lowest level Requirement of NDOMs.
|
protected double |
observationTime
Observation Time [sec]
|
Constructor and Description |
---|
I3ParticleFlux(java.io.InputStream in)
Constructor
|
I3ParticleFlux(java.io.InputStream in,
Criteria criteria,
boolean isMCTruth)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getDFDLogE(double logNeutrinoEnergy,
double numberOfEvents)
Calculate the Neutrino flux at the surface
to give numberOfEvents you set in the argument.
|
double |
getDFDLogE(double logNeutrinoEnergy,
double numberOfEvents,
boolean averageOverDecade)
Calculate the Neutrino flux at the surface
to give numberOfEvents you set in the argument.
|
double |
getDFDLogE(double logNeutrinoEnergy,
double yield,
double numberOfEvents)
Calculate the Neutrino flux at the surface
to give numberOfEvents, but the yield [cm^2 sec sr]
given in the argument is added up to calculate the flux.
|
double |
getInIceEffectiveArea(double logEnergy,
double cosZenith,
int flavor,
int doublet)
Outputs the in-ice effective area(E-inice, cosZenith) determined by
events passing the Criteria class.
|
double |
getYield(double logNeutrinoEnergy)
Calculate the Neutrino yeild [cm^2 sec sr] at the surface
to give numberOfEvents you set in the argument.
|
void |
readI3Particles(java.io.InputStream in)
reading the I3Particle objects
|
void |
setCriteria(Criteria criteria)
Sets the criteria on making Histogram
|
void |
setMCArea(double area)
Set the MC area [cm^2]
|
void |
setMCSolidAngle(double omega)
Set the MC solid angle [sr]
|
void |
setObservationTime(double time)
Set the MC solid angle [sec]
|
void |
switchToMCTruth()
Switch to parameters concerned with MCtrue.
|
void |
switchToReco()
Switch to parameters concerned with Reco results.
|
protected double mcArea
protected double mcOmega
protected double observationTime
protected double logEbinWidth
protected double cosZenithBinWidth
protected static int minNDOMsToFill
protected static double minLogNPEToFill
public I3ParticleFlux(java.io.InputStream in) throws java.io.IOException
java.io.IOException
public I3ParticleFlux(java.io.InputStream in, Criteria criteria, boolean isMCTruth) throws java.io.IOException
java.io.IOException
public void readI3Particles(java.io.InputStream in) throws java.io.IOException
java.io.IOException
public void setMCArea(double area)
public void setMCSolidAngle(double omega)
public void setObservationTime(double time)
public void switchToMCTruth()
public void switchToReco()
public void setCriteria(Criteria criteria)
public double getDFDLogE(double logNeutrinoEnergy, double numberOfEvents, boolean averageOverDecade)
double logNeutrinoEnergy : log10(Nu Energy at the earth surface [GeV]) double numberOfEvents : number of events in the IceCube boolean averageOverDecade : true - average neutrino yield over decade of E : false - use the yield of logNeutrinoEnergy only : as the Auger/Rice people introduced. Return dN/dLogE [/cm^2 sec sr]
public double getDFDLogE(double logNeutrinoEnergy, double numberOfEvents)
double logNeutrinoEnergy : log10(Nu Energy at the earth surface [GeV]) double numberOfEvents : number of events in the IceCube Return dN/dLogE [/cm^2 sec sr]
public double getDFDLogE(double logNeutrinoEnergy, double yield, double numberOfEvents)
public double getYield(double logNeutrinoEnergy)
double logNeutrinoEnergy : log10(Nu Energy at the earth surface [GeV]) Return yield [cm^2 sec sr]Note : Yield given here is all-nu_flavor-summed value.
public double getInIceEffectiveArea(double logEnergy, double cosZenith, int flavor, int doublet)
double logEnergy : log10(inice Energy [GeV]) double cosZenith : cos(Zenith angle at the IceCube Depth) int flavor : flavor of the in-ice particle. Defined by Particle class int doublet : doublet of the in-ice particle. Defined by Particle classThe logE binWidth is 10 times Particle.getDeltaLogEnergy() = 0.1 decade; The cosZenith bin is 0.1