libpappsomspp
Library for mass spectrometry
Toggle main menu visibility
Loading...
Searching...
No Matches
alignmentmethod.h
Go to the documentation of this file.
1
/**
2
* \file pappsomspp/masschroq/alignmentmethod.h
3
* \date 25/10/2024
4
* \author Olivier Langella
5
* \brief store parameters related to msrun alignment
6
*/
7
8
/*******************************************************************************
9
* Copyright (c) 2024 Olivier Langella
10
*<Olivier.Langella@universite-paris-saclay.fr>.
11
*
12
* This file is part of MassChroQ.
13
*
14
* MassChroQ 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
* MassChroQ 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 MassChroQ. If not, see <http://www.gnu.org/licenses/>.
26
*
27
******************************************************************************/
28
29
#pragma once
30
31
#include <memory>
32
#include <QString>
33
#include "
pappsomspp/core/processing/project/projectparameters.h
"
34
#include <QJsonObject>
35
#include "
pappsomspp/export-import-config.h
"
36
37
namespace
pappso::masschroq
38
{
39
40
class
PMSPP_LIB_DECL
AlignmentMethod
;
41
42
typedef
std::shared_ptr<AlignmentMethod>
AlignmentMethodSp
;
43
44
/**
45
* @todo write docs
46
*/
47
class
AlignmentMethod
48
{
49
public
:
50
/**
51
* Default constructor
52
*/
53
AlignmentMethod
(
const
QString &
id
);
54
55
AlignmentMethod
(
const
AlignmentMethod
&other);
56
57
/**
58
* Destructor
59
*/
60
~AlignmentMethod
();
61
62
const
QString &
getId
()
const
;
63
64
65
void
setMs2TendencyWindow
(std::uint8_t ms2_tendency_window);
66
67
void
setMs2SmoothingWindow
(std::uint8_t ms2_smoothing_window);
68
69
void
setMs1SmoothingWindow
(std::uint8_t ms1_smoothing_window);
70
71
void
setJsonObject
(
const
QJsonObject &json_object);
72
73
QJsonObject
getJsonObject
()
const
;
74
75
76
std::uint8_t
getMs2TendencyWindow
()
const
;
77
78
std::uint8_t
getMs2SmoothingWindow
()
const
;
79
80
std::uint8_t
getMs1SmoothingWindow
()
const
;
81
82
pappso::ProjectParameters
getProjectParameters
()
const
;
83
84
private
:
85
const
QString
m_id
;
86
87
quint8
m_ms2TendencyWindow
;
88
quint8
m_ms2SmoothingWindow
;
89
quint8
m_ms1SmoothingWindow
;
90
};
91
}
// namespace pappso::masschroq
pappso::ProjectParameters
Definition
projectparameters.h:66
pappso::masschroq::AlignmentMethod
Definition
alignmentmethod.h:48
pappso::masschroq::AlignmentMethod::getProjectParameters
pappso::ProjectParameters getProjectParameters() const
Definition
alignmentmethod.cpp:95
pappso::masschroq::AlignmentMethod::AlignmentMethod
AlignmentMethod(const QString &id)
Definition
alignmentmethod.cpp:31
pappso::masschroq::AlignmentMethod::m_ms2TendencyWindow
quint8 m_ms2TendencyWindow
Definition
alignmentmethod.h:87
pappso::masschroq::AlignmentMethod::m_ms1SmoothingWindow
quint8 m_ms1SmoothingWindow
Definition
alignmentmethod.h:89
pappso::masschroq::AlignmentMethod::setJsonObject
void setJsonObject(const QJsonObject &json_object)
Definition
alignmentmethod.cpp:127
pappso::masschroq::AlignmentMethod::m_id
const QString m_id
Definition
alignmentmethod.h:85
pappso::masschroq::AlignmentMethod::getId
const QString & getId() const
Definition
alignmentmethod.cpp:52
pappso::masschroq::AlignmentMethod::getJsonObject
QJsonObject getJsonObject() const
Definition
alignmentmethod.cpp:135
pappso::masschroq::AlignmentMethod::~AlignmentMethod
~AlignmentMethod()
Definition
alignmentmethod.cpp:47
pappso::masschroq::AlignmentMethod::m_ms2SmoothingWindow
quint8 m_ms2SmoothingWindow
Definition
alignmentmethod.h:88
pappso::masschroq::AlignmentMethod::setMs1SmoothingWindow
void setMs1SmoothingWindow(std::uint8_t ms1_smoothing_window)
Definition
alignmentmethod.cpp:58
pappso::masschroq::AlignmentMethod::setMs2TendencyWindow
void setMs2TendencyWindow(std::uint8_t ms2_tendency_window)
Definition
alignmentmethod.cpp:70
pappso::masschroq::AlignmentMethod::getMs2SmoothingWindow
std::uint8_t getMs2SmoothingWindow() const
Definition
alignmentmethod.cpp:83
pappso::masschroq::AlignmentMethod::getMs1SmoothingWindow
std::uint8_t getMs1SmoothingWindow() const
Definition
alignmentmethod.cpp:77
pappso::masschroq::AlignmentMethod::getMs2TendencyWindow
std::uint8_t getMs2TendencyWindow() const
Definition
alignmentmethod.cpp:89
pappso::masschroq::AlignmentMethod::setMs2SmoothingWindow
void setMs2SmoothingWindow(std::uint8_t ms2_smoothing_window)
Definition
alignmentmethod.cpp:64
export-import-config.h
PMSPP_LIB_DECL
#define PMSPP_LIB_DECL
Definition
export-import-config.h:14
pappso::masschroq
Definition
alignmentmethod.h:38
pappso::masschroq::AlignmentMethodSp
std::shared_ptr< AlignmentMethod > AlignmentMethodSp
Definition
alignmentmethod.h:42
pappso::masschroq::AlignmentMethod
class PMSPP_LIB_DECL AlignmentMethod
Definition
alignmentmethod.h:40
projectparameters.h
pappsomspp
core
masschroq
alignmentmethod.h
Generated on
for libpappsomspp by
1.17.0