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;
81 ControllerType controllerType;
82 long controllerNumber;
85 pwiz::vendor_api::Thermo::ScanType scanType;
86 pwiz::vendor_api::Thermo::MSOrder msOrder;
90 vector<IndexEntry> index_;
91 map<string, size_t> idToIndexMap_;
94 size_t findPrecursorSpectrumIndex(
int precursorMsLevel,
double precursorIsolationMz,
size_t index)
const;
95 pwiz::vendor_api::Thermo::ScanInfoPtr findPrecursorZoomScan(
int precursorMsLevel,
double precursorIsolationMz,
size_t index)
const;
96 #endif // PWIZ_READER_THERMO 104 #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...