Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Protected Attributes | Friends

IsotopeWaveletTransform< PeakType >::TransSpectrum Class Reference

Internally (only by GPUs) used data structure . It allows efficient data exchange between CPU and GPU and avoids unnecessary memory moves. The class is tailored on the isotope wavelet transform and is in general not applicable on similar - but different - situations. More...

#include <OpenMS/TRANSFORMATIONS/FEATUREFINDER/IsotopeWaveletTransform.h>

List of all members.

Public Member Functions

 TransSpectrum ()
 TransSpectrum (const MSSpectrum< PeakType > *reference)
virtual ~TransSpectrum ()
virtual void destroy ()
DoubleReal getRT () const
DoubleReal getMZ (const UInt i) const
DoubleReal getRefIntensity (const UInt i) const
DoubleReal getTransIntensity (const UInt i) const
void setTransIntensity (const UInt i, const DoubleReal intens)
Size size () const
const MSSpectrum< PeakType > * getRefSpectrum ()
const MSSpectrum< PeakType > * getRefSpectrum () const
MSSpectrum< PeakType >
::const_iterator 
MZBegin (const DoubleReal mz) const
MSSpectrum< PeakType >
::const_iterator 
MZEnd (const DoubleReal mz) const
MSSpectrum< PeakType >
::const_iterator 
end () const
MSSpectrum< PeakType >
::const_iterator 
begin () const

Protected Attributes

const MSSpectrum< PeakType > * reference_
std::vector< float > * trans_intens_

Friends

class IsotopeWaveletTransform

Detailed Description

template<typename PeakType>
class OpenMS::IsotopeWaveletTransform< PeakType >::TransSpectrum

Internally (only by GPUs) used data structure . It allows efficient data exchange between CPU and GPU and avoids unnecessary memory moves. The class is tailored on the isotope wavelet transform and is in general not applicable on similar - but different - situations.


Constructor & Destructor Documentation

TransSpectrum (  )  [inline]

Default constructor

TransSpectrum ( const MSSpectrum< PeakType > *  reference  )  [inline]
virtual ~TransSpectrum (  )  [inline, virtual]

Member Function Documentation

MSSpectrum<PeakType>::const_iterator begin (  )  const [inline]

Attention: iterations will only performed over the reference spectrum. You will have to use the "distance"-function in order to get the corresponding entry of the transform.

References IsotopeWaveletTransform< PeakType >::TransSpectrum::reference_.

Referenced by IsotopeWaveletTransform< PeakType >::checkPositionForPlausibility_(), and IsotopeWaveletTransform< PeakType >::scoreThis_().

virtual void destroy (  )  [inline, virtual]
MSSpectrum<PeakType>::const_iterator end (  )  const [inline]

Attention: iterations will only performed over the reference spectrum. You will have to use the "distance"-function in order to get the corresponding entry of the transform.

References IsotopeWaveletTransform< PeakType >::TransSpectrum::reference_.

Referenced by IsotopeWaveletTransform< PeakType >::checkPositionForPlausibility_().

DoubleReal getMZ ( const UInt  i  )  const [inline]
DoubleReal getRefIntensity ( const UInt  i  )  const [inline]
const MSSpectrum<PeakType>* getRefSpectrum (  )  [inline]

Returns a pointer to the reference spectrum.

References IsotopeWaveletTransform< PeakType >::TransSpectrum::reference_.

const MSSpectrum<PeakType>* getRefSpectrum (  )  const [inline]

Returns a pointer to the reference spectrum.

References IsotopeWaveletTransform< PeakType >::TransSpectrum::reference_.

DoubleReal getRT (  )  const [inline]

Returns the RT value (not the index) of the associated scan.

References MSSpectrum< PeakT >::getRT(), and IsotopeWaveletTransform< PeakType >::TransSpectrum::reference_.

DoubleReal getTransIntensity ( const UInt  i  )  const [inline]
MSSpectrum<PeakType>::const_iterator MZBegin ( const DoubleReal  mz  )  const [inline]

Attention: iterations will only performed over the reference spectrum. You will have to use the "distance"-function in order to get the corresponding entry of the transform.

References MSSpectrum< PeakT >::MZBegin(), and IsotopeWaveletTransform< PeakType >::TransSpectrum::reference_.

Referenced by IsotopeWaveletTransform< PeakType >::checkPositionForPlausibility_(), and IsotopeWaveletTransform< PeakType >::scoreThis_().

MSSpectrum<PeakType>::const_iterator MZEnd ( const DoubleReal  mz  )  const [inline]

Attention: iterations will only performed over the reference spectrum. You will have to use the "distance"-function in order to get the corresponding entry of the transform.

References MSSpectrum< PeakT >::MZEnd(), and IsotopeWaveletTransform< PeakType >::TransSpectrum::reference_.

void setTransIntensity ( const UInt  i,
const DoubleReal  intens 
) [inline]

Stores the intensity value i of the transform at position i.

Size size (  )  const [inline]

Friends And Related Function Documentation

friend class IsotopeWaveletTransform [friend]

Member Data Documentation

const MSSpectrum<PeakType>* reference_ [protected]
std::vector<float>* trans_intens_ [protected]

OpenMS / TOPP release 1.10.0 Documentation generated on Thu Mar 7 2013 09:42:57 using doxygen 1.7.1