libpappsomspp
Library for mass spectrometry
msrunreadconfig.h
Go to the documentation of this file.
1/*******************************************************************************
2 * Copyright (c) 2023 Filippo Rusconi
3 *<filippo.rusconi@universite-paris-saclay.fr>.
4 *
5 * This file is part of the PAPPSOms++ library.
6 *
7 * PAPPSOms++ is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * PAPPSOms++ is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with PAPPSOms++. If not, see <http://www.gnu.org/licenses/>.
19 *
20 ******************************************************************************/
21
22#pragma once
23
24#include <qobject.h>
25
26namespace pappso
27{
28
30{
31
32 public:
34 MsRunReadConfig(const MsRunReadConfig &other);
35
37
39
40 void setRetentionTimeStart(double retention_time_start);
41 double getRetentionTimeStart() const;
42
43 void setRetentionTimeEnd(double retention_time_end);
44 double getRetentionTimeEnd() const;
45
46 void setMsLevels(std::vector<std::size_t> ms_levels);
47 std::vector<std::size_t> getMsLevels(void);
48
49 private:
51 double m_retentionTimeEnd = -1;
52
53 std::vector<std::size_t> m_msLevels = {0};
54};
55
56} // namespace pappso
double getRetentionTimeEnd() const
MsRunReadConfig & operator=(const MsRunReadConfig &other)
std::vector< std::size_t > m_msLevels
void setRetentionTimeEnd(double retention_time_end)
double getRetentionTimeStart() const
std::vector< std::size_t > getMsLevels(void)
void setMsLevels(std::vector< std::size_t > ms_levels)
void setRetentionTimeStart(double retention_time_start)
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition: aa.cpp:39