23 #ifndef _SPECTRUMLIST_AGILENT_ 24 #define _SPECTRUMLIST_AGILENT_ 37 #ifdef PWIZ_READER_AGILENT 38 #include "pwiz_aux/msrc/utility/vendor_api/Agilent/MassHunterData.hpp" 40 #include <boost/thread.hpp> 41 using namespace pwiz::vendor_api::Agilent;
42 #endif // PWIZ_READER_AGILENT 49 using boost::shared_ptr;
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;
65 virtual double driftTimeToCCS(
double driftTime,
double mz,
int charge)
const;
66 virtual double ccsToDriftTime(
double ccs,
double mz,
int charge)
const;
68 #ifdef PWIZ_READER_AGILENT 74 MassHunterDataPtr rawfile_;
77 mutable boost::mutex readMutex;
78 mutable int lastFrameIndex_;
79 mutable pwiz::vendor_api::Agilent::FramePtr lastFrame_;
80 mutable int lastRowNumber_;
81 mutable ScanRecordPtr lastScanRecord_;
93 mutable vector<IndexEntry> index_;
94 mutable map<string, size_t> idToIndexMap_;
95 mutable boost::container::flat_map<double, size_t> scanTimeToFrameMap_;
97 void createIndex()
const;
98 #endif // PWIZ_READER_AGILENT 106 #endif // _SPECTRUMLIST_AGILENT_ 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
double mz(double neutralMass, int protonDelta, int electronDelta=0, int neutronDelta=0)
boost::shared_ptr< Spectrum3D > Spectrum3DPtr
Identifying information for a spectrum.
This is the root element of ProteoWizard; it represents the mzML element, defined as: intended to cap...