48 static const std::string NamesOfScanMode[
static_cast<size_t>(ScanMode::SIZE_OF_SCANMODE)];
Description of the settings a MS Instrument was run with.
Definition InstrumentSettings.h:24
std::vector< ScanWindow > & getScanWindows()
returns a mutable reference to the m/z scan windows
ScanMode getScanMode() const
returns the scan mode
void setPolarity(IonSource::Polarity polarity)
sets the polarity
IonSource::Polarity polarity_
Definition InstrumentSettings.h:119
bool zoom_scan_
Definition InstrumentSettings.h:118
InstrumentSettings()
Constructor.
IonSource::Polarity getPolarity() const
returns the polarity
bool operator==(const InstrumentSettings &rhs) const
Equality operator.
InstrumentSettings & operator=(InstrumentSettings &&) &=default
Move assignment operator.
InstrumentSettings(InstrumentSettings &&)=default
Move constructor.
const std::vector< ScanWindow > & getScanWindows() const
returns a const reference to the m/z scan windows
void setZoomScan(bool zoom_scan)
sets if this scan is a zoom (enhanced resolution) scan
InstrumentSettings & operator=(const InstrumentSettings &)=default
Assignment operator.
std::vector< ScanWindow > scan_windows_
Definition InstrumentSettings.h:120
static StringList getAllNamesOfScanMode()
Returns all scan mode names known to OpenMS.
static const std::string & scanModeToString(ScanMode mode)
Convert a ScanMode enum to its string representation.
bool operator!=(const InstrumentSettings &rhs) const
Equality operator.
ScanMode scan_mode_
Definition InstrumentSettings.h:117
void setScanWindows(std::vector< ScanWindow > scan_windows)
sets the m/z scan windows
~InstrumentSettings()
Destructor.
void setScanMode(ScanMode scan_mode)
sets the scan mode
InstrumentSettings(const InstrumentSettings &)=default
Copy constructor.
bool getZoomScan() const
return if this scan is a zoom (enhanced resolution) scan
ScanMode
scan mode
Definition InstrumentSettings.h:28
static ScanMode toScanMode(const std::string &name)
Convert a string to a ScanMode enum.
Polarity
Polarity of the ion source.
Definition IonSource.h:119
@ UNKNOWN
Unknown or unrecognized ion type.
@ PRECURSOR
Precursor ion (p)
std::vector< String > StringList
Vector of String.
Definition ListUtils.h:44
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19