Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Instrument.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_INSTRUMENT_H
36 #define OPENMS_METADATA_INSTRUMENT_H
37 
44 
45 #include <vector>
46 
47 namespace OpenMS
48 {
64  class OPENMS_DLLAPI Instrument :
65  public MetaInfoInterface
66  {
67 
68 public:
69 
72  {
85  SIZE_OF_IONOPTICSTYPE
86  };
88  static const std::string NamesOfIonOpticsType[SIZE_OF_IONOPTICSTYPE];
89 
91  Instrument();
93  Instrument(const Instrument & source);
95  ~Instrument();
96 
98  Instrument & operator=(const Instrument & source);
99 
101  bool operator==(const Instrument & rhs) const;
103  bool operator!=(const Instrument & rhs) const;
104 
106  const String & getName() const;
108  void setName(const String & name);
109 
111  const String & getVendor() const;
113  void setVendor(const String & vendor);
114 
116  const String & getModel() const;
118  void setModel(const String & model);
119 
121  const String & getCustomizations() const;
123  void setCustomizations(const String & customizations);
124 
126  const std::vector<IonSource> & getIonSources() const;
128  std::vector<IonSource> & getIonSources();
130  void setIonSources(const std::vector<IonSource> & ion_sources);
131 
133  const std::vector<MassAnalyzer> & getMassAnalyzers() const;
135  std::vector<MassAnalyzer> & getMassAnalyzers();
137  void setMassAnalyzers(const std::vector<MassAnalyzer> & mass_analyzers);
138 
140  const std::vector<IonDetector> & getIonDetectors() const;
142  std::vector<IonDetector> & getIonDetectors();
144  void setIonDetectors(const std::vector<IonDetector> & ion_detectors);
145 
147  const Software & getSoftware() const;
149  Software & getSoftware();
151  void setSoftware(const Software & software);
152 
154  IonOpticsType getIonOptics() const;
156  void setIonOptics(IonOpticsType ion_optics);
157 
158 protected:
159 
164  std::vector<IonSource> ion_sources_;
165  std::vector<MassAnalyzer> mass_analyzers_;
166  std::vector<IonDetector> ion_detectors_;
169  };
170 } // namespace OpenMS
171 
172 #endif // OPENMS_METADATA_INSTRUMENT_H
time lag focusing
Definition: Instrument.h:78
Description of a MS instrument.
Definition: Instrument.h:64
IonOpticsType ion_optics_
Definition: Instrument.h:168
A more convenient string class.
Definition: String.h:57
String model_
Definition: Instrument.h:162
bool operator==(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:806
Description of the software used for processing.
Definition: Software.h:49
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
collision quadrupole
Definition: Instrument.h:76
String name_
Definition: Instrument.h:160
std::vector< IonSource > ion_sources_
Definition: Instrument.h:164
magnetic deflection
Definition: Instrument.h:74
String vendor_
Definition: Instrument.h:161
unknown
Definition: Instrument.h:73
std::vector< MassAnalyzer > mass_analyzers_
Definition: Instrument.h:165
delayed extraction
Definition: Instrument.h:75
first stability region
Definition: Instrument.h:81
fringing field
Definition: Instrument.h:82
reflectron
Definition: Instrument.h:79
IonOpticsType
ion optics type
Definition: Instrument.h:71
Interface for classes that can store arbitrary meta information (Type-Name-Value tuples).
Definition: MetaInfoInterface.h:56
String customizations_
Definition: Instrument.h:163
selected ion flow tube
Definition: Instrument.h:77
Software software_
Definition: Instrument.h:167
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824
einzel lens
Definition: Instrument.h:80
std::vector< IonDetector > ion_detectors_
Definition: Instrument.h:166
kinetic energy analyzer
Definition: Instrument.h:83
static field
Definition: Instrument.h:84

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