Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
MassAnalyzer.h
Go to the documentation of this file.
1 // --------------------------------------------------------------------------
2 // OpenMS -- Open-Source Mass Spectrometry
3 // --------------------------------------------------------------------------
4 // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
5 // ETH Zurich, and Freie Universitaet Berlin 2002-2017.
6 //
7 // This software is released under a three-clause BSD license:
8 // * Redistributions of source code must retain the above copyright
9 // notice, this list of conditions and the following disclaimer.
10 // * Redistributions in binary form must reproduce the above copyright
11 // notice, this list of conditions and the following disclaimer in the
12 // documentation and/or other materials provided with the distribution.
13 // * Neither the name of any author or any participating institution
14 // may be used to endorse or promote products derived from this software
15 // without specific prior written permission.
16 // For a full list of authors, refer to the file AUTHORS.
17 // --------------------------------------------------------------------------
18 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 // ARE DISCLAIMED. IN NO EVENT SHALL ANY OF THE AUTHORS OR THE CONTRIBUTING
22 // INSTITUTIONS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
23 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
24 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
25 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
26 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
27 // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
28 // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 //
30 // --------------------------------------------------------------------------
31 // $Maintainer: Timo Sachsenberg $
32 // $Authors: Marc Sturm $
33 // --------------------------------------------------------------------------
34 
35 #ifndef OPENMS_METADATA_MASSANALYZER_H
36 #define OPENMS_METADATA_MASSANALYZER_H
37 
38 #include <OpenMS/CONCEPT/Types.h>
40 
41 namespace OpenMS
42 {
48  class OPENMS_DLLAPI MassAnalyzer :
49  public MetaInfoInterface
50  {
51 public:
54  {
60  TOF,
64  ESA,
65  IT,
69  LIT,
70  SIZE_OF_ANALYZERTYPE
71  };
73  static const std::string NamesOfAnalyzerType[SIZE_OF_ANALYZERTYPE];
74 
81  {
83  FWHM,
86  SIZE_OF_RESOLUTIONMETHOD
87  };
89  static const std::string NamesOfResolutionMethod[SIZE_OF_RESOLUTIONMETHOD];
90 
93  {
97  SIZE_OF_RESOLUTIONTYPE
98  };
100  static const std::string NamesOfResolutionType[SIZE_OF_RESOLUTIONTYPE];
101 
104  {
106  UP,
108  SIZE_OF_SCANDIRECTION
109  };
111  static const std::string NamesOfScanDirection[SIZE_OF_SCANDIRECTION];
112 
114  enum ScanLaw
115  {
120  SIZE_OF_SCANLAW
121  };
123  static const std::string NamesOfScanLaw[SIZE_OF_SCANLAW];
124 
127  {
129  ON,
130  OFF,
132  SIZE_OF_REFLECTRONSTATE
133  };
135  static const std::string NamesOfReflectronState[SIZE_OF_REFLECTRONSTATE];
136 
138  MassAnalyzer();
140  MassAnalyzer(const MassAnalyzer & source);
142  ~MassAnalyzer();
143 
145  MassAnalyzer & operator=(const MassAnalyzer & source);
146 
148  bool operator==(const MassAnalyzer & rhs) const;
150  bool operator!=(const MassAnalyzer & rhs) const;
151 
153  AnalyzerType getType() const;
155  void setType(AnalyzerType type);
156 
158  ResolutionMethod getResolutionMethod() const;
160  void setResolutionMethod(ResolutionMethod resolution_method);
161 
163  ResolutionType getResolutionType() const;
165  void setResolutionType(ResolutionType resolution_type);
166 
168  ScanDirection getScanDirection() const;
170  void setScanDirection(ScanDirection scan_direction);
171 
173  ScanLaw getScanLaw() const;
175  void setScanLaw(ScanLaw scan_law);
176 
178  ReflectronState getReflectronState() const;
180  void setReflectronState(ReflectronState reflecton_state);
181 
187  double getResolution() const;
189  void setResolution(double resolution);
190 
192  double getAccuracy() const;
194  void setAccuracy(double accuracy);
195 
197  double getScanRate() const;
199  void setScanRate(double scan_rate);
200 
202  double getScanTime() const;
204  void setScanTime(double scan_time);
205 
207  double getTOFTotalPathLength() const;
209  void setTOFTotalPathLength(double TOF_total_path_length);
210 
212  double getIsolationWidth() const;
214  void setIsolationWidth(double isolation_width);
215 
217  Int getFinalMSExponent() const;
219  void setFinalMSExponent(Int final_MS_exponent);
220 
222  double getMagneticFieldStrength() const;
224  void setMagneticFieldStrength(double magnetic_field_strength);
225 
236  Int getOrder() const;
238  void setOrder(Int order);
239 
240 protected:
247  double resolution_;
248  double accuracy_;
249  double scan_rate_;
250  double scan_time_;
256  };
257 } // namespace OpenMS
258 
259 #endif // OPENMS_METADATA_MASSANALYZER_H
Unknown.
Definition: MassAnalyzer.h:94
Fourier transform ion cyclotron resonance mass spectrometer.
Definition: MassAnalyzer.h:62
Unknown.
Definition: MassAnalyzer.h:105
Off.
Definition: MassAnalyzer.h:130
double magnetic_field_strength_
Definition: MassAnalyzer.h:254
Ion storage.
Definition: MassAnalyzer.h:63
Electrostatic energy analyzer.
Definition: MassAnalyzer.h:64
Full width at half max.
Definition: MassAnalyzer.h:83
ResolutionMethod resolution_method_
Definition: MassAnalyzer.h:242
Unknown.
Definition: MassAnalyzer.h:82
double scan_rate_
Definition: MassAnalyzer.h:249
Linear.
Definition: MassAnalyzer.h:118
bool operator==(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:806
Quadrupole ion trap / Paul ion trap.
Definition: MassAnalyzer.h:57
ScanDirection
direction of scanning
Definition: MassAnalyzer.h:103
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
AnalyzerType type_
Definition: MassAnalyzer.h:241
ResolutionType
Resolution type.
Definition: MassAnalyzer.h:92
double accuracy_
Definition: MassAnalyzer.h:248
Time-of-flight.
Definition: MassAnalyzer.h:60
Baseline.
Definition: MassAnalyzer.h:85
Unknown.
Definition: MassAnalyzer.h:55
Cyclotron.
Definition: MassAnalyzer.h:67
ResolutionMethod
resolution method
Definition: MassAnalyzer.h:80
Up.
Definition: MassAnalyzer.h:106
Int final_MS_exponent_
Definition: MassAnalyzer.h:253
Linear ion trap.
Definition: MassAnalyzer.h:69
ReflectronState reflectron_state_
Definition: MassAnalyzer.h:246
double resolution_
Definition: MassAnalyzer.h:247
Orbitrap.
Definition: MassAnalyzer.h:68
Stored waveform inverse fourier transform.
Definition: MassAnalyzer.h:66
Proportional.
Definition: MassAnalyzer.h:96
On.
Definition: MassAnalyzer.h:129
ReflectronState
Reflectron state.
Definition: MassAnalyzer.h:126
ScanDirection scan_direction_
Definition: MassAnalyzer.h:244
Quadratic.
Definition: MassAnalyzer.h:119
Interface for classes that can store arbitrary meta information (Type-Name-Value tuples).
Definition: MetaInfoInterface.h:56
double TOF_total_path_length_
Definition: MassAnalyzer.h:251
Radial ejection linear ion trap.
Definition: MassAnalyzer.h:58
Unknown.
Definition: MassAnalyzer.h:116
ResolutionType resolution_type_
Definition: MassAnalyzer.h:243
Unknown.
Definition: MassAnalyzer.h:117
Constant.
Definition: MassAnalyzer.h:95
Down.
Definition: MassAnalyzer.h:107
double isolation_width_
Definition: MassAnalyzer.h:252
Magnetic sector.
Definition: MassAnalyzer.h:61
Ion trap.
Definition: MassAnalyzer.h:65
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824
Ten percent valley.
Definition: MassAnalyzer.h:84
double scan_time_
Definition: MassAnalyzer.h:250
Axial ejection linear ion trap.
Definition: MassAnalyzer.h:59
AnalyzerType
analyzer type
Definition: MassAnalyzer.h:53
ScanLaw scan_law_
Definition: MassAnalyzer.h:245
ScanLaw
Scan law.
Definition: MassAnalyzer.h:114
int Int
Signed integer type.
Definition: Types.h:103
None.
Definition: MassAnalyzer.h:131
Description of a mass analyzer (part of a MS Instrument)
Definition: MassAnalyzer.h:48
Quadrupole.
Definition: MassAnalyzer.h:56
Int order_
Definition: MassAnalyzer.h:255
Unknown.
Definition: MassAnalyzer.h:128

OpenMS / TOPP release 2.3.0 Documentation generated on Tue Jan 9 2018 18:22:01 using doxygen 1.8.13