libpappsomspp
Library for mass spectrometry
xicpeptidefragmentionnaturalisotope.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 
26 
27 namespace pappso
28 {
30  const MsRunId &msrun_id,
31  const PeptideNaturalIsotopeAverageSp &naturalIsotopeAverageSp,
32  const PeptideFragmentIonSp &peptideFragmentIonSp)
33  : QualifiedXic(msrun_id,
34  naturalIsotopeAverageSp.get()->getMz(),
35  naturalIsotopeAverageSp.get()->getPrecision()),
36  msp_naturalIsotopeAverage(naturalIsotopeAverageSp),
37  msp_peptideFragmentIon(peptideFragmentIonSp)
38 {
39  qDebug() << "XicPeptideFragmentIonNaturalIsotope::"
40  "XicPeptideFragmentIonNaturalIsotope begin";
41 
42  qDebug() << "XicPeptideFragmentIonNaturalIsotope::"
43  "XicPeptideFragmentIonNaturalIsotope 1 "
45 
46  qDebug() << "XicPeptideFragmentIonNaturalIsotope::"
47  "XicPeptideFragmentIonNaturalIsotope 2 "
48  << msp_peptideFragmentIon.get();
49 }
50 
52 {
53 }
54 
57  : QualifiedXic(other)
58 {
59  qDebug() << "XicPeptideFragmentIonNaturalIsotope::"
60  "XicPeptideFragmentIonNaturalIsotope copy begin";
63  qDebug() << "XicPeptideFragmentIonNaturalIsotope::"
64  "XicPeptideFragmentIonNaturalIsotope copy end";
65 }
66 } // namespace pappso
MS run identity MsRunId identifies an MS run with a unique ID (XmlId) and contains eventually informa...
Definition: msrunid.h:53
XicPeptideFragmentIonNaturalIsotope(const MsRunId &msrun_id, const PeptideNaturalIsotopeAverageSp &naturalIsotopeAverageSp, const PeptideFragmentIonSp &peptideFragmentIonSp)
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition: aa.cpp:39
std::shared_ptr< const PeptideFragmentIon > PeptideFragmentIonSp
std::shared_ptr< const PeptideNaturalIsotopeAverage > PeptideNaturalIsotopeAverageSp