libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
xtandempresetreader.h
Go to the documentation of this file.
1/**
2 * \file pappsomspp/processing/tandemwrapper/xtandempresetreader.h
3 * \date 06/02/2020
4 * \author Olivier Langella
5 * \brief read tandem preset file to get centroid parameters and number of
6 * threads
7 */
8
9/*******************************************************************************
10 * Copyright (c) 2020 Olivier Langella <Olivier.Langella@u-psud.fr>.
11 *
12 * This file is part of PAPPSOms-tools.
13 *
14 * PAPPSOms-tools is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation, either version 3 of the License, or
17 * (at your option) any later version.
18 *
19 * PAPPSOms-tools is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
23 *
24 * You should have received a copy of the GNU General Public License
25 * along with PAPPSOms-tools. If not, see <http://www.gnu.org/licenses/>.
26 *
27 ******************************************************************************/
28
29#pragma once
30
31#include <QDebug>
32#include "../../types.h"
34/**
35 * @todo write docs
36 */
37namespace pappso
38{
40{
41 public:
42 /**
43 * Default constructor
44 */
46
47 /**
48 * Destructor
49 */
50 virtual ~XtandemPresetReader();
51
52 int getNumberOfThreads() const;
53 const QString getMs2FiltersOptions() const;
54 int getCountNote() const;
55
56 protected:
57 virtual void readStream() override;
58
59 private:
60 void read_note();
61
62 private:
63 int m_countNote = -1;
64 int m_threads = -1;
65
68};
69} // namespace pappso
const QString getMs2FiltersOptions() const
virtual void readStream() override
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition aa.cpp:39
PrecisionUnit
Definition types.h:76
This header contains all the type re-definitions and all the global variables definitions used in the...
common interface to read all XML streams containing convenient functions