Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
IonDetector.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_IONDETECTOR_H
36 #define OPENMS_METADATA_IONDETECTOR_H
37 
39 
40 namespace OpenMS
41 {
47  class OPENMS_DLLAPI IonDetector :
48  public MetaInfoInterface
49  {
50 public:
52  enum Type
53  {
76  SIZE_OF_TYPE
77  };
79  static const std::string NamesOfType[SIZE_OF_TYPE];
80 
83  {
86  ADC,
87  TDC,
89  SIZE_OF_ACQUISITIONMODE
90  };
92  static const std::string NamesOfAcquisitionMode[SIZE_OF_ACQUISITIONMODE];
93 
95  IonDetector();
97  IonDetector(const IonDetector & source);
99  ~IonDetector();
100 
102  IonDetector & operator=(const IonDetector & source);
103 
105  bool operator==(const IonDetector & rhs) const;
107  bool operator!=(const IonDetector & rhs) const;
108 
110  Type getType() const;
112  void setType(Type type);
113 
115  AcquisitionMode getAcquisitionMode() const;
117  void setAcquisitionMode(AcquisitionMode acquisition_mode);
118 
120  double getResolution() const;
122  void setResolution(double resolution);
123 
125  double getADCSamplingFrequency() const;
127  void setADCSamplingFrequency(double ADC_sampling_frequency);
128 
139  Int getOrder() const;
141  void setOrder(Int order);
142 
143 protected:
146  double resolution_;
149 
150  };
151 } // namespace OpenMS
152 
153 #endif // OPENMS_METADATA_IONDETECTOR_H
Photo multiplier.
Definition: IonDetector.h:56
Int order_
Definition: IonDetector.h:148
dynode
Definition: IonDetector.h:68
AcquisitionMode
Acquisition mode.
Definition: IonDetector.h:82
Conversion dynode electron multiplier.
Definition: IonDetector.h:59
Transient recorder.
Definition: IonDetector.h:88
Time-digital converter.
Definition: IonDetector.h:87
channeltron
Definition: IonDetector.h:63
microchannel plate detector
Definition: IonDetector.h:65
electron multiplier tube
Definition: IonDetector.h:75
Focal plane array.
Definition: IonDetector.h:57
bool operator==(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:806
Channel electron multiplier.
Definition: IonDetector.h:62
focal plane collector
Definition: IonDetector.h:69
Multi-collector.
Definition: IonDetector.h:61
ion-to-photon detector
Definition: IonDetector.h:70
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Type
Detector type.
Definition: IonDetector.h:52
Faraday cup.
Definition: IonDetector.h:58
AcquisitionMode acquisition_mode_
Definition: IonDetector.h:145
Pulse counting.
Definition: IonDetector.h:85
point collector
Definition: IonDetector.h:71
postacceleration detector
Definition: IonDetector.h:72
conversion dynode
Definition: IonDetector.h:67
Unknown.
Definition: IonDetector.h:54
Analog-digital converter.
Definition: IonDetector.h:86
inductive detector
Definition: IonDetector.h:74
Description of a ion detector (part of a MS Instrument)
Definition: IonDetector.h:47
double resolution_
Definition: IonDetector.h:146
Interface for classes that can store arbitrary meta information (Type-Name-Value tuples).
Definition: MetaInfoInterface.h:56
daly detector
Definition: IonDetector.h:64
Conversion dynode photo multiplier.
Definition: IonDetector.h:60
Unknown.
Definition: IonDetector.h:84
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824
Type type_
Definition: IonDetector.h:144
double ADC_sampling_frequency_
Definition: IonDetector.h:147
Electron multiplier.
Definition: IonDetector.h:55
photodiode array detector
Definition: IonDetector.h:73
int Int
Signed integer type.
Definition: Types.h:103
array detector
Definition: IonDetector.h:66

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