24#ifndef _REGIONTIC_HPP_
25#define _REGIONTIC_HPP_
51 return mzRange == rhs.
mzRange &&
81 static const char*
id() {
return "tic";}
82 static const char*
description() {
return "write total ion counts for an m/z range";}
83#define TIC_MZRANGE_ARG "mz"
87 std::vector<std::string> usage;
#define TABULARCONFIG_DELIMITER_USAGE_STR
#define TABULARCONFIG_DELIMITER_OPTIONS_STR
Interface for MSData analyzers.
simple memory cache for common MSData info
writes data samples from a single rectangular region
virtual void close(const DataInfo &dataInfo)
end analysis of the data
virtual void update(const DataInfo &dataInfo, const Spectrum &spectrum)
analyze a single spectrum
boost::shared_ptr< RegionAnalyzer > regionAnalyzer_
virtual UpdateRequest updateRequested(const DataInfo &dataInfo, const SpectrumIdentity &spectrumIdentity) const
ask analyzer if it wants an update
const MSDataCache & cache_
virtual void open(const DataInfo &dataInfo)
start analysis of the data
RegionTIC(const MSDataCache &cache, const Config &config)
information about the data to be analyzed
std::pair< double, double > mzRange
Config(const std::string &args)
bool operator==(const Config &rhs)
static std::vector< std::string > argsUsage()
static const char * description()
static const char * argsFormat()
This auxilliary class should be specialized for MSDataAnalyzers whose instantiation is controlled by ...
The structure that captures the generation of a peak list (including the underlying acquisitions)
Identifying information for a spectrum.