Stores and handles combinations of enum values, e.g. a set of flags as bits flipped in an UInt64.
Definition: FlagSet.h:54
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:80
This class serves as an abstract base class for all QC classes.
Definition: QCBase.h:55
A more convenient string class.
Definition: String.h:61
virtual ~TIC()=default
Destructor.
Result compute(const MSExperiment &exp, float bin_size=0, UInt ms_level=1)
Compute Total Ion Count and applies the resampling algorithm, if a bin size in RT seconds greater tha...
const String & getName() const override
Returns the name of the metric.
TIC()=default
Constructor.
QCBase::Status requires() const override
Returns the input data requirements of the compute(...) function.
const std::vector< MSChromatogram > & getResults() const
void addMetaDataMetricsToMzTab(MzTabMetaData &meta, std::vector< Result > &tics)
append QC data for given metrics to mzTab's MTD section
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
bool operator==(const Result &rhs) const
std::vector< float > relative_intensities
Definition: TIC.h:68
std::vector< UInt > intensities
Definition: TIC.h:67
std::vector< float > retention_times
Definition: TIC.h:69