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 run.
Definition: MSExperiment.h:72
This class serves as an abstract base class for all QC classes.
Definition: QCBase.h:55
A more convenient string class.
Definition: String.h:60
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:94
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48
bool operator==(const Result &rhs) const
std::vector< float > relative_intensities
Definition: TIC.h:67
std::vector< UInt > intensities
Definition: TIC.h:66
std::vector< float > retention_times
Definition: TIC.h:68