libpappsomspp
Library for mass spectrometry
peakionisotopematch.h
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 #pragma once
26 
27 #include "../exportinmportconfig.h"
28 #include "peakionmatch.h"
29 #include "../peptide/peptidenaturalisotopeaverage.h"
30 
31 namespace pappso
32 {
33 class PeakIonIsotopeMatch;
34 typedef std::shared_ptr<const PeakIonIsotopeMatch> PeakIonIsotopeMatchCstSPtr;
35 
37 {
38  public:
40  const DataPoint &peak,
41  const PeptideNaturalIsotopeAverageSp &naturalIsotopeAverageSp,
42  const PeptideFragmentIonSp &ion_sp);
44  virtual ~PeakIonIsotopeMatch();
45 
46  virtual const PeptideNaturalIsotopeAverageSp &
47  getPeptideNaturalIsotopeAverageSp() const;
48 
49  PeakIonIsotopeMatch &operator=(const PeakIonIsotopeMatch &other);
50 
51 
52  private:
54 };
55 
56 
57 } // namespace pappso
58 
PMSPP_LIB_DECL
#define PMSPP_LIB_DECL
Definition: exportinmportconfig.h:14
pappso::PeakIonIsotopeMatchCstSPtr
std::shared_ptr< const PeakIonIsotopeMatch > PeakIonIsotopeMatchCstSPtr
Definition: peakionisotopematch.h:33
pappso
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition: aa.cpp:39
peakionmatch.h
associate a peak and a peptide + charge
pappso::DataPoint
Definition: datapoint.h:21
pappso::PeptideFragmentIonSp
std::shared_ptr< const PeptideFragmentIon > PeptideFragmentIonSp
Definition: peptidefragmention.h:65
pappso::PeakIonIsotopeMatch::_naturalIsotopeAverageSp
PeptideNaturalIsotopeAverageSp _naturalIsotopeAverageSp
Definition: peakionisotopematch.h:53
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(pappso::PeakIonIsotopeMatchCstSPtr)
pappso::PeakIonIsotopeMatch
Definition: peakionisotopematch.h:37
pappso::PeakIonMatch
Definition: peakionmatch.h:61
pappso::PeptideNaturalIsotopeAverageSp
std::shared_ptr< const PeptideNaturalIsotopeAverage > PeptideNaturalIsotopeAverageSp
Definition: peptidenaturalisotopeaverage.h:58