21 class ExperimentalSettings;
60 double precursor_mz = 0.0;
137 void readDetectors(std::vector<MSChromatogram>& chromatograms, std::vector<MSSpectrum>& spectra);
Description of the experimental settings.
Definition ExperimentalSettings.h:37
Scan-by-scan conversion of a Thermo RAW file into OpenMS spectra (private).
Definition ThermoRawScanReader.h:49
std::shared_ptr< DataProcessing > dataProcessing() const
Data processing attached to every converted spectrum and chromatogram.
void convert(MSSpectrum &spectrum, ExperimentalSettings &settings, const ParentLookup &parent, bool peaks)
Convert the scan of the last header() call.
ThermoRawFile::Options Options
Definition ThermoRawScanReader.h:51
void readDetectors(std::vector< MSChromatogram > &chromatograms, std::vector< MSSpectrum > &spectra)
Detector (UV/PDA/analog) chromatograms and PDA spectra (Options::all_detectors).
std::unique_ptr< Impl > impl_
Definition ThermoRawScanReader.h:141
bool hasMSData() const
True if the file contains a mass spectrometer controller.
void fillSettings(ExperimentalSettings &settings) const
Write run-level settings into settings (instrument configurations are added by convert() and addInstr...
const ScanInfo & header(int scan, bool with_peaks=false)
Read the header of scan; must be called for every scan in increasing order.
int firstScan() const
First MS scan number (only valid if hasMSData()).
MSChromatogram ticChromatogram() const
TIC chromatogram as reported by the vendor library (reads every scan header).
ThermoRawScanReader(const std::string &path, const Options &options)
Open path.
ThermoRawScanReader(const ThermoRawScanReader &)=delete
void addInstrumentConfigurations(ExperimentalSettings &settings)
Add the instrument configurations of all scans read by header() so far to settings.
int lastScan() const
Last MS scan number (only valid if hasMSData()).
ThermoRawScanReader & operator=(const ThermoRawScanReader &)=delete
std::function< const MSSpectrum *(int scan)> ParentLookup
Returns the converted (peak-sorted) spectrum of a scan or nullptr if it is not available.
Definition ThermoRawScanReader.h:64
void readAhead(int last_scan, int peaks_from)
Read the following scans up to last_scan on worker threads ahead of header().
Scan header values needed to select scans before converting them.
Definition ThermoRawScanReader.h:55
The representation of a chromatogram.
Definition MSChromatogram.h:33
The representation of a 1D spectrum.
Definition MSSpectrum.h:44
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19