org.jscience.physics.nuclear.kinematics.math.analysis.spanc
Class OutputPeak

java.lang.Object
  extended by org.jscience.physics.nuclear.kinematics.math.analysis.spanc.OutputPeak
All Implemented Interfaces:
java.io.Serializable

public class OutputPeak
extends java.lang.Object
implements java.io.Serializable

DOCUMENT ME!

See Also:
Serialized Form

Constructor Summary
OutputPeak(SpancReaction reaction, double ExProjectile, UncertainNumber channel, CalibrationFit cf)
          Creates new OutputPeak
 
Method Summary
 UncertainNumber getChannel()
          DOCUMENT ME!
 double getExProjectile()
          DOCUMENT ME!
 UncertainNumber getExResidual(boolean adjustError)
          DOCUMENT ME!
static OutputPeak getPeak(int which)
          DOCUMENT ME!
static java.util.Collection getPeakCollection()
          DOCUMENT ME!
 int getReactionIndex()
          DOCUMENT ME!
 UncertainNumber getRho(boolean adjustError)
          DOCUMENT ME!
static void recalculate()
          DOCUMENT ME!
static void refreshData(java.util.Collection retrievedPeaks)
          DOCUMENT ME!
static void removeAllPeaks()
          DOCUMENT ME!
static void removePeak(int which)
          DOCUMENT ME!
static void setCalibration(CalibrationFit cf)
          DOCUMENT ME!
 void setValues(SpancReaction reaction, double ExProjectile, UncertainNumber channel)
          DOCUMENT ME!
 java.lang.String toString()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OutputPeak

public OutputPeak(SpancReaction reaction,
                  double ExProjectile,
                  UncertainNumber channel,
                  CalibrationFit cf)
           throws KinematicsException,
                  StatisticsException,
                  MathException,
                  NuclearException
Creates new OutputPeak

Throws:
KinematicsException
StatisticsException
MathException
NuclearException
Method Detail

setValues

public void setValues(SpancReaction reaction,
                      double ExProjectile,
                      UncertainNumber channel)
               throws KinematicsException,
                      MathException,
                      StatisticsException,
                      NuclearException
DOCUMENT ME!

Parameters:
reaction - DOCUMENT ME!
ExProjectile - DOCUMENT ME!
channel - DOCUMENT ME!
Throws:
KinematicsException - DOCUMENT ME!
MathException - DOCUMENT ME!
StatisticsException - DOCUMENT ME!
NuclearException - DOCUMENT ME!

setCalibration

public static void setCalibration(CalibrationFit cf)
DOCUMENT ME!

Parameters:
cf - DOCUMENT ME!

removePeak

public static void removePeak(int which)
DOCUMENT ME!

Parameters:
which - DOCUMENT ME!

getPeak

public static OutputPeak getPeak(int which)
DOCUMENT ME!

Parameters:
which - DOCUMENT ME!
Returns:
DOCUMENT ME!

removeAllPeaks

public static void removeAllPeaks()
DOCUMENT ME!


getPeakCollection

public static java.util.Collection getPeakCollection()
DOCUMENT ME!

Returns:
DOCUMENT ME!

refreshData

public static void refreshData(java.util.Collection retrievedPeaks)
DOCUMENT ME!

Parameters:
retrievedPeaks - DOCUMENT ME!

recalculate

public static void recalculate()
                        throws KinematicsException,
                               StatisticsException,
                               MathException,
                               NuclearException
DOCUMENT ME!

Throws:
KinematicsException - DOCUMENT ME!
StatisticsException - DOCUMENT ME!
MathException - DOCUMENT ME!
NuclearException - DOCUMENT ME!

getRho

public UncertainNumber getRho(boolean adjustError)
                       throws KinematicsException
DOCUMENT ME!

Parameters:
adjustError - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
KinematicsException - DOCUMENT ME!

getReactionIndex

public int getReactionIndex()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getExResidual

public UncertainNumber getExResidual(boolean adjustError)
DOCUMENT ME!

Parameters:
adjustError - DOCUMENT ME!
Returns:
DOCUMENT ME!

getExProjectile

public double getExProjectile()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getChannel

public UncertainNumber getChannel()
DOCUMENT ME!

Returns:
DOCUMENT ME!

toString

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

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