OpenMS
Transitions.h
Go to the documentation of this file.
1 // Copyright (c) 2002-present, The OpenMS Team -- EKU Tuebingen, ETH Zurich, and FU Berlin
2 // SPDX-License-Identifier: BSD-3-Clause
3 //
4 // --------------------------------------------------------------------------
5 // $Maintainer: Hannes Roest $
6 // $Authors: Hannes Roest $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
11 #include <OpenMS/OPENSWATHALGO/OpenSwathAlgoConfig.h>
12 #include <string>
13 #include <vector>
15 
16 namespace OpenSwath
17 {
18 
19  struct OPENSWATHALGO_DLLAPI Peptide
20  {
21  double rt;
22  int charge;
23  std::string sequence;
24  std::string id;
25  int getChargeState() const
26  {
27  return charge;
28  }
29 
30  std::vector<LightModification> modifications;
31  std::vector<LightTransition> transitions;
32  };
33 
34  struct OPENSWATHALGO_DLLAPI Protein
35  {
36  std::string id;
37  std::string sequence;
38  std::vector<Peptide> peptides;
39  };
40 
41  struct OPENSWATHALGO_DLLAPI TargetedExperiment
42  {
43  std::vector<Protein> proteins;
44  };
45 
46 }
47 
Definition: Scoring.h:18
std::vector< Protein > proteins
Definition: Transitions.h:43
std::vector< Peptide > peptides
Definition: Transitions.h:38
std::string sequence
Definition: Transitions.h:37
std::string id
Definition: Transitions.h:36
Definition: Transitions.h:35
Definition: Transitions.h:42
Definition: Transitions.h:20
std::vector< LightTransition > transitions
Definition: Transitions.h:31
int getChargeState() const
Definition: Transitions.h:25
std::vector< LightModification > modifications
Definition: Transitions.h:30
std::string sequence
Definition: Transitions.h:23
double rt
Definition: Transitions.h:21
int charge
Definition: Transitions.h:22
std::string id
Definition: Transitions.h:24