OpenMS
SpectrumAccessQuadMZTransforming.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: Hannes Roest $
6 // $Authors: Hannes Roest $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
11 
13 
14 namespace OpenMS
15 {
26  class OPENMS_DLLAPI SpectrumAccessQuadMZTransforming :
28  {
29 public:
30 
41  double a, double b, double c, bool ppm);
42 
44 
45  boost::shared_ptr<OpenSwath::ISpectrumAccess> lightClone() const override;
46 
48 
49 private:
50 
51  double a_;
52  double b_;
53  double c_;
54  bool ppm_;
55 
56  };
57 }
58 
A transforming m/z wrapper around spectrum access using a quadratic equation.
Definition: SpectrumAccessQuadMZTransforming.h:28
double b_
Definition: SpectrumAccessQuadMZTransforming.h:52
double c_
Definition: SpectrumAccessQuadMZTransforming.h:53
OpenSwath::SpectrumPtr getSpectrumById(int id) override
Return a pointer to a spectrum at the given id.
bool ppm_
Definition: SpectrumAccessQuadMZTransforming.h:54
boost::shared_ptr< OpenSwath::ISpectrumAccess > lightClone() const override
Light clone operator to produce a copy for concurrent read access.
SpectrumAccessQuadMZTransforming(OpenSwath::SpectrumAccessPtr sptr, double a, double b, double c, bool ppm)
Constructor.
double a_
Definition: SpectrumAccessQuadMZTransforming.h:51
An abstract base class implementing a transforming wrapper around spectrum access.
Definition: SpectrumAccessTransforming.h:23
const double c
Definition: Constants.h:188
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
boost::shared_ptr< Spectrum > SpectrumPtr
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/DataStructures.h:276
boost::shared_ptr< ISpectrumAccess > SpectrumAccessPtr
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:131