libpappsomspp
Library for mass spectrometry
qualifiedxic.cpp
Go to the documentation of this file.
1 /*
2  * *******************************************************************************
3  * * Copyright (c) 2015 Olivier Langella <Olivier.Langella@moulon.inra.fr>.
4  * *
5  * * This file is part of MassChroqPRM.
6  * *
7  * * MassChroqPRM 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  * * MassChroqPRM 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 MassChroqPRM. If not, see <http://www.gnu.org/licenses/>.
19  * *
20  * * Contributors:
21  * * Olivier Langella <Olivier.Langella@moulon.inra.fr> - initial API and
22  * implementation
23  * ******************************************************************************/
24 
25 #include <QDebug>
26 #include "qualifiedxic.h"
27 #include <vector>
28 
29 namespace pappso
30 {
31 
32 
34  pappso_double mz,
35  PrecisionPtr precision)
36  : m_msRunId(msrun_id),
37  m_mz(mz),
38  mp_precision(precision),
39  msp_xic(Xic().makeXicSPtr())
40 {
41  qDebug() << "QualifiedXic::QualifiedXic begin";
42 }
43 
45 {
46 }
47 
48 
50  : m_msRunId(toCopy.m_msRunId),
51  m_mz(toCopy.m_mz),
52  mp_precision(toCopy.mp_precision),
53  msp_xic(toCopy.msp_xic)
54 {
55  qDebug() << "QualifiedXic::QualifiedXic copy begin";
56 }
57 
58 } // namespace pappso
MS run identity MsRunId identifies an MS run with a unique ID (XmlId) and contains eventually informa...
Definition: msrunid.h:53
QualifiedXic(const MsRunId &msrun_id, pappso_double mz, PrecisionPtr precision)
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition: aa.cpp:39
double pappso_double
A type definition for doubles.
Definition: types.h:49