16 using namespace kome::operation;
21 #define new new( _NORMAL_BLOCK, __FILE__, __LINE__ )
22 #define malloc( s ) _malloc_dbg( s, _NORMAL_BLOCK, __FILE__, __LINE__ )
29 : kome::objects::Chromatogram( org.getSample() ), m_org( org ) {
46 if( xyData ==
NULL ) {
55 for(
unsigned int i = 0; i < dps.
getLength(); i++ ) {
57 const double y = dps.
getY( i );
84 for(
unsigned int i = 0; i < dps0.
getLength(); i++ ) {
89 const double orgStartRt = kome::numeric::Interpolation::linear( dps2, startRt );
90 const double orgEndRt = kome::numeric::Interpolation::linear( dps2, endRt );
93 m_org.
getSpectra( spectra, orgStartRt, orgEndRt, startSearch, endSearch );
virtual double onGetPrecursor(const unsigned int index)
This method is called by getPrecursor method (override method)
abstraction class of two dimention coordinate data
virtual double onGetMass(const unsigned int index)
This method is called by getMass method (override method)
data points data of profile management class
double convertRt(const double rt, const double mz)
gets aligned RT
double getX(const unsigned int index)
gets x coordinate
void setOrgChromatogram(Chromatogram *chrom)
sets original chromatogram
double getY(const unsigned int index)
gets y coordinate
interfaces of AlignedChromatogram class
kome::core::XYData * getXYData()
gets xy data from data manager
int getMsStage(const unsigned int index)
gets MS stage
kome::objects::Chromatogram & m_org
void getSpectra(DataSet &dataSet, const double startRt, const double endRt, const SearchType startSearch=SEARCH_NEAR, const SearchType endSearch=SEARCH_NEAR)
get spectra in specified RT range
void reserve(const unsigned int num)
reserves enough contiguous memory of array
double getPrecursor(const unsigned int index)
gets precursor mass
static Alignment & getDefaultAlignment()
gets default alignment
Chromatogram * getOrgChromatogram()
gets original chromatogram
virtual int onGetMsStage(const unsigned int index)
This method is called by getMsStage method (override method)
one or more spectra management class
virtual ~AlignedChromatogram()
destructor
void addPoint(const double x, const double y)
adds point
virtual void onGetXYData(kome::core::XYData *const xyData)
This method is called by getXYData method (override method)
chromatogram information management class
double getMass(const unsigned int index)
gets mass
virtual void onGetSpectra(kome::objects::DataSet &spectra, const double startRt, const double endRt, const kome::objects::SearchType startSearch, const kome::objects::SearchType endSearch)
This method is called by searchSpectrum or getDataSet method (overriede method)
AlignedChromatogram(kome::objects::Chromatogram &org, Alignment *align)
constructor
unsigned int getLength()
gets the number of points @return the number of points