OpenMS
SwathMap.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: Hannes Roest $
6 // $Authors: Hannes Roest $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
12 
13 namespace OpenSwath
14 {
19  struct SwathMap
20  {
22  double lower;
23  double upper;
24  double center;
25  double imLower;
26  double imUpper;
27  bool ms1;
28 
30  lower(0.0),
31  upper(0.0),
32  center(0.0),
33  imLower(-1),
34  imUpper(-1),
35  ms1(false)
36  {}
37 
38  SwathMap(double mz_start, double mz_end, double mz_center, bool is_ms1)
39  : lower(mz_start),
40  upper(mz_end),
41  center(mz_center),
42  ms1(is_ms1)
43  {}
44 
45 
46  SwathMap(double mz_start, double mz_end, double mz_center, double imLower, double imUpper, bool is_ms1)
47  : lower(mz_start),
48  upper(mz_end),
49  center(mz_center),
52  ms1(is_ms1)
53  {}
54 
55 
56  };
57 
58 } //end Namespace OpenSwath
59 
Definition: Scoring.h:18
boost::shared_ptr< ISpectrumAccess > SpectrumAccessPtr
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:61
Data structure to hold one SWATH map with information about upper / lower isolation window and whethe...
Definition: SwathMap.h:20
SwathMap()
Definition: SwathMap.h:29
bool ms1
Definition: SwathMap.h:27
double imUpper
Definition: SwathMap.h:26
OpenSwath::SpectrumAccessPtr sptr
Definition: SwathMap.h:21
double center
Definition: SwathMap.h:24
SwathMap(double mz_start, double mz_end, double mz_center, double imLower, double imUpper, bool is_ms1)
Definition: SwathMap.h:46
double lower
Definition: SwathMap.h:22
double imLower
Definition: SwathMap.h:25
double upper
Definition: SwathMap.h:23
SwathMap(double mz_start, double mz_end, double mz_center, bool is_ms1)
Definition: SwathMap.h:38