telescopeArray.dataClass.particles
クラス Particle

java.lang.Object
  拡張telescopeArray.dataClass.particles.Particle
すべての実装インタフェース:
java.io.Serializable
直系の既知のサブクラス:
PointParticle, TrackParticle

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             4          5
doublet 
    0              e-nu   mu-nu   tau-nu    hadron(pi0)   neutron    nuclei
    1              e      muon    tauon     hadron(pi+)   proton     nuclei

    Note that flavor 5 defines a nuclei with mass number you can set
    by calling the method putMassNumber(int massNumber). 

    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 alogEnergyMinimum", respectively.
    

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

フィールドの概要
static int NumberOfDoublet
          Number of the "Doublet" valuables to define the particle.
static int NumberOfFlavor
          Number of the "Flavor" valuables to define the particle.
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.
Particle(int initialFlavor, int initialDoublet, double initialEnergy, int massNumber)
          Constructor for setting a massNumber for nuclei
 
メソッドの概要
 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()
           
 double getMassNumber()
           
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
 

フィールドの詳細

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, neutrion if 4)
 1 .. Charged lepton (or pi+ for flavor=3, proton for 4)
        

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

particleMasses

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

コンストラクタの詳細

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]
           


Particle

public Particle(int initialFlavor,
                int initialDoublet,
                double initialEnergy,
                int massNumber)
Constructor for setting a massNumber for nuclei

メソッドの詳細

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)

getMassNumber

public double getMassNumber()

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)