iceCube.uhe.analysis
public class YieldAnalysisFactory extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
dimensionHist
Dimension of histogram
|
protected static java.lang.String[] |
intMtxPathname
Path to Intertaction Matrix file
|
protected double |
maxLogEFlux
Range of the log(neutrino energy flux [GeV/cm^2 sec sr])
in the histogram
|
protected double |
maxLogSigmaCC
Range of the log(neutrino Charged Current cross section [cm^2])
in the histogram
|
protected double |
minLogEFlux |
protected double |
minLogSigmaCC |
protected InteractionsMatrix |
nuCCMtx
Neutrino InteractionMatrix object
to calculate the STANDARD cross section
|
protected java.util.Map |
yieldMap
Maps to store the Yield Table
|
Constructor and Description |
---|
YieldAnalysisFactory(java.io.DataInputStream in)
Constructor.
|
YieldAnalysisFactory(java.io.DataInputStream in,
boolean chargedCurrent)
Constructor.
|
YieldAnalysisFactory(java.io.ObjectInputStream in)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getLogSigma(double logNeutrinoEnergy,
double logEFlux,
double numEvents)
Return the log(neutrino cross section [cm^2])
for a given log10(neutrino energy [GeV]) that yields
numEvents with log10(neutrino energy flux [GeV/cm^2 sec sr])
|
protected double |
getLogYield(java.util.LinkedHashMap sigmaYieldMap,
double logSigma)
getLogYield for a given log10(cross section [cm^2])
using interplolation of the yield table read in the constructor.
|
java.util.LinkedHashMap |
getSigmaFluxMap(double logNeutrinoEnergy,
double numEvents)
Make a map of (neutrino crosssection [cm^2],
log10(neutrino energy flux [GeV/cm^2 sec sr])) for a given
log10(neutrino energy [GeV]) and the number of events
|
protected java.util.LinkedHashMap |
getSigmaYieldMap(double logNeutrinoEnergy)
Returns the map containing a pair of (cross section, yield)
for a given log(Neutrino Energy [GeV])
|
void |
printYield(double logNeutrinoEnergy)
Print the yield table the method readYieldTable reads out
in the constructor for a given log(Neutrino Energy [GeV])
This method is mainly for debugging purposes.
|
protected void |
readYieldTable(java.io.DataInputStream in)
Reads the yield table from the DataInoutStream
and generate map(logE,map(sigmaCC,yield)) internally.
|
protected java.util.Map yieldMap
protected InteractionsMatrix nuCCMtx
protected static java.lang.String[] intMtxPathname
protected double maxLogEFlux
protected double minLogEFlux
protected double maxLogSigmaCC
protected double minLogSigmaCC
protected int dimensionHist
public YieldAnalysisFactory(java.io.DataInputStream in, boolean chargedCurrent) throws java.io.IOException
java.io.IOException
public YieldAnalysisFactory(java.io.DataInputStream in) throws java.io.IOException
java.io.IOException
public YieldAnalysisFactory(java.io.ObjectInputStream in) throws java.io.IOException
java.io.IOException
protected void readYieldTable(java.io.DataInputStream in) throws java.io.IOException
java.io.IOException
protected java.util.LinkedHashMap getSigmaYieldMap(double logNeutrinoEnergy)
public void printYield(double logNeutrinoEnergy)
protected double getLogYield(java.util.LinkedHashMap sigmaYieldMap, double logSigma)
public java.util.LinkedHashMap getSigmaFluxMap(double logNeutrinoEnergy, double numEvents)
public double getLogSigma(double logNeutrinoEnergy, double logEFlux, double numEvents)