iceCube.uhe.analysis
public class I3ParticleBuilder extends java.lang.Object
Constructor and Description |
---|
I3ParticleBuilder(boolean isMCTruth)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
corsikaMMC()
Call this method before executing process() when you read out
the Corsika-mmc track primary.
|
void |
fillMCPrimarySpectrumWeight(double powerLaw)
decide if you fills the MC spectrum weight with
the dN/dLogE of the MC data.
|
void |
fillNeutrinoWeight(InteractionsMatrix nuCCmtx,
InteractionsMatrix nuNCmtx)
You must call this method if the primary is a (interaction-weighted)
neutrino.
|
protected I3Particle |
generateI3Particle(int flavor,
int doublet,
double energyMCTruth,
double energyReco,
double distance,
double mcWeight,
J3Line axisInIce3MCTruth,
J3Line axisInIce3Reco,
int eventNumber,
double npeFADC,
double npeATWD,
double npeBest,
int nDOMsFADC,
int nDOMsATWD,
int nDOMsLaunch)
Generate I3Particle from a set of the given valuables.
|
protected I3Particle |
generateI3Particle(int flavor,
int doublet,
double energy,
double distance,
J3Line axisInIce3,
int eventNumber,
double npeFADC,
double npeATWD,
double npeBest,
int nDOMsFADC,
int nDOMsATWD,
int nDOMsLaunch)
Generate I3Particle from a set of the given valuables.
|
void |
process(java.io.DataInputStream in,
java.io.OutputStream out,
boolean isFullData)
the method to build I3Particle objects with data from the DataInputStream.
|
void |
setRangeOfMCSpectrum(double logEnergyMinimum,
double logEnergyMaximum)
Set range of MC primary spectrum dN/dE
|
public I3ParticleBuilder(boolean isMCTruth)
public void setRangeOfMCSpectrum(double logEnergyMinimum, double logEnergyMaximum)
double logEnergyMinimum : log(Energy Minimum [GeV]) in the spectral range double logEnergyMaximum : log(Energy Maximum [GeV]) in the spectral range
public void fillMCPrimarySpectrumWeight(double powerLaw)
double powerLaw : dN/dE = E**(-powerLaw)
public void fillNeutrinoWeight(InteractionsMatrix nuCCmtx, InteractionsMatrix nuNCmtx)
public void corsikaMMC()
public void process(java.io.DataInputStream in, java.io.OutputStream out, boolean isFullData) throws java.io.IOException
java.io.IOException
protected I3Particle generateI3Particle(int flavor, int doublet, double energy, double distance, J3Line axisInIce3, int eventNumber, double npeFADC, double npeATWD, double npeBest, int nDOMsFADC, int nDOMsATWD, int nDOMsLaunch)
protected I3Particle generateI3Particle(int flavor, int doublet, double energyMCTruth, double energyReco, double distance, double mcWeight, J3Line axisInIce3MCTruth, J3Line axisInIce3Reco, int eventNumber, double npeFADC, double npeATWD, double npeBest, int nDOMsFADC, int nDOMsATWD, int nDOMsLaunch)