103 SIZE_OF_ACTIVATIONMETHOD
106 static const std::string NamesOfActivationMethod[SIZE_OF_ACTIVATIONMETHOD];
107 static const std::string NamesOfActivationMethodShort[SIZE_OF_ACTIVATIONMETHOD];
222 (
c == 0) ?
c = 2 :
c = charge_;
229 double activation_energy_{};
230 double window_low_{};
232 double drift_time_{-1};
233 double drift_window_low_{};
234 double drift_window_up_{};
Representation of controlled vocabulary term list.
Definition: CVTermList.h:54
A 1-dimensional raw data point or peak.
Definition: Peak1D.h:54
Precursor meta information.
Definition: Precursor.h:61
void setActivationEnergy(double activation_energy)
sets the activation energy (in electronvolt)
Precursor(const Precursor &)=default
Copy constructor.
double getIsolationWindowLowerOffset() const
Returns the lower offset from the target m/z.
StringList getActivationMethodsAsString() const
convenience function, returning string representation of getActivationMethods()
double getDriftTimeWindowUpperOffset() const
Returns the upper offset from the target ion mobility in milliseconds.
std::vector< Int > & getPossibleChargeStates()
Mutable access to possible charge states.
const std::set< ActivationMethod > & getActivationMethods() const
returns a const reference to the activation methods
void setActivationMethods(const std::set< ActivationMethod > &activation_methods)
sets the activation methods
void setIsolationWindowUpperOffset(double bound)
sets the upper offset from the target m/z
bool operator==(const Precursor &rhs) const
Equality operator.
Precursor()=default
Constructor.
Precursor(Precursor &&) noexcept
Move constructor.
std::vector< Int > possible_charge_states_
Definition: Precursor.h:237
void setDriftTime(double drift_time)
sets the ion mobility drift time in milliseconds
void setDriftTimeUnit(DriftTimeUnit dt)
Sets the ion mobility drift time unit.
Int getCharge() const
Non-mutable access to the charge.
void setDriftTimeWindowUpperOffset(double drift_time)
sets the upper offset from the target ion mobility
bool operator!=(const Precursor &rhs) const
Equality operator.
double getIsolationWindowUpperOffset() const
Returns the upper offset from the target m/z.
DriftTimeUnit getDriftTimeUnit() const
Returns the ion mobility drift time unit.
double getDriftTimeWindowLowerOffset() const
Returns the lower offset from the target ion mobility in milliseconds.
void setDriftTimeWindowLowerOffset(double drift_time)
sets the lower offset from the target ion mobility
std::set< ActivationMethod > activation_methods_
Definition: Precursor.h:228
double getUnchargedMass() const
Returns the uncharged mass of the precursor, if charge is unknown, i.e. 0, our best guess is doubly c...
Definition: Precursor.h:219
std::set< ActivationMethod > & getActivationMethods()
returns a mutable reference to the activation methods
void setIsolationWindowLowerOffset(double bound)
sets the lower offset from the target m/z
double getActivationEnergy() const
returns the activation energy (in electronvolt)
void setCharge(Int charge)
Mutable access to the charge.
ActivationMethod
Method of activation.
Definition: Precursor.h:85
@ LIFT
Bruker proprietary method (MS:1002000)
Definition: Precursor.h:102
@ SORI
Sustained off-resonance irradiation.
Definition: Precursor.h:93
@ HCID
High-energy collision-induced dissociation.
Definition: Precursor.h:94
@ PQD
Pulsed q dissociation.
Definition: Precursor.h:98
@ ECD
Electron capture dissociation.
Definition: Precursor.h:91
@ BIRD
Blackbody infrared radiative dissociation.
Definition: Precursor.h:90
@ PHD
Photodissociation.
Definition: Precursor.h:96
@ LCID
Low-energy collision-induced dissociation.
Definition: Precursor.h:95
@ ETD
Electron transfer dissociation.
Definition: Precursor.h:97
@ HCD
beam-type collision-induced dissociation (MS:1000422) "HCD"
Definition: Precursor.h:100
@ PSD
Post-source decay.
Definition: Precursor.h:87
@ IMD
Infrared multiphoton dissociation.
Definition: Precursor.h:92
@ CID
Collision-induced dissociation.
Definition: Precursor.h:86
@ SID
Surface-induced dissociation.
Definition: Precursor.h:89
@ TRAP
trap-type collision-induced dissociation (MS:1002472)
Definition: Precursor.h:99
@ INSOURCE
in-source collision-induced dissociation (MS:1001880)
Definition: Precursor.h:101
@ PD
Plasma desorption.
Definition: Precursor.h:88
double getDriftTime() const
Returns the ion mobility drift time in milliseconds (-1 means it is not set)
const std::vector< Int > & getPossibleChargeStates() const
Non-mutable access to possible charge states.
void setPossibleChargeStates(const std::vector< Int > &possible_charge_states)
Sets the possible charge states.
int Int
Signed integer type.
Definition: Types.h:102
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
const double PROTON_MASS_U
Definition: Constants.h:116
const double c
Definition: Constants.h:214
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48
DriftTimeUnit
Drift time unit for ion mobility.
Definition: IMTypes.h:49