|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjecticeCube.uhe.particles.Particle
public class Particle
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.
Field Summary | |
---|---|
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] |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NumberOfFlavor
public static final int NumberOfDoublet
0 .. Neutrinos (or pi0 if Flabor = 3) 1 .. Charged lepton (or pi+)
public static final double[][] particleMasses
Constructor Detail |
---|
public Particle(int initialFlavor, int initialDoublet)
public Particle(int initialFlavor, int initialDoublet, double initialEnergy)
initialFlabor ... flavor valuable initialDoblet ... doublet valuable initialEnergy ... initial Energy [GeV]
Method Detail |
---|
public static boolean isValidFlavor(int initialFlavor)
public static boolean isValidDoublet(int initialDoublet)
public boolean isValidEnergy(double initialEnergy)
public int getFlavor()
public int getDoublet()
public double getMass()
public double getLifeTime()
public double getEnergy()
public double getLogEnergy()
public void putEnergy(double newEnergy)
public void putLogEnergy(double newLogEnergy)
public static java.lang.String particleName(int flavor, int doublet)
public static int getDimensionOfLogEnergyMatrix()
public void putDimensionOfLogEnergyMatrix(int dimension)
public static double getLogEnergyMinimum()
public void putLogEnergyMinimum(double newLogEnergy)
public static double getDeltaLogEnergy()
public void putDeltaLogEnergy(double newDeltaLogE)
public void generateLogEnergyMatrix()
public double getLogEnergyMatrix(int ilogE)
public void putLogEnergyMatrix(double logE, double matrixElement)
public void putLogEnergyMatrix(int ilogE, double matrixElement)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |