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;
109 std::vector<std::size_t> getPrecursorsFromMzRtCharge(
int charge,
114 unsigned int getMsLevelBySpectrumIndex(std::size_t spectrum_index);
117 getQualifiedMassSpectrumByRawIndex(std::size_t spectrum_index,
118 bool want_binary_data);
122 std::size_t ms2_index,
123 std::size_t precursor_index,
124 bool want_binary_data);
127 std::size_t ms2_index, std::size_t precursor_index,
bool want_binary_data);
133 std::vector<std::size_t> getTimsMS1FrameIdRange(
double rt_begin,
134 double rt_end)
const;
142 std::pair<std::size_t, std::size_t>
143 getScanCoordinateFromRawIndex(std::size_t spectrum_index)
const;
145 std::size_t getRawIndexFromCoordinate(std::size_t frame_id,
146 std::size_t scan_num)
const;
148 QSqlDatabase openDatabaseConnection()
const;
174 std::vector<TimsXicStructure> extractXicListByPrecursorIds(
175 const std::vector<std::size_t> &precursor_id_list,
178 double rtRange)
const;
180 std::vector<std::size_t>
181 getMatchPrecursorIdByKo(std::vector<std::vector<double>> ids,
183 std::vector<std::size_t>
184 getClosestIdByMz(std::vector<std::vector<double>> ids,
double mz_value);
192 std::size_t m_cacheSize = 60;