24 #ifndef _SPECTRUMLIST_THERMO_ 25 #define _SPECTRUMLIST_THERMO_ 35 #include <boost/container/flat_map.hpp> 38 #ifdef PWIZ_READER_THERMO 39 #include "pwiz_aux/msrc/utility/vendor_api/thermo/RawFile.h" 41 #include <boost/thread.hpp> 43 #endif // PWIZ_READER_THERMO 55 virtual size_t size()
const;
57 virtual size_t find(
const string&
id)
const;
58 virtual SpectrumPtr spectrum(
size_t index,
bool getBinaryData)
const;
63 #ifdef PWIZ_READER_THERMO 66 int numSpectraOfScanType(pwiz::vendor_api::Thermo::ScanType scanType)
const;
67 int numSpectraOfMSOrder(pwiz::vendor_api::Thermo::MSOrder msOrder)
const;
72 pwiz::vendor_api::Thermo::RawFilePtr rawfile_;
75 vector<int> spectraByScanType;
76 vector<int> spectraByMSOrder;
77 mutable boost::recursive_mutex readMutex;
78 map<long, vector<double> > fillIndex;
82 ControllerType controllerType;
83 long controllerNumber;
86 pwiz::vendor_api::Thermo::ScanType scanType;
87 pwiz::vendor_api::Thermo::MSOrder msOrder;
91 vector<IndexEntry> index_;
92 map<string, size_t> idToIndexMap_;
96 size_t findPrecursorSpectrumIndex(
int precursorMsLevel,
double precursorIsolationMz,
size_t index)
const;
97 pwiz::vendor_api::Thermo::ScanInfoPtr findPrecursorZoomScan(
int precursorMsLevel,
double precursorIsolationMz,
size_t index)
const;
99 #endif // PWIZ_READER_THERMO 107 #endif // _SPECTRUMLIST_THERMO_ common functionality for base SpectrumList implementations
a virtual container of integers, accessible via an iterator interface, stored as union of intervals ...
boost::shared_ptr< Spectrum > SpectrumPtr
Identifying information for a spectrum.
This is the root element of ProteoWizard; it represents the mzML element, defined as: intended to cap...