org.jscience.physics.nuclear.kinematics.nuclear
Class SolidAbsorber

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

public class SolidAbsorber
extends Absorber
implements java.io.Serializable

Implementation of Absorber for a solid.

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
SolidAbsorber(double thickness, int units, Nucleus component)
          Creates a new SolidAbsorber object.
SolidAbsorber(double thickness, int units, java.lang.String component)
          Creates a new SolidAbsorber object.
SolidAbsorber(double thickness, int units, java.lang.String[] components, double[] fractions)
          Creates a new SolidAbsorber object.
SolidAbsorber(java.lang.String spec, double thickness)
          Creates a new SolidAbsorber object.
 
Method Summary
protected  java.lang.Object clone()
          DOCUMENT ME!
 double getDensity()
          Estimated density of solid in g/cm^3.
 Absorber getNewInstance(double factor)
          DOCUMENT ME!
 java.lang.String getText()
          DOCUMENT ME!
 double getThickness()
          Returns thickness in micrograms/cm^2.
static SolidAbsorber Kapton(double thickness, int units)
          DOCUMENT ME!
static SolidAbsorber Mylar(double thickness, int units)
          DOCUMENT ME!
 
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

SolidAbsorber

public SolidAbsorber(double thickness,
                     int units,
                     java.lang.String[] components,
                     double[] fractions)
              throws NuclearException
Creates a new SolidAbsorber object.

Parameters:
thickness - DOCUMENT ME!
units - DOCUMENT ME!
components - DOCUMENT ME!
fractions - DOCUMENT ME!
Throws:
NuclearException - DOCUMENT ME!

SolidAbsorber

public SolidAbsorber(double thickness,
                     int units,
                     java.lang.String component)
              throws NuclearException
Creates a new SolidAbsorber object.

Parameters:
thickness - DOCUMENT ME!
units - DOCUMENT ME!
component - DOCUMENT ME!
Throws:
NuclearException - DOCUMENT ME!

SolidAbsorber

public SolidAbsorber(double thickness,
                     int units,
                     Nucleus component)
              throws NuclearException
Creates a new SolidAbsorber object.

Parameters:
thickness - DOCUMENT ME!
units - DOCUMENT ME!
component - DOCUMENT ME!
Throws:
NuclearException - DOCUMENT ME!

SolidAbsorber

public SolidAbsorber(java.lang.String spec,
                     double thickness)
              throws NuclearException
Creates a new SolidAbsorber object.

Parameters:
spec - DOCUMENT ME!
thickness - DOCUMENT ME!
Throws:
NuclearException - DOCUMENT ME!
Method Detail

Mylar

public static SolidAbsorber Mylar(double thickness,
                                  int units)
                           throws NuclearException
DOCUMENT ME!

Parameters:
thickness - DOCUMENT ME!
units - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
NuclearException - DOCUMENT ME!

Kapton

public static SolidAbsorber Kapton(double thickness,
                                   int units)
                            throws NuclearException
DOCUMENT ME!

Parameters:
thickness - DOCUMENT ME!
units - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
NuclearException - DOCUMENT ME!

getDensity

public double getDensity()
Estimated density of solid in g/cm^3.

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

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!

getText

public java.lang.String getText()
DOCUMENT ME!

Returns:
DOCUMENT ME!