35 RADIALEJECTIONLINEARIONTRAP,
36 AXIALEJECTIONLINEARIONTRAP,
50 static const std::string NamesOfAnalyzerType[
static_cast<size_t>(AnalyzerType::SIZE_OF_ANALYZERTYPE)];
63 SIZE_OF_RESOLUTIONMETHOD
66 static const std::string NamesOfResolutionMethod[
static_cast<size_t>(ResolutionMethod::SIZE_OF_RESOLUTIONMETHOD)];
74 SIZE_OF_RESOLUTIONTYPE
77 static const std::string NamesOfResolutionType[
static_cast<size_t>(ResolutionType::SIZE_OF_RESOLUTIONTYPE)];
88 static const std::string NamesOfScanDirection[
static_cast<size_t>(ScanDirection::SIZE_OF_SCANDIRECTION)];
100 static const std::string NamesOfScanLaw[
static_cast<size_t>(ScanLaw::SIZE_OF_SCANLAW)];
109 SIZE_OF_REFLECTRONSTATE
112 static const std::string NamesOfReflectronState[
static_cast<size_t>(ReflectronState::SIZE_OF_REFLECTRONSTATE)];
410 std::size_t seed = 0;
QC metric calculating (un)calibrated m/z error.
Definition FWHM.h:29
Description of a mass analyzer (part of a MS Instrument)
Definition MassAnalyzer.h:27
void setReflectronState(ReflectronState reflecton_state)
sets the reflectron state (for TOF)
static ScanDirection toScanDirection(const std::string &name)
Convert a string to a ScanDirection enum.
static ScanLaw toScanLaw(const std::string &name)
Convert a string to a ScanLaw enum.
double accuracy_
Definition MassAnalyzer.h:379
double getIsolationWidth() const
returns the isolation width i.e. in which m/z range the precursor ion is selected for MS to the n (in...
ResolutionMethod
resolution method
Definition MassAnalyzer.h:58
AnalyzerType
analyzer type
Definition MassAnalyzer.h:31
ReflectronState reflectron_state_
Definition MassAnalyzer.h:377
ScanDirection getScanDirection() const
returns the direction of scanning
Int getOrder() const
returns the position of this part in the whole Instrument.
double getResolution() const
returns the resolution
void setResolutionMethod(ResolutionMethod resolution_method)
sets the method used for determination of the resolution
static StringList getAllNamesOfReflectronState()
Returns all reflectron state names known to OpenMS.
void setTOFTotalPathLength(double TOF_total_path_length)
sets the path length for a TOF mass analyzer (in meter)
void setIsolationWidth(double isolation_width)
sets the isolation width i.e. in which m/z range the precursor ion is selected for MS to the n (in m/...
AnalyzerType getType() const
returns the analyzer type
void setResolution(double resolution)
sets the resolution
ResolutionType
Resolution type.
Definition MassAnalyzer.h:70
MassAnalyzer & operator=(const MassAnalyzer &)=default
Assignment operator.
double isolation_width_
Definition MassAnalyzer.h:383
static ReflectronState toReflectronState(const std::string &name)
Convert a string to a ReflectronState enum.
AnalyzerType type_
Definition MassAnalyzer.h:372
void setScanTime(double scan_time)
sets the scan time for a single scan (in s)
ReflectronState getReflectronState() const
returns the reflectron state (for TOF)
static StringList getAllNamesOfScanDirection()
Returns all scan direction names known to OpenMS.
static StringList getAllNamesOfScanLaw()
Returns all scan law names known to OpenMS.
ResolutionMethod resolution_method_
Definition MassAnalyzer.h:373
ReflectronState
Reflectron state.
Definition MassAnalyzer.h:104
void setFinalMSExponent(Int final_MS_exponent)
sets the final MS exponent
double scan_rate_
Definition MassAnalyzer.h:380
static ResolutionType toResolutionType(const std::string &name)
Convert a string to a ResolutionType enum.
void setOrder(Int order)
sets the order
double resolution_
Definition MassAnalyzer.h:378
void setResolutionType(ResolutionType resolution_type)
sets the resolution type
Int getFinalMSExponent() const
returns the final MS exponent
Int order_
Definition MassAnalyzer.h:386
static const std::string & analyzerTypeToString(AnalyzerType type)
Convert an AnalyzerType enum to its string representation.
double scan_time_
Definition MassAnalyzer.h:381
ScanLaw
Scan law.
Definition MassAnalyzer.h:92
static const std::string & resolutionMethodToString(ResolutionMethod method)
Convert a ResolutionMethod enum to its string representation.
MassAnalyzer(const MassAnalyzer &)=default
Copy constructor.
static StringList getAllNamesOfAnalyzerType()
Returns all analyzer type names known to OpenMS.
double TOF_total_path_length_
Definition MassAnalyzer.h:382
void setAccuracy(double accuracy)
sets the accuracy i.e. how much the theoretical mass may differ from the measured mass (in ppm)
double getTOFTotalPathLength() const
returns the path length for a TOF mass analyzer (in meter)
static StringList getAllNamesOfResolutionMethod()
Returns all resolution method names known to OpenMS.
ScanLaw getScanLaw() const
returns the scan law
static AnalyzerType toAnalyzerType(const std::string &name)
Convert a string to an AnalyzerType enum.
MassAnalyzer & operator=(MassAnalyzer &&) &=default
Move assignment operator.
double getScanRate() const
returns the scan rate (in s)
ScanDirection scan_direction_
Definition MassAnalyzer.h:375
static const std::string & scanDirectionToString(ScanDirection direction)
Convert a ScanDirection enum to its string representation.
bool operator==(const MassAnalyzer &rhs) const
Equality operator.
Int final_MS_exponent_
Definition MassAnalyzer.h:384
static ResolutionMethod toResolutionMethod(const std::string &name)
Convert a string to a ResolutionMethod enum.
MassAnalyzer(MassAnalyzer &&)=default
Move constructor.
bool operator!=(const MassAnalyzer &rhs) const
Equality operator.
static const std::string & scanLawToString(ScanLaw law)
Convert a ScanLaw enum to its string representation.
static const std::string & resolutionTypeToString(ResolutionType type)
Convert a ResolutionType enum to its string representation.
static const std::string & reflectronStateToString(ReflectronState state)
Convert a ReflectronState enum to its string representation.
double getScanTime() const
returns the scan time for a single scan (in s)
void setScanLaw(ScanLaw scan_law)
sets the scan law
MassAnalyzer()
Constructor.
ResolutionType getResolutionType() const
returns the resolution type
double getMagneticFieldStrength() const
returns the strength of the magnetic field (in T)
ResolutionType resolution_type_
Definition MassAnalyzer.h:374
void setScanRate(double scan_rate)
sets the scan rate (in s)
ResolutionMethod getResolutionMethod() const
returns the method used for determination of the resolution
~MassAnalyzer()
Destructor.
void setMagneticFieldStrength(double magnetic_field_strength)
sets the strength of the magnetic field (in T)
void setType(AnalyzerType type)
sets the analyzer type
ScanLaw scan_law_
Definition MassAnalyzer.h:376
ScanDirection
direction of scanning
Definition MassAnalyzer.h:81
void setScanDirection(ScanDirection scan_direction)
sets the direction of scanning
double getAccuracy() const
returns the mass accuracy i.e. how much the theoretical mass may differ from the measured mass (in pp...
static StringList getAllNamesOfResolutionType()
Returns all resolution type names known to OpenMS.
double magnetic_field_strength_
Definition MassAnalyzer.h:385
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::MassAnalyzer &ma) const noexcept
Definition MassAnalyzer.h:408