OpenMS  2.6.0
Public Member Functions | Private Attributes | List of all members
TIC Class Reference

#include <OpenMS/QC/TIC.h>

Inheritance diagram for TIC:
[legend]
Collaboration diagram for TIC:
[legend]

Public Member Functions

 TIC ()=default
 Constructor. More...
 
virtual ~TIC ()=default
 Destructor. More...
 
void clear ()
 
void compute (const MSExperiment &exp, float bin_size=0)
 Compute Total Ion Count and applies the resampling algorithm, if a bin size in RT seconds greater than 0 is given. More...
 
const StringgetName () const override
 Returns the name of the metric. More...
 
const std::vector< MSChromatogram > & getResults () const
 
QCBase::Status requires () const override
 Returns the input data requirements of the compute(...) function. More...
 
void addMetaDataMetricsToMzTab (MzTabMetaData &meta)
 append QC data for given metrics to mzTab's MTD section More...
 
- Public Member Functions inherited from QCBase
bool isRunnable (const Status &s) const
 

Private Attributes

const String name_ = "TIC"
 
std::vector< MSChromatogramresults_
 

Additional Inherited Members

- Public Types inherited from QCBase
enum  Requires : UInt64 {
  NOTHING, RAWMZML, POSTFDRFEAT, PREFDRFEAT,
  CONTAMINANTS, TRAFOALIGN, SIZE_OF_REQUIRES
}
 Enum to encode a file type as a bit. More...
 
- Static Public Member Functions inherited from QCBase
static bool isLabeledExperiment (const ConsensusMap &cm)
 check if the IsobaricAnalyzer TOPP tool was used to create this ConsensusMap More...
 
template<typename MAP >
static bool hasPepID (const MAP &fmap)
 does the container have a PeptideIdentification in its members or as unassignedPepID ? More...
 
- Static Public Attributes inherited from QCBase
static const std::string names_of_requires []
 strings corresponding to enum Requires More...
 

Constructor & Destructor Documentation

◆ TIC()

TIC ( )
default

Constructor.

◆ ~TIC()

virtual ~TIC ( )
virtualdefault

Destructor.

Member Function Documentation

◆ addMetaDataMetricsToMzTab()

void addMetaDataMetricsToMzTab ( MzTabMetaData meta)

append QC data for given metrics to mzTab's MTD section

◆ clear()

void clear ( )

◆ compute()

void compute ( const MSExperiment exp,
float  bin_size = 0 
)

Compute Total Ion Count and applies the resampling algorithm, if a bin size in RT seconds greater than 0 is given.

All MS1 TICs within a bin are summed up.

Parameters
expPeak map to compute the MS1 tick from
bin_sizeRT bin size in seconds
Returns
TIC Chromatogram

◆ getName()

const String& getName ( ) const
overridevirtual

Returns the name of the metric.

Implements QCBase.

◆ getResults()

const std::vector<MSChromatogram>& getResults ( ) const

◆ requires()

QCBase::Status requires ( ) const
overridevirtual

Returns the input data requirements of the compute(...) function.

Implements QCBase.

Member Data Documentation

◆ name_

const String name_ = "TIC"
private

◆ results_

std::vector<MSChromatogram> results_
private