ProteoWizard
|
Provides a custom-sorted spectrum list. More...
#include <SpectrumList_ScanSummer.hpp>
Public Member Functions | |
SpectrumList_ScanSummer (const msdata::SpectrumListPtr &inner, double precursorTol, double rTimeTol) | |
void | pushSpectrum (const msdata::SpectrumIdentity &) |
double | getPrecursorMz (const msdata::Spectrum &) const |
void | sumSubScansNaive (std::vector< double > &, std::vector< double > &, size_t, msdata::DetailLevel) const |
virtual size_t | size () const |
returns the number of spectra More... | |
virtual const msdata::SpectrumIdentity & | spectrumIdentity (size_t index) const |
access to a spectrum index More... | |
virtual msdata::SpectrumPtr | spectrum (size_t index, bool getBinaryData=false) const |
retrieve a spectrum by index More... | |
virtual msdata::SpectrumPtr | spectrum (size_t index, msdata::DetailLevel) const |
retrieve a spectrum by index More... | |
![]() | |
SpectrumListWrapper (const SpectrumListPtr &inner) | |
virtual bool | empty () const |
returns true iff (size() == 0) and (dataProcessingPtr.get() == NULL) More... | |
virtual const boost::shared_ptr< const DataProcessing > | dataProcessingPtr () const |
returns the data processing affecting spectra retrieved through this interface More... | |
SpectrumListPtr | inner () const |
SpectrumListPtr | innermost () const |
![]() | |
virtual size_t | find (const std::string &id) const |
find id in the spectrum index (returns size() on failure) More... | |
virtual size_t | findAbbreviated (const std::string &abbreviatedId, char delimiter='.') const |
find an abbreviated id (e.g. "1.1.123.2" for "sample=1 period=1 cycle=123 experiment=2") in the spectrum index (returns size() on failure) More... | |
virtual IndexList | findNameValue (const std::string &name, const std::string &value) const |
find all spectrum indexes with specified name/value pair More... | |
virtual IndexList | findSpotID (const std::string &spotID) const |
find all spectrum indexes with spotID (returns empty vector on failure) More... | |
virtual SpectrumPtr | spectrum (const SpectrumPtr &seed, bool getBinaryData) const |
get a copy of the seed spectrum, optionally with its binary data populated this is useful for formats like mzML that can delay loading of binary data More... | |
virtual void | warn_once (const char *msg) const |
issues a warning once per SpectrumList instance (based on string hash) More... | |
virtual | ~SpectrumList () |
Private Member Functions | |
SpectrumList_ScanSummer (SpectrumList_ScanSummer &) | |
SpectrumList_ScanSummer & | operator= (SpectrumList_ScanSummer &) |
Private Attributes | |
double | lowerMZlimit |
double | upperMZlimit |
double | TotalDaltons |
double | precursorTol_ |
double | rTimeTol_ |
int | ms2cnt |
std::vector< msdata::SpectrumIdentity > | spectrumIdentities |
std::vector< size_t > | indexMap |
std::vector< precursorGroup > | precursorList |
std::vector< precursorGroup > | ms2RetentionTimes |
Additional Inherited Members | |
![]() | |
SpectrumListPtr | inner_ |
DataProcessingPtr | dp_ |
Provides a custom-sorted spectrum list.
Definition at line 49 of file SpectrumList_ScanSummer.hpp.
pwiz::analysis::SpectrumList_ScanSummer::SpectrumList_ScanSummer | ( | const msdata::SpectrumListPtr & | inner, |
double | precursorTol, | ||
double | rTimeTol | ||
) |
|
private |
void pwiz::analysis::SpectrumList_ScanSummer::pushSpectrum | ( | const msdata::SpectrumIdentity & | ) |
double pwiz::analysis::SpectrumList_ScanSummer::getPrecursorMz | ( | const msdata::Spectrum & | ) | const |
void pwiz::analysis::SpectrumList_ScanSummer::sumSubScansNaive | ( | std::vector< double > & | , |
std::vector< double > & | , | ||
size_t | , | ||
msdata::DetailLevel | |||
) | const |
|
virtual |
returns the number of spectra
Reimplemented from pwiz::msdata::SpectrumListWrapper.
|
virtual |
access to a spectrum index
Reimplemented from pwiz::msdata::SpectrumListWrapper.
|
virtual |
retrieve a spectrum by index
Implements pwiz::msdata::SpectrumListWrapper.
|
virtual |
retrieve a spectrum by index
Reimplemented from pwiz::msdata::SpectrumListWrapper.
|
private |
|
private |
Definition at line 65 of file SpectrumList_ScanSummer.hpp.
|
private |
Definition at line 66 of file SpectrumList_ScanSummer.hpp.
|
private |
Definition at line 67 of file SpectrumList_ScanSummer.hpp.
|
private |
Definition at line 68 of file SpectrumList_ScanSummer.hpp.
|
private |
Definition at line 69 of file SpectrumList_ScanSummer.hpp.
|
mutableprivate |
Definition at line 71 of file SpectrumList_ScanSummer.hpp.
|
private |
Definition at line 72 of file SpectrumList_ScanSummer.hpp.
|
private |
Definition at line 73 of file SpectrumList_ScanSummer.hpp.
|
private |
Definition at line 74 of file SpectrumList_ScanSummer.hpp.
|
private |
Definition at line 75 of file SpectrumList_ScanSummer.hpp.