OpenMS
ExtendedIsotopeModel.h
Go to the documentation of this file.
1 // Copyright (c) 2002-present, 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: $
7 // --------------------------------------------------------------------------
8 
9 
10 #pragma once
11 
13 
14 namespace OpenMS
15 {
29  class OPENMS_DLLAPI ExtendedIsotopeModel :
30  public InterpolationModel
31  {
32 
33 public:
36 
37  enum Averagines {C = 0, H, N, O, S, AVERAGINE_NUM};
38 
41 
44 
47 
50 
51  UInt getCharge() const;
52 
60  void setOffset(CoordinateType offset) override;
61 
63 
65  void setSamples() override;
66 
69  CoordinateType getCenter() const override;
70 
71 protected:
75  double averagine_[AVERAGINE_NUM];
79 
80  void updateMembers_() override;
81  };
82 }
83 
double CoordinateType
Definition: BaseModel.h:25
Definition: ExtendedIsotopeModel.h:31
UInt charge_
Definition: ExtendedIsotopeModel.h:73
ExtendedIsotopeModel()
Default constructor.
~ExtendedIsotopeModel() override
destructor
CoordinateType isotope_stdev_
Definition: ExtendedIsotopeModel.h:72
ExtendedIsotopeModel(const ExtendedIsotopeModel &source)
copy constructor
CoordinateType monoisotopic_mz_
Definition: ExtendedIsotopeModel.h:74
void setOffset(CoordinateType offset) override
set the offset of the model
virtual ExtendedIsotopeModel & operator=(const ExtendedIsotopeModel &source)
assignment operator
double isotope_distance_
Definition: ExtendedIsotopeModel.h:78
InterpolationModel::CoordinateType CoordinateType
Definition: ExtendedIsotopeModel.h:34
InterpolationModel::CoordinateType IntensityType
Definition: ExtendedIsotopeModel.h:35
void setSamples() override
set sample/supporting points of interpolation
CoordinateType getCenter() const override
get the monoisotopic mass of the Isotope model
void updateMembers_() override
This method is used to update extra member variables at the end of the setParameters() method.
Averagines
Definition: ExtendedIsotopeModel.h:37
double trim_right_cutoff_
Definition: ExtendedIsotopeModel.h:77
Int max_isotope_
Definition: ExtendedIsotopeModel.h:76
CoordinateType getOffset()
Abstract class for 1D-models that are approximated using linear interpolation.
Definition: InterpolationModel.h:30
double CoordinateType
Definition: InterpolationModel.h:35
int Int
Signed integer type.
Definition: Types.h:72
unsigned int UInt
Unsigned integer type.
Definition: Types.h:64
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19