libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1/*
2 *
3 * MassChroQ: Mass Chromatogram Quantification software.
4 * Copyright (C) 2010 Olivier Langella, Edlira Nano, Benoit Valot, Michel Zivy.
5 *
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 *
19 */
20/**
21 * \file mcq_types.h
22 * \date January 10, 2011
23 * \author Edlira Nano
24 * \brief This header contains all the type re-definitions and all
25 * the global variables definitions used in MassChroQ.
26 *
27 * For configuration global variable definitions see config.h.cmake file.
28 */
29
30#include <QString>
31
32#pragma once
33
34
35namespace pappso::masschroq
36{
37/** \def PeakQualityCategory give an idea of the quality/confidence in a peak
38 * measurement
39 *
40 */
41enum class PeakQualityCategory : std::int8_t
42{
43 nomatch, ///< there is no category, because no matching is done (mz list for
44 ///< example)
45 aa, ///< best possible : more than one direct MS2 fragmentation in same MSRUN
46 a, ///< peak detected using a single direct MS2 observation
47 ab, ///< peak detected using direct MS2 observation... but the peak is
48 ///< fragmented. all MS2 retention times are not givins the same peak
49 zaa, ///<
50 za, ///<
51 zab, ///<
52 b, ///< less good : match between run, peak found at the aligned retention
53 ///< time
54 c, ///< less good : match between run, peak found at the aligned retention
55 ///< time, but multiple choice
56 d, ///< less good : match between run, peak found but in the margin of peak
57 ///< (second chance)
58 post_matching, ///< post matching category : new retention times are computed
59 ///< using real XIC, and aligned rt give a match
60 missed, ///< no peak found at all
62};
63
64
65
66}
@ a
peak detected using a single direct MS2 observation
Definition types.h:46
@ missed
no peak found at all
Definition types.h:60
@ aa
best possible : more than one direct MS2 fragmentation in same MSRUN
Definition types.h:45