iceCube.uhe.particles
クラス Particle

java.lang.Object
  |
  +--iceCube.uhe.particles.Particle
すべての実装インタフェース:
java.io.Serializable

public class Particle
extends java.lang.Object
implements java.io.Serializable

     The Particle class to define their mass, names, flavors, lifetime
     It also provides the instance variables such as energy. 
 
              flavor  0      1      2        3
 doublet 
     0              e-nu   mu-nu   tau-nu    hadron(pi0)
     1              e      muon    tauon     hadron(pi+)
 
     In adition this class can yield a maxtrix to accomodate dN/dlogE, 
     the energy distribution of particles. The matrix "logEnergyMatrix"
     corresponds to (dN/dlogE)_i (0< i = < DimensionOflogEnergyMatrix).
     The lowest logE and bin width in this table are defined by 
     "deltaLogE and alogEnergyMinimu", respectively.
     

関連項目:
直列化された形式

フィールドの概要
private static double deltaLogE
           
private static int DimensionOflogEnergyMatrix
           
private  int doublet
           
private  double energy
           
private  int flavor
           
private  double lifetime
           
private  double ln10
           
private  double logEnergy
           
private  double[] logEnergyMatrix
           
private static double logEnergyMinimum
           
private  double mass
           
static int NumberOfDoublet
          Number of the "Doublet" valuables to define the particle.
static int NumberOfFlavor
          Number of the "Flavor" valuables to define the particle.
private static double[][] particleLifeTimes
           
static double[][] particleMasses
          Particle Mass [GeV]
 
コンストラクタの概要
Particle(int initialFlavor, int initialDoublet)
          Default initial energy 1EeV = 1.0e9 GeV
Particle(int initialFlavor, int initialDoublet, double initialEnergy)
          Constructor for Checking the given flavor and doublet index.
 
メソッドの概要
 void generateLogEnergyMatrix()
           
static double getDeltaLogEnergy()
           
static int getDimensionOfLogEnergyMatrix()
           
 int getDoublet()
           
 double getEnergy()
           
 int getFlavor()
           
 double getLifeTime()
           
 double getLogEnergy()
           
 double getLogEnergyMatrix(int ilogE)
           
static double getLogEnergyMinimum()
           
 double getMass()
           
static boolean isValidDoublet(int initialDoublet)
           
 boolean isValidEnergy(double initialEnergy)
           
static boolean isValidFlavor(int initialFlavor)
           
static java.lang.String particleName(int flavor, int doublet)
          Display the particle name.
 void putDeltaLogEnergy(double newDeltaLogE)
           
 void putDimensionOfLogEnergyMatrix(int dimension)
           
 void putEnergy(double newEnergy)
           
 void putLogEnergy(double newLogEnergy)
           
 void putLogEnergyMatrix(double logE, double matrixElement)
           
 void putLogEnergyMatrix(int ilogE, double matrixElement)
           
 void putLogEnergyMinimum(double newLogEnergy)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

energy

private double energy

logEnergy

private double logEnergy

mass

private double mass

lifetime

private double lifetime

flavor

private int flavor

doublet

private int doublet

NumberOfFlavor

public static final int NumberOfFlavor
Number of the "Flavor" valuables to define the particle.

関連項目:
定数フィールド値

NumberOfDoublet

public static final int NumberOfDoublet
Number of the "Doublet" valuables to define the particle.
 0 .. Neutrinos (or pi0 if Flabor = 3)
 1 .. Charged lepton (or pi+) 
         

関連項目:
定数フィールド値

particleMasses

public static final double[][] particleMasses
Particle Mass [GeV]


particleLifeTimes

private static final double[][] particleLifeTimes

ln10

private final double ln10

DimensionOflogEnergyMatrix

private static int DimensionOflogEnergyMatrix

deltaLogE

private static double deltaLogE

logEnergyMinimum

private static double logEnergyMinimum

logEnergyMatrix

private double[] logEnergyMatrix
コンストラクタの詳細

Particle

public Particle(int initialFlavor,
                int initialDoublet)
Default initial energy 1EeV = 1.0e9 GeV


Particle

public Particle(int initialFlavor,
                int initialDoublet,
                double initialEnergy)
Constructor for Checking the given flavor and doublet index.
            initialFlabor ... flavor valuable
            initialDoblet ... doublet valuable
            initialEnergy ... initial Energy [GeV]
            

メソッドの詳細

isValidFlavor

public static boolean isValidFlavor(int initialFlavor)

isValidDoublet

public static boolean isValidDoublet(int initialDoublet)

isValidEnergy

public boolean isValidEnergy(double initialEnergy)

getFlavor

public int getFlavor()

getDoublet

public int getDoublet()

getMass

public double getMass()

getLifeTime

public double getLifeTime()

getEnergy

public double getEnergy()

getLogEnergy

public double getLogEnergy()

putEnergy

public void putEnergy(double newEnergy)

putLogEnergy

public void putLogEnergy(double newLogEnergy)

particleName

public static java.lang.String particleName(int flavor,
                                            int doublet)
Display the particle name. Returns the String where the particle name is written.


getDimensionOfLogEnergyMatrix

public static int getDimensionOfLogEnergyMatrix()

putDimensionOfLogEnergyMatrix

public void putDimensionOfLogEnergyMatrix(int dimension)

getLogEnergyMinimum

public static double getLogEnergyMinimum()

putLogEnergyMinimum

public void putLogEnergyMinimum(double newLogEnergy)

getDeltaLogEnergy

public static double getDeltaLogEnergy()

putDeltaLogEnergy

public void putDeltaLogEnergy(double newDeltaLogE)

generateLogEnergyMatrix

public void generateLogEnergyMatrix()

getLogEnergyMatrix

public double getLogEnergyMatrix(int ilogE)

putLogEnergyMatrix

public void putLogEnergyMatrix(double logE,
                               double matrixElement)

putLogEnergyMatrix

public void putLogEnergyMatrix(int ilogE,
                               double matrixElement)