ProteoWizard
|
The method of precursor ion selection and activation. More...
#include <MSData.hpp>
Public Member Functions | |
Precursor () | |
Precursor (double mz) | |
Precursor (double mz, double intensity, CVID intensityUnit) | |
Precursor (double mz, int chargeState) | |
Precursor (double mz, double intensity, int chargeState, CVID intensityUnit) | |
bool | empty () const |
returns true iff the element contains no params and all members are empty or null More... | |
![]() | |
CVParam | cvParam (CVID cvid) const |
finds cvid in the container: More... | |
CVParam | cvParamChild (CVID cvid) const |
finds child of cvid in the container: More... | |
std::vector< CVParam > | cvParamChildren (CVID cvid) const |
finds all children of cvid in the container: More... | |
bool | hasCVParam (CVID cvid) const |
returns true iff cvParams contains exact cvid (recursive) More... | |
bool | hasCVParamChild (CVID cvid) const |
returns true iff cvParams contains a child (is_a) of cvid (recursive) More... | |
UserParam | userParam (const std::string &) const |
finds UserParam with specified name More... | |
void | set (CVID cvid, const std::string &value="", CVID units=CVID_Unknown) |
set/add a CVParam (not recursive) More... | |
void | set (CVID cvid, double value, CVID units=CVID_Unknown) |
set/add a CVParam (not recursive) More... | |
void | set (CVID cvid, int value, CVID units=CVID_Unknown) |
set/add a CVParam (not recursive) More... | |
template<typename value_type > | |
void | set (CVID cvid, value_type value, CVID units=CVID_Unknown) |
set/add a CVParam (not recursive) More... | |
bool | empty () const |
returns true iff the element contains no params or param groups More... | |
void | clear () |
clears the collections More... | |
bool | operator== (const ParamContainer &that) const |
returns true iff this and that have the exact same cvParams and userParams More... | |
bool | operator!= (const ParamContainer &that) const |
returns !(this==that) More... | |
template<> | |
void | set (CVID cvid, bool value, CVID units) |
special case for bool (outside the class for gcc 3.4, and inline for msvc) More... | |
Public Attributes | |
SourceFilePtr | sourceFilePtr |
for precursor spectra that are external to this document, this attribute MUST reference the 'id' attribute of a sourceFile representing that external document. More... | |
std::string | externalSpectrumID |
for precursor spectra that are external to this document, this string MUST correspond to the 'id' attribute of a spectrum in the external document indicated by 'sourceFileRef'. More... | |
std::string | spectrumID |
reference to the id attribute of the spectrum from which the precursor was selected. More... | |
IsolationWindow | isolationWindow |
this element captures the isolation (or 'selection') window configured to isolate one or more precursors. More... | |
std::vector< SelectedIon > | selectedIons |
this list of precursor ions that were selected. More... | |
Activation | activation |
the type and energy level used for activation. More... | |
![]() | |
std::vector< ParamGroupPtr > | paramGroupPtrs |
a collection of references to ParamGroups More... | |
std::vector< CVParam > | cvParams |
a collection of controlled vocabulary terms More... | |
std::vector< UserParam > | userParams |
a collection of uncontrolled user terms More... | |
The method of precursor ion selection and activation.
Definition at line 310 of file MSData.hpp.
|
inline |
|
explicit |
|
explicit |
|
explicit |
|
explicit |
bool pwiz::msdata::Precursor::empty | ( | ) | const |
returns true iff the element contains no params and all members are empty or null
SourceFilePtr pwiz::msdata::Precursor::sourceFilePtr |
for precursor spectra that are external to this document, this attribute MUST reference the 'id' attribute of a sourceFile representing that external document.
note: this attribute is mutually exclusive with spectrumID; i.e. use one or the other but not both
Definition at line 314 of file MSData.hpp.
std::string pwiz::msdata::Precursor::externalSpectrumID |
for precursor spectra that are external to this document, this string MUST correspond to the 'id' attribute of a spectrum in the external document indicated by 'sourceFileRef'.
note: this attribute is mutually exclusive with spectrumID; i.e. use one or the other but not both
Definition at line 318 of file MSData.hpp.
std::string pwiz::msdata::Precursor::spectrumID |
reference to the id attribute of the spectrum from which the precursor was selected.
note: this attribute is mutually exclusive with externalSpectrumID; i.e. use one or the other but not both
Definition at line 322 of file MSData.hpp.
Referenced by initializeTestData(), pwiz::msdata::TextWriter::operator()(), and testPrecursor().
IsolationWindow pwiz::msdata::Precursor::isolationWindow |
this element captures the isolation (or 'selection') window configured to isolate one or more precursors.
Definition at line 325 of file MSData.hpp.
Referenced by initializeTinyMS2(), pwiz::msdata::TextWriter::operator()(), and testPrecursor().
std::vector<SelectedIon> pwiz::msdata::Precursor::selectedIons |
this list of precursor ions that were selected.
Definition at line 328 of file MSData.hpp.
Referenced by checkSpectrumInfo(), initializeTestData(), initializeTinyMGF(), initializeTinyMS2(), pwiz::msdata::TextWriter::operator()(), test(), testBinaryDataOnly(), and testPrecursor().
Activation pwiz::msdata::Precursor::activation |
the type and energy level used for activation.
Definition at line 331 of file MSData.hpp.
Referenced by initializeTestData(), pwiz::msdata::TextWriter::operator()(), and testPrecursor().