OpenMS
RNPxlMarkerIonExtractor.h
Go to the documentation of this file.
1 // Copyright (c) 2002-2023, The OpenMS Team -- EKU Tuebingen, ETH Zurich, and FU Berlin
2 // SPDX-License-Identifier: BSD-3-Clause
3 //
4 // --------------------------------------------------------------------------
5 // $Maintainer: Timo Sachsenberg $
6 // $Authors: Timo Sachsenberg $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
12 
13 #include <map>
14 #include <vector>
15 
16 namespace OpenMS
17 {
18  class String;
19 
20  struct OPENMS_DLLAPI RNPxlMarkerIonExtractor
21  {
23  typedef std::map<String, std::vector<std::pair<double, double> > > MarkerIonsType;
24 
26  static MarkerIonsType extractMarkerIons(const PeakSpectrum& s, const double marker_tolerance);
27  };
28 }
29 
30 
The representation of a 1D spectrum.
Definition: MSSpectrum.h:44
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22
Definition: RNPxlMarkerIonExtractor.h:21
std::map< String, std::vector< std::pair< double, double > > > MarkerIonsType
name to mass-intensity pair
Definition: RNPxlMarkerIonExtractor.h:23
static MarkerIonsType extractMarkerIons(const PeakSpectrum &s, const double marker_tolerance)
extract an annotate RNA marker ions