OpenMS
MapAlignmentEvaluationAlgorithmPrecision.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: Katharina Albers $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
12 
13 namespace OpenMS
14 {
24  {
25 public:
28 
31 
35  void evaluate(const ConsensusMap & consensus_map_in, const ConsensusMap & consensus_map_gt, const double & rt_dev, const double & mz_dev, const Peak2D::IntensityType & int_dev, const bool use_charge, double & out) override;
36 
39  {
41  }
42 
45  {
46  return "precision";
47  }
48 
49 private:
50 
55 
56  };
57 
58 } // namespace OpenMS
59 
A container for consensus elements.
Definition: ConsensusMap.h:66
Caap evaluation algorithm to obtain a precision value.
Definition: MapAlignmentEvaluationAlgorithmPrecision.h:24
~MapAlignmentEvaluationAlgorithmPrecision() override
Destructor.
MapAlignmentEvaluationAlgorithmPrecision(const MapAlignmentEvaluationAlgorithmPrecision &)
Copy constructor intentionally not implemented -> private.
static String getProductName()
Returns the product name (for the Factory)
Definition: MapAlignmentEvaluationAlgorithmPrecision.h:44
void evaluate(const ConsensusMap &consensus_map_in, const ConsensusMap &consensus_map_gt, const double &rt_dev, const double &mz_dev, const Peak2D::IntensityType &int_dev, const bool use_charge, double &out) override
Applies the algorithm.
static MapAlignmentEvaluationAlgorithm * create()
Creates a new instance of this class (for Factory)
Definition: MapAlignmentEvaluationAlgorithmPrecision.h:38
MapAlignmentEvaluationAlgorithmPrecision()
Default constructor.
MapAlignmentEvaluationAlgorithmPrecision & operator=(const MapAlignmentEvaluationAlgorithmPrecision &)
Assignment operator intentionally not implemented -> private.
Base class for all Caap evaluation algorithms.
Definition: MapAlignmentEvaluationAlgorithm.h:22
float IntensityType
Intensity type.
Definition: Peak2D.h:36
A more convenient string class.
Definition: String.h:34
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22