OpenMS
IsotopePatternGenerator.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: Nikos Patikos $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
11 #include <OpenMS/config.h>
12 
13 namespace OpenMS
14 {
15  class EmpiricalFormula;
16  class IsotopeDistribution;
17 
41  class OPENMS_DLLAPI IsotopePatternGenerator
42  {
43  public:
45  IsotopePatternGenerator(double probability_cutoff);
46 
53  virtual IsotopeDistribution run(const EmpiricalFormula&) const = 0;
55 
56  protected:
57  double min_prob_;
58  };
59 }
60 
Representation of an empirical formula.
Definition: EmpiricalFormula.h:59
Definition: IsotopeDistribution.h:39
Provides an interface for different isotope pattern generator methods.
Definition: IsotopePatternGenerator.h:42
double min_prob_
Definition: IsotopePatternGenerator.h:57
IsotopePatternGenerator(double probability_cutoff)
virtual IsotopeDistribution run(const EmpiricalFormula &) const =0
interface that is being used by the Isotope Pattern Generator methods.
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22