OpenMS  2.4.0
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-2018.
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 #pragma once
36 
38 
39 namespace OpenMS
40 {
46  class OPENMS_DLLAPI IonDetector :
47  public MetaInfoInterface
48  {
49 public:
51  enum Type
52  {
75  SIZE_OF_TYPE
76  };
78  static const std::string NamesOfType[SIZE_OF_TYPE];
79 
82  {
85  ADC,
86  TDC,
88  SIZE_OF_ACQUISITIONMODE
89  };
91  static const std::string NamesOfAcquisitionMode[SIZE_OF_ACQUISITIONMODE];
92 
94  IonDetector();
96  IonDetector(const IonDetector & source);
98  ~IonDetector();
99 
101  IonDetector & operator=(const IonDetector & source);
102 
104  bool operator==(const IonDetector & rhs) const;
106  bool operator!=(const IonDetector & rhs) const;
107 
109  Type getType() const;
111  void setType(Type type);
112 
114  AcquisitionMode getAcquisitionMode() const;
116  void setAcquisitionMode(AcquisitionMode acquisition_mode);
117 
119  double getResolution() const;
121  void setResolution(double resolution);
122 
124  double getADCSamplingFrequency() const;
126  void setADCSamplingFrequency(double ADC_sampling_frequency);
127 
138  Int getOrder() const;
140  void setOrder(Int order);
141 
142 protected:
145  double resolution_;
148 
149  };
150 } // namespace OpenMS
151 
Photo multiplier.
Definition: IonDetector.h:55
Int order_
Definition: IonDetector.h:147
dynode
Definition: IonDetector.h:67
AcquisitionMode
Acquisition mode.
Definition: IonDetector.h:81
Conversion dynode electron multiplier.
Definition: IonDetector.h:58
Transient recorder.
Definition: IonDetector.h:87
Time-digital converter.
Definition: IonDetector.h:86
channeltron
Definition: IonDetector.h:62
microchannel plate detector
Definition: IonDetector.h:64
electron multiplier tube
Definition: IonDetector.h:74
Focal plane array.
Definition: IonDetector.h:56
bool operator==(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:806
Channel electron multiplier.
Definition: IonDetector.h:61
focal plane collector
Definition: IonDetector.h:68
Multi-collector.
Definition: IonDetector.h:60
ion-to-photon detector
Definition: IonDetector.h:69
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
Type
Detector type.
Definition: IonDetector.h:51
Faraday cup.
Definition: IonDetector.h:57
AcquisitionMode acquisition_mode_
Definition: IonDetector.h:144
Pulse counting.
Definition: IonDetector.h:84
point collector
Definition: IonDetector.h:70
postacceleration detector
Definition: IonDetector.h:71
conversion dynode
Definition: IonDetector.h:66
Unknown.
Definition: IonDetector.h:53
Analog-digital converter.
Definition: IonDetector.h:85
inductive detector
Definition: IonDetector.h:73
Description of a ion detector (part of a MS Instrument)
Definition: IonDetector.h:46
double resolution_
Definition: IonDetector.h:145
Interface for classes that can store arbitrary meta information (Type-Name-Value tuples).
Definition: MetaInfoInterface.h:55
daly detector
Definition: IonDetector.h:63
Conversion dynode photo multiplier.
Definition: IonDetector.h:59
Unknown.
Definition: IonDetector.h:83
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824
Type type_
Definition: IonDetector.h:143
double ADC_sampling_frequency_
Definition: IonDetector.h:146
Electron multiplier.
Definition: IonDetector.h:54
photodiode array detector
Definition: IonDetector.h:72
int Int
Signed integer type.
Definition: Types.h:102
array detector
Definition: IonDetector.h:65