31 #include <QSqlDatabase>
34 #include "../../massspectrum/qualifiedmassspectrum.h"
35 #include "../../processing/filters/filterinterface.h"
89 getMassSpectrumCstSPtrByRawIndex(std::size_t raw_index);
99 std::size_t getTotalNumberOfScans()
const;
103 std::size_t getTotalNumberOfPrecursors()
const;
106 unsigned int getMsLevelBySpectrumIndex(std::size_t spectrum_index);
109 getQualifiedMassSpectrumByRawIndex(std::size_t spectrum_index,
110 bool want_binary_data);
114 std::size_t ms2_index,
115 std::size_t precursor_index,
116 bool want_binary_data);
119 std::size_t ms2_index, std::size_t precursor_index,
bool want_binary_data);
125 std::vector<std::size_t> getTimsMS1FrameIdRange(
double rt_begin,
126 double rt_end)
const;
134 std::pair<std::size_t, std::size_t>
135 getScanCoordinateFromRawIndex(std::size_t spectrum_index)
const;
137 std::size_t getRawIndexFromCoordinate(std::size_t frame_id,
138 std::size_t scan_num)
const;
140 QSqlDatabase openDatabaseConnection()
const;
166 std::vector<TimsXicStructure> extractXicListByPrecursorIds(
167 const std::vector<std::size_t> &precursor_id_list,
170 double rtRange)
const;
178 std::size_t m_cacheSize = 60;