com.compomics.util.experiment.massspectrometry
Class Precursor

java.lang.Object
  extended by com.compomics.util.experiment.personalization.ExperimentObject
      extended by com.compomics.util.experiment.massspectrometry.Precursor
All Implemented Interfaces:
Serializable, Cloneable

public class Precursor
extends ExperimentObject

This class modilizes the precursor.

Author:
Marc Vaudel, Harald Barsnes
See Also:
Serialized Form

Constructor Summary
Precursor(double rt, double mz, Charge charge)
          Constructor for the precursor.
Precursor(double rt, double mz, double intensity, Charge charge)
          Constructor for the precursor.
 
Method Summary
 Charge getCharge()
          Getter for the charge.
 double getIntensity()
          Getter for the intensity.
 double getMz()
          Getter for the m/z.
 double getRt()
          Getter for the retention time.
 
Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject
addUrParam, getParameterKey, getUrParam
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Precursor

public Precursor(double rt,
                 double mz,
                 Charge charge)
Constructor for the precursor.

Parameters:
rt -
mz -
charge -

Precursor

public Precursor(double rt,
                 double mz,
                 double intensity,
                 Charge charge)
Constructor for the precursor.

Parameters:
rt -
mz -
intensity -
charge -
Method Detail

getRt

public double getRt()
Getter for the retention time.

Returns:
precursor retention time

getMz

public double getMz()
Getter for the m/z.

Returns:
precursor m/z

getIntensity

public double getIntensity()
Getter for the intensity.

Returns:
precursor intensity

getCharge

public Charge getCharge()
Getter for the charge.

Returns:
precursor charge


Copyright © 2011. All Rights Reserved.