OpenMS
Loading...
Searching...
No Matches
PeptideMass.h
Go to the documentation of this file.
1// Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
2// SPDX-License-Identifier: BSD-3-Clause
3//
4// --------------------------------------------------------------------------
5// $Maintainer: Chris Bielow $
6// $Authors: Chris Bielow $
7// --------------------------------------------------------------------------
8
9#pragma once
10
11#include <OpenMS/QC/QCBase.h>
12
13namespace OpenMS
14{
15 class FeatureMap;
16
23 class OPENMS_DLLAPI PeptideMass : public QCBase
24 {
25 public:
27 PeptideMass() = default;
28
30 virtual ~PeptideMass() = default;
31
37 void compute(FeatureMap& features);
38
39
40 const String& getName() const override;
41
42 Status requirements() const override;
43 };
44
45} // namespace OpenMS
A container for features.
Definition FeatureMap.h:82
Stores and handles combinations of enum values, e.g. a set of flags as bits flipped in an UInt64.
Definition FlagSet.h:28
QC metric calculating theoretical mass of a peptide sequence.
Definition PeptideMass.h:24
const String & getName() const override
Returns the name of the metric.
void compute(FeatureMap &features)
Sets the 'mass' metavalue to all PeptideHits by computing the theoretical mass.
Status requirements() const override
Returns the input data requirements of the compute(...) function.
PeptideMass()=default
Constructor.
virtual ~PeptideMass()=default
Destructor.
This class serves as an abstract base class for all QC classes.
Definition QCBase.h:29
A more convenient string class.
Definition String.h:34
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19