#include <OpenMS/DATASTRUCTURES/Adduct.h>
|
| static String | toAdductString (const String &ion_string, const Int &charge, Int mol_multiplier) |
| | Convert to adduct string with explicit multiplier (e.g., mol_multiplier=2 -> "[2M+H]+")
|
| |
◆ AdductsType
◆ Adduct() [1/3]
◆ Adduct() [2/3]
C'tor with initial charge.
◆ Adduct() [3/3]
| Adduct |
( |
Int |
charge, |
|
|
Int |
amount, |
|
|
double |
singleMass, |
|
|
const String & |
formula, |
|
|
double |
log_prob, |
|
|
double |
rt_shift, |
|
|
const String & |
label = "" |
|
) |
| |
◆ checkFormula_()
◆ getAmount()
| const Int & getAmount |
( |
| ) |
const |
◆ getCharge()
| const Int & getCharge |
( |
| ) |
const |
◆ getFormula()
| const String & getFormula |
( |
| ) |
const |
◆ getLabel()
| const String & getLabel |
( |
| ) |
const |
◆ getLogProb()
| const double & getLogProb |
( |
| ) |
const |
◆ getRTShift()
| const double & getRTShift |
( |
| ) |
const |
◆ getSingleMass()
| const double & getSingleMass |
( |
| ) |
const |
◆ operator*()
Increase amount of this adduct by factor.
- Parameters
-
◆ operator+()
Add two adducts amount if they are equal (defined by equal formula)
◆ operator+=()
| void operator+= |
( |
const Adduct & |
rhs | ) |
|
Add other adducts amount to *this (equal formula required!)
◆ setAmount()
| void setAmount |
( |
const Int & |
amount | ) |
|
◆ setCharge()
| void setCharge |
( |
const Int & |
charge | ) |
|
◆ setFormula()
| void setFormula |
( |
const String & |
formula | ) |
|
◆ setLogProb()
| void setLogProb |
( |
const double & |
log_prob | ) |
|
◆ setSingleMass()
| void setSingleMass |
( |
const double & |
singleMass | ) |
|
◆ toAdductString() [1/2]
◆ toAdductString() [2/2]
| static String toAdductString |
( |
const String & |
ion_string, |
|
|
const Int & |
charge, |
|
|
Int |
mol_multiplier |
|
) |
| |
|
static |
Convert to adduct string with explicit multiplier (e.g., mol_multiplier=2 -> "[2M+H]+")
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const Adduct & |
a |
|
) |
| |
|
friend |
Print the contents of an Adduct to a stream.
◆ operator==
◆ amount_
◆ charge_
◆ formula_
◆ label_
Label for this adduct (can be used to indicate heavy labels)
◆ log_prob_
log probability of observing a single entity of this adduct
◆ rt_shift_
RT shift induced by a single entity of this adduct (this is for adducts attached prior to ESI, e.g. labeling)
◆ singleMass_