36 : m_retentionTimeStartSeconds(other.m_retentionTimeStartSeconds),
37 m_retentionTimeEndSeconds(other.m_retentionTimeEndSeconds),
38 m_paramsMap(other.m_paramsMap)
66 double retention_time_start_in_seconds)
79 double retention_time_end_in_seconds)
99 for(
auto ms_level : ms_levels)
103 qDebug() <<
"The passed vector of MS levels holds a value that is "
105 << ms_level <<
": skipping it.";
127 text += QString(
"%1 ").arg(index);
145 double retention_time_in_seconds)
const
183 const QVariant &value)
187 std::pair<MsRunReadConfigParameter, QVariant>(parameter, value));
189 if(ret.second ==
false)
191 ret.first->second = value;
232 QString text = QString(
"MsRunReadConfig\n: RT start: %1, RT end: %2\n")
236 text +=
"MS level(s): ";
241 text += QString(
"%1 ").arg(index);
251 QString(
"Mobility index range: [%1-%2]\n")
264 text += QString(
"Mobility 1/K0 range: [%1-%2]\n")
279 text += QString(
"m/z range: [%1-%2]\n")
293 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...
@ TimsFrameIonMobOneOverK0Begin
@ TimsFrameIonMobOneOverK0End
@ TimsFrameIonMobScanIndexBegin
@ TimsFrameIonMobScanIndexEnd
constexpr std::size_t MAX_MS_LEVELS
@ TimsFrameIonMobScanIndexBegin
@ TimsFrameMzIndexMergeWindow