97 for(
auto ms_level : ms_levels)
101 qDebug() <<
"The passed vector of MS levels holds a value that is "
103 << ms_level <<
": skipping it.";
125 text += QString(
"%1 ").arg(index);
180 const QVariant &value)
183 auto ret =
m_paramsMap.insert(std::pair<MsRunReadConfigParameter, QVariant>(parameter, value));
185 if(ret.second ==
false)
187 ret.first->second = value;
227 QString text = QString(
"MsRunReadConfig\n: RT start: %1, RT end: %2\n")
231 text +=
"MS level(s): ";
236 text += QString(
"%1 ").arg(index);
244 QString(
"Mobility index range: [%1-%2]\n")
252 QString(
"Mobility 1/K0 range: [%1-%2]\n")
260 text += QString(
"m/z range: [%1-%2]\n")
268 QString(
"m/z merge window %1\n")
bool needPeakList() const
double getRetentionTimeEndInSeconds() const
double m_retentionTimeStartSeconds
bool m_msLevels[MAX_MS_LEVELS]
MsRunReadConfig & operator=(const MsRunReadConfig &other)
double m_retentionTimeEndSeconds
void setNeedPeakList(bool need_peak_list)
void setRetentionTimeStartInSeconds(double retention_time_start_in_seconds)
const QVariant getParameterValue(MsRunReadConfigParameter parameter) const
bool acceptMsLevel(std::size_t ms_level) const
bool acceptRetentionTimeInSeconds(double retention_time_in_seconds) const
std::map< MsRunReadConfigParameter, QVariant > m_paramsMap
map containing any parameter value
double getRetentionTimeStartInSeconds() const
void setMsLevels(std::vector< std::size_t > ms_levels)
void setRetentionTimeEndInSeconds(double retention_time_end_in_seconds)
QString getMsLevelsAsString() const
const bool * getMsLevels() const
void setParameterValue(MsRunReadConfigParameter parameter, const QVariant &value)
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
constexpr std::size_t MAX_MS_LEVELS
@ TimsFrameIonMobOneOverK0Begin
@ TimsFrameIonMobOneOverK0End
@ TimsFrameIonMobScanIndexBegin
@ TimsFrameMzIndexMergeWindow
@ TimsFrameIonMobScanIndexEnd