35 #ifndef OPENMS_KERNEL_BASEFEATURE_H
36 #define OPENMS_KERNEL_BASEFEATURE_H
75 SIZE_OF_ANNOTATIONSTATE
78 static const std::string NamesOfAnnotationState[SIZE_OF_ANNOTATIONSTATE];
109 std::binary_function<BaseFeature, BaseFeature, bool>
135 WidthType getWidth()
const;
137 void setWidth(WidthType fwhm);
140 const ChargeType & getCharge()
const;
143 void setCharge(
const ChargeType & ch);
155 const std::vector<PeptideIdentification> & getPeptideIdentifications()
const;
158 std::vector<PeptideIdentification> & getPeptideIdentifications();
161 void setPeptideIdentifications(
const std::vector<PeptideIdentification> & peptides);
164 AnnotationState getAnnotationState()
const;
183 #endif // OPENMS_KERNEL_BASEFEATURE_H
bool operator()(const BaseFeature &left, const QualityType &right) const
Definition: BaseFeature.h:116
float Real
Real type.
Definition: Types.h:109
Definition: BaseFeature.h:71
A 2-dimensional raw data point or peak.
Definition: Peak2D.h:55
Int ChargeType
Type of charge values.
Definition: BaseFeature.h:64
Compare by quality.
Definition: BaseFeature.h:108
A basic LC-MS feature.
Definition: BaseFeature.h:55
Definition: BaseFeature.h:73
bool operator()(const QualityType &left, const BaseFeature &right) const
Definition: BaseFeature.h:121
QualityType quality_
Overall quality measure of the feature.
Definition: BaseFeature.h:169
bool operator()(const QualityType &left, const QualityType &right) const
Definition: BaseFeature.h:126
QualityType getQuality() const
Non-mutable access to the overall quality.
Real WidthType
Type of feature width/FWHM (RT)
Definition: BaseFeature.h:66
bool operator()(const BaseFeature &left, const BaseFeature &right) const
Definition: BaseFeature.h:111
Real QualityType
Type of quality values.
Definition: BaseFeature.h:62
Definition: BaseFeature.h:72
WidthType width_
Width (FWHM) for the feature. The default value is 0.0, a feature finding algorithm can compute this ...
Definition: BaseFeature.h:175
Definition: BaseFeature.h:74
A 2-dimensional raw data point or peak with meta information.
Definition: RichPeak2D.h:53
AnnotationState
state of identification, use getIDState() to query it
Definition: BaseFeature.h:69
std::vector< PeptideIdentification > peptides_
Peptide PeptideIdentifications belonging to the feature.
Definition: BaseFeature.h:178
int Int
Signed integer type.
Definition: Types.h:100
ChargeType charge_
Charge of the peptide represented by this feature. The default value is 0, which represents an unknow...
Definition: BaseFeature.h:172