30 #include "../../pappsoexception.h"
31 #include "../../precision.h"
72 if(label ==
"spectrum, timstof MS2 filters")
75 else if(label ==
"spectrum, threads")
80 else if(label ==
"spectrum, fragment monoisotopic mass error units")
90 else if(label ==
"spectrum, fragment monoisotopic mass error")
112 QString filter_suite;
115 QString charge_decon_filter = QString(
"chargeDeconvolution|%1")
116 .arg(precision->
toString().replace(
" ",
""));
120 QString mz_exclusion_filter =
121 QString(
"mzExclusion|%1").arg(precision_exclu->
toString().replace(
" ",
""));
122 filter_suite = charge_decon_filter +
" " + mz_exclusion_filter;
149 QObject::tr(
"Not an X!Tandem preset file"));
virtual QString toString() const =0
static PrecisionPtr getPrecisionPtrInstance(PrecisionUnit unit, double value)
get a precision pointer instance
QXmlStreamReader m_qxmlStreamReader
virtual ~XtandemPresetReader()
const QString getMs2FiltersOptions() const
double m_ms2precisionValue
int getNumberOfThreads() const
virtual void readStream() override
PrecisionUnit m_ms2precisionUnit
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
read tandem preset file to get centroid parameters and number of threads