org.jscience.physics.nuclear.kinematics.nuclear
Class GasAbsorber

java.lang.Object
  extended by org.jscience.physics.nuclear.kinematics.nuclear.Absorber
      extended by org.jscience.physics.nuclear.kinematics.nuclear.GasAbsorber
All Implemented Interfaces:
java.io.Serializable

public class GasAbsorber
extends Absorber

Implementation of Absorber for gasses.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jscience.physics.nuclear.kinematics.nuclear.Absorber
CM, density, fractions, MICROGRAM_CM2, MIL, MILLIGRAM_CM2, thickness, Z
 
Constructor Summary
GasAbsorber(double length, double pressure, java.lang.String[] components, int[] atomsInMolecule)
          Given thickness in millimeters, pressure in torr, element components, and the numbers of atoms for each element in the gas molecule, creates an instance of absorber.
GasAbsorber(double length, double pressure, java.lang.String component, int atomsInMolecule)
          Creates a new GasAbsorber object.
 
Method Summary
static GasAbsorber CF4(double length, double pressure)
          Static factory method for tetraflouromethane gas absorber.
protected  java.lang.Object clone()
          DOCUMENT ME!
 double getDensity()
          DOCUMENT ME!
 Absorber getNewInstance(double factor)
          DOCUMENT ME!
 double getThickness()
          Returns thickness in micrograms/cm^2.
static GasAbsorber Isobutane(double length, double pressure)
          Static factory method for isobutane gas absorber.
 
Methods inherited from class org.jscience.physics.nuclear.kinematics.nuclear.Absorber
getElements, getFractions, setFractions, setThickness, setThickness
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GasAbsorber

public GasAbsorber(double length,
                   double pressure,
                   java.lang.String[] components,
                   int[] atomsInMolecule)
            throws NuclearException
Given thickness in millimeters, pressure in torr, element components, and the numbers of atoms for each element in the gas molecule, creates an instance of absorber.

Parameters:
length - in cm
pressure - in tor
components - elements symbols of molecular components
atomsInMolecole - number of atoms of each element per molecule in same order as components
Throws:
NuclearException

GasAbsorber

public GasAbsorber(double length,
                   double pressure,
                   java.lang.String component,
                   int atomsInMolecule)
            throws NuclearException
Creates a new GasAbsorber object.

Parameters:
length - DOCUMENT ME!
pressure - DOCUMENT ME!
component - DOCUMENT ME!
atomsInMolecule - DOCUMENT ME!
Throws:
NuclearException - DOCUMENT ME!
Method Detail

getDensity

public double getDensity()
DOCUMENT ME!

Specified by:
getDensity in class Absorber
Returns:
DOCUMENT ME!

Isobutane

public static GasAbsorber Isobutane(double length,
                                    double pressure)
                             throws NuclearException
Static factory method for isobutane gas absorber.

Parameters:
length - in cm
pressure - in torr
Returns:
isobutane gas absorber object
Throws:
NuclearException - if something goes wrong running GasAbsorber constructor

CF4

public static GasAbsorber CF4(double length,
                              double pressure)
                       throws NuclearException
Static factory method for tetraflouromethane gas absorber.

Parameters:
length - in cm
pressure - in torr
Returns:
isobutane gas absorber object
Throws:
NuclearException - if something goes wrong running GasAbsorber constructor

getThickness

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

Specified by:
getThickness in class Absorber
Returns:
DOCUMENT ME!

getNewInstance

public Absorber getNewInstance(double factor)
DOCUMENT ME!

Specified by:
getNewInstance in class Absorber
Parameters:
factor - DOCUMENT ME!
Returns:
DOCUMENT ME!

clone

protected java.lang.Object clone()
DOCUMENT ME!

Overrides:
clone in class java.lang.Object
Returns:
DOCUMENT ME!