libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
xicpeptideinterface.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 the PAPPSOms++ library.
6 *
7 * PAPPSOms++ 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 * PAPPSOms++ 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 PAPPSOms++. 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
26#pragma once
27
28#include "qualifiedxic.h"
29#include "../peptide/peptideinterface.h"
30
31namespace pappso
32{
33
35{
36 private:
37 const unsigned int m_z;
39
40 protected:
41 XicPeptideInterface(const MsRunId &msrun_id,
42 const PeptideInterfaceSp &peptideInterfaceSp,
43 PrecisionPtr precision,
44 unsigned int charge);
45
46 public:
48 virtual unsigned int
49 getCharge() const
50 {
51 return m_z;
52 };
53};
54
55} // namespace pappso
MS run identity MsRunId identifies an MS run with a unique ID (XmlId) and contains eventually informa...
Definition msrunid.h:54
const PeptideInterfaceSp msp_peptideInterface
virtual unsigned int getCharge() const
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition aa.cpp:39
std::shared_ptr< const PeptideInterface > PeptideInterfaceSp