Stores and handles combinations of enum values, e.g. a set of flags as bits flipped in an UInt64.
Definition: FlagSet.h:28
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:46
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
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.
const std::vector< MSChromatogram > & getResults() const
QCBase::Status requirements() const override
Returns the input data requirements of the compute(...) function.
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:68
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22
bool operator==(const Result &rhs) const
std::vector< float > relative_intensities
Definition: TIC.h:41
std::vector< UInt > intensities
Definition: TIC.h:40
std::vector< float > retention_times
Definition: TIC.h:42