24#ifndef _REGIONSIC_HPP_
25#define _REGIONSIC_HPP_
48 enum RadiusUnits {RadiusUnits_Unknown, RadiusUnits_amu, RadiusUnits_ppm};
87 static const char*
id() {
return "sic";}
88 static const char*
description() {
return "write selected ion chromatogram for an m/z and radius";}
89#define SIC_MZCENTER_ARG "mzCenter"
90#define SIC_RADIUS_ARG "radius"
91#define SIC_RADIUSUNITS_ARG "radiusUnits"
95 std::vector<std::string> usage;
#define SIC_RADIUSUNITS_ARG
#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 open(const DataInfo &dataInfo)
start analysis of the data
virtual void close(const DataInfo &dataInfo)
end analysis of the data
RegionSIC(const MSDataCache &cache, const Config &config)
const MSDataCache & cache_
boost::shared_ptr< RegionAnalyzer > regionAnalyzer_
virtual UpdateRequest updateRequested(const DataInfo &dataInfo, const SpectrumIdentity &spectrumIdentity) const
ask analyzer if it wants an update
virtual void update(const DataInfo &dataInfo, const Spectrum &spectrum)
analyze a single spectrum
information about the data to be analyzed
Config(const std::string &args)
bool operator==(const Config &rhs)
static const char * argsFormat()
static const char * description()
static std::vector< std::string > argsUsage()
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.