35 CONVERSIONDYNODEELECTRONMULTIPLIER,
36 CONVERSIONDYNODEPHOTOMULTIPLIER,
38 CHANNELELECTRONMULTIPLIER,
41 MICROCHANNELPLATEDETECTOR,
48 POSTACCELERATIONDETECTOR,
49 PHOTODIODEARRAYDETECTOR,
51 ELECTRONMULTIPLIERTUBE,
55 static const std::string NamesOfType[
static_cast<size_t>(Type::SIZE_OF_TYPE)];
65 SIZE_OF_ACQUISITIONMODE
68 static const std::string NamesOfAcquisitionMode[
static_cast<size_t>(AcquisitionMode::SIZE_OF_ACQUISITIONMODE)];
Description of a ion detector (part of a MS Instrument)
Definition IonDetector.h:25
bool operator!=(const IonDetector &rhs) const
Equality operator.
Type
Detector type.
Definition IonDetector.h:29
IonDetector & operator=(const IonDetector &)=default
Assignment operator.
Int getOrder() const
returns the position of this part in the whole Instrument.
double getResolution() const
returns the resolution (in ns)
void setResolution(double resolution)
sets the resolution (in ns)
static StringList getAllNamesOfType()
Returns all detector type names known to OpenMS.
IonDetector()
Constructor.
void setADCSamplingFrequency(double ADC_sampling_frequency)
sets the analog-to-digital converter sampling frequency (in Hz)
static AcquisitionMode toAcquisitionMode(const std::string &name)
Convert a string to an AcquisitionMode enum.
void setOrder(Int order)
sets the order
AcquisitionMode getAcquisitionMode() const
returns the acquisition mode
double resolution_
Definition IonDetector.h:176
static StringList getAllNamesOfAcquisitionMode()
Returns all acquisition mode names known to OpenMS.
void setType(Type type)
sets the detector type
~IonDetector()
Destructor.
IonDetector(const IonDetector &)=default
Copy constructor.
Int order_
Definition IonDetector.h:178
static const std::string & typeToString(Type type)
Convert a Type enum to its string representation.
void setAcquisitionMode(AcquisitionMode acquisition_mode)
sets the acquisition mode
Type getType() const
returns the detector type
AcquisitionMode
Acquisition mode.
Definition IonDetector.h:59
IonDetector & operator=(IonDetector &&) &=default
Move assignment operator.
static const std::string & acquisitionModeToString(AcquisitionMode mode)
Convert an AcquisitionMode enum to its string representation.
static Type toType(const std::string &name)
Convert a string to a Type enum.
AcquisitionMode acquisition_mode_
Definition IonDetector.h:175
double ADC_sampling_frequency_
Definition IonDetector.h:177
bool operator==(const IonDetector &rhs) const
Equality operator.
Type type_
Definition IonDetector.h:174
double getADCSamplingFrequency() const
returns the analog-to-digital converter sampling frequency (in Hz)
IonDetector(IonDetector &&)=default
Move constructor.
int Int
Signed integer type.
Definition Types.h:72
std::vector< String > StringList
Vector of String.
Definition ListUtils.h:44
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
std::size_t hash_int(T value) noexcept
Hash for an integer type.
Definition HashUtils.h:107
void hash_combine(std::size_t &seed, std::size_t value) noexcept
Combine a hash value with additional data using golden ratio mixing.
Definition HashUtils.h:87
std::size_t hash_float(T value) noexcept
Hash for a floating point type (float or double).
Definition HashUtils.h:142
std::size_t operator()(const OpenMS::IonDetector &d) const noexcept
Definition IonDetector.h:197