24 #ifndef _SPECTRUMLIST_THERMO_
25 #define _SPECTRUMLIST_THERMO_
37 #ifdef PWIZ_READER_THERMO
38 #include "pwiz_aux/msrc/utility/vendor_api/thermo/RawFile.h"
40 using namespace pwiz::vendor_api::Thermo;
41 #endif // PWIZ_READER_THERMO
53 virtual size_t size()
const;
55 virtual size_t find(
const string&
id)
const;
56 virtual SpectrumPtr spectrum(
size_t index,
bool getBinaryData)
const;
61 #ifdef PWIZ_READER_THERMO
64 int numSpectraOfScanType(pwiz::vendor_api::Thermo::ScanType scanType)
const;
65 int numSpectraOfMSOrder(pwiz::vendor_api::Thermo::MSOrder msOrder)
const;
70 pwiz::vendor_api::Thermo::RawFilePtr rawfile_;
73 vector<int> spectraByScanType;
74 vector<int> spectraByMSOrder;
78 ControllerType controllerType;
79 long controllerNumber;
82 pwiz::vendor_api::Thermo::ScanType scanType;
83 pwiz::vendor_api::Thermo::MSOrder msOrder;
87 vector<IndexEntry> index_;
88 map<string, size_t> idToIndexMap_;
91 size_t findPrecursorSpectrumIndex(
int precursorMsLevel,
double precursorIsolationMz,
size_t index)
const;
92 pwiz::vendor_api::Thermo::ScanInfoPtr findPrecursorZoomScan(
int precursorMsLevel,
double precursorIsolationMz,
size_t index)
const;
93 #endif // PWIZ_READER_THERMO
101 #endif // _SPECTRUMLIST_THERMO_