OpenMS
FeatureFinderAlgorithmMRM.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: Andreas Bertsch $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
12 
13 namespace OpenMS
14 {
15  class InterpolationModel;
16 
33  class OPENMS_DLLAPI FeatureFinderAlgorithmMRM :
35  public FeatureFinderDefs
36  {
37 public:
39 
44 
50 
51 public:
52 
53  enum
54  {
56  MZ = Peak2D::MZ
57  };
58 
61 
63  void run() override;
64 
66 
67  static const String getProductName();
68 
69 protected:
70 
71  double fitRT_(std::vector<Peak1D>& rt_input_data, std::unique_ptr<InterpolationModel>& model) const;
72 
73  //Docu in base class
74  void updateMembers_() override;
75  };
76 
77 } // namespace OpenMS
78 
Param param_
Container for current parameters.
Definition: DefaultParamHandler.h:139
Param defaults_
Container for default parameters. This member should be filled in the constructor of derived classes!
Definition: DefaultParamHandler.h:146
FeatureFinderAlgorithm for MRM experiments.
Definition: FeatureFinderAlgorithmMRM.h:36
SpectrumType::FloatDataArrays FloatDataArrays
Definition: FeatureFinderAlgorithmMRM.h:42
static FeatureFinderAlgorithm * create()
FeatureFinderAlgorithm::MapType MapType
Definition: FeatureFinderAlgorithmMRM.h:40
FeatureFinderAlgorithmMRM()
default constructor
double fitRT_(std::vector< Peak1D > &rt_input_data, std::unique_ptr< InterpolationModel > &model) const
void updateMembers_() override
This method is used to update extra member variables at the end of the setParameters() method.
void run() override
Main method for actual FeatureFinder.
MapType::SpectrumType SpectrumType
Definition: FeatureFinderAlgorithmMRM.h:41
static const String getProductName()
Abstract base class for FeatureFinder algorithms.
Definition: FeatureFinderAlgorithm.h:50
const MapType * map_
Input data pointer.
Definition: FeatureFinderAlgorithm.h:113
FeatureMap * features_
Output data pointer.
Definition: FeatureFinderAlgorithm.h:116
FeatureFinder * ff_
Pointer to the calling FeatureFinder that is used to access the feature flags.
Definition: FeatureFinderAlgorithm.h:119
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:46
The representation of a 1D spectrum.
Definition: MSSpectrum.h:44
std::vector< FloatDataArray > FloatDataArrays
Definition: MSSpectrum.h:96
@ MZ
Mass-to-charge dimension id (1 if used as a const int)
Definition: Peak2D.h:50
@ RT
Retention time dimension id (0 if used as a const int)
Definition: Peak2D.h:49
A more convenient string class.
Definition: String.h:34
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22
@ RT
RT in seconds.
The purpose of this struct is to provide definitions of classes and typedefs which are used throughou...
Definition: FeatureFinderDefs.h:25