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

FeatureFinderAlgorithmPickedHelperStructs::MassTrace< PeakType > Struct Template Reference

Helper struct for mass traces used in FeatureFinderAlgorithmPicked. More...

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

List of all members.

Public Member Functions

ConvexHull2D getConvexhull () const
 determines the convex hull of the trace
void updateMaximum ()
 Sets the maximum to the highest contained peak of the trace.
DoubleReal getAvgMZ () const
 Returns the average m/z of all peaks in this trace (weighted by intensity).
bool isValid () const
 Checks if this Trace is valid (has more than 2 points).

Public Attributes

const PeakTypemax_peak
 Maximum peak pointer.
DoubleReal max_rt
 RT of maximum peak.
DoubleReal theoretical_int
 Theoretical intensity value (scaled to [0,1]).
std::vector< std::pair
< DoubleReal, const PeakType * > > 
peaks
 Contained peaks (pair of RT and pointer to peak).

Detailed Description

template<class PeakType>
struct OpenMS::FeatureFinderAlgorithmPickedHelperStructs::MassTrace< PeakType >

Helper struct for mass traces used in FeatureFinderAlgorithmPicked.


Member Function Documentation

DoubleReal getAvgMZ (  )  const [inline]

Returns the average m/z of all peaks in this trace (weighted by intensity).

References OpenMS::Math::sum().

ConvexHull2D getConvexhull (  )  const [inline]

determines the convex hull of the trace

References ConvexHull2D::addPoints().

bool isValid (  )  const [inline]
void updateMaximum (  )  [inline]

Sets the maximum to the highest contained peak of the trace.


Member Data Documentation

Maximum peak pointer.

RT of maximum peak.

std::vector<std::pair<DoubleReal, const PeakType *> > peaks

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