org.jscience.physics.nuclear.kinematics.nuclear
Class Absorber

java.lang.Object
  extended by org.jscience.physics.nuclear.kinematics.nuclear.Absorber
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
GasAbsorber, SolidAbsorber

public abstract class Absorber
extends java.lang.Object
implements java.io.Serializable

An abstraction of a thickness of material acting as a stopper of energetic ions.

See Also:
Serialized Form

Field Summary
static int CM
          DOCUMENT ME!
protected  double[] density
          Densities in g/cm^3.
protected  double[] fractions
          Fraction of nuclei that are this species.
static int MICROGRAM_CM2
          Units of thickness, ug/cm^2, mg/cm^2, cm
static int MIL
          DOCUMENT ME!
static int MILLIGRAM_CM2
          DOCUMENT ME!
protected  double thickness
          DOCUMENT ME!
protected  int[] Z
          DOCUMENT ME!
 
Constructor Summary
Absorber()
           
 
Method Summary
abstract  double getDensity()
          Returns mass density of absorber in g/cm^3.
 int[] getElements()
          DOCUMENT ME!
 double[] getFractions()
          DOCUMENT ME!
abstract  Absorber getNewInstance(double factor)
          Returns new absorber identical to this one, with thickness multiplied by factor.
abstract  double getThickness()
          Returns thickness in micrograms/cm^2.
protected  double[] setFractions(double[] fin)
          DOCUMENT ME!
 void setThickness(double value)
          DOCUMENT ME!
 void setThickness(double value, int units)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MICROGRAM_CM2

public static final int MICROGRAM_CM2
Units of thickness, ug/cm^2, mg/cm^2, cm

See Also:
Constant Field Values

MILLIGRAM_CM2

public static final int MILLIGRAM_CM2
DOCUMENT ME!

See Also:
Constant Field Values

CM

public static final int CM
DOCUMENT ME!

See Also:
Constant Field Values

MIL

public static final int MIL
DOCUMENT ME!

See Also:
Constant Field Values

Z

protected int[] Z
DOCUMENT ME!


density

protected double[] density
Densities in g/cm^3. (E.g. water would be ~ 1.0).


fractions

protected double[] fractions
Fraction of nuclei that are this species.


thickness

protected double thickness
DOCUMENT ME!

Constructor Detail

Absorber

public Absorber()
Method Detail

getThickness

public abstract double getThickness()
Returns thickness in micrograms/cm^2.

Returns:
DOCUMENT ME!

setFractions

protected double[] setFractions(double[] fin)
DOCUMENT ME!

Parameters:
fin - DOCUMENT ME!
Returns:
DOCUMENT ME!

getElements

public int[] getElements()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getFractions

public double[] getFractions()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setThickness

public void setThickness(double value,
                         int units)
DOCUMENT ME!

Parameters:
value - DOCUMENT ME!
units - DOCUMENT ME!

setThickness

public void setThickness(double value)
DOCUMENT ME!

Parameters:
value - DOCUMENT ME!

getDensity

public abstract double getDensity()
Returns mass density of absorber in g/cm^3.

Returns:
DOCUMENT ME!

getNewInstance

public abstract Absorber getNewInstance(double factor)
Returns new absorber identical to this one, with thickness multiplied by factor.

Parameters:
factor - DOCUMENT ME!
Returns:
DOCUMENT ME!