NCBI C++ ToolKit
Public Member Functions | Private Attributes | List of all members
CMSMatchedPeakSet Class Reference

Search Toolkit Book for CMSMatchedPeakSet

container for a set of matches More...

#include "msscore.hpp"
(Private to src/algo/ms/omssa.)

+ Collaboration diagram for CMSMatchedPeakSet:

Public Member Functions

 CMSMatchedPeakSet (void)
 
virtual ~CMSMatchedPeakSet ()
 
const TMatchedPeakSetGetMatchedPeakSet (void) const
 Get the match info. More...
 
TMatchedPeakSetSetMatchedPeakSet (void)
 Set the match info. More...
 
virtual void CreateMatchedPeakSet (int SizeIn)
 initialize the MatchInfo array delete any existing array More...
 
void DeleteMatchedPeakSet (void)
 delete the MatchInfo array More...
 
void Compare (CMSMatchedPeakSet *Other, bool SameDirection)
 compare to another CMSMatchedPeakSet and set MatchType accordingly if there is a correlation More...
 
const int GetSize (void) const
 Get Size of ion series. More...
 
intSetSize (void)
 Set Size of ion series. More...
 

Private Attributes

TMatchedPeakSet MatchedPeakSet
 list of matched peak info More...
 
int Size
 Size of ion series. More...
 

Detailed Description

container for a set of matches

Definition at line 376 of file msscore.hpp.

Constructor & Destructor Documentation

◆ CMSMatchedPeakSet()

CMSMatchedPeakSet::CMSMatchedPeakSet ( void  )

Definition at line 119 of file msscore.cpp.

◆ ~CMSMatchedPeakSet()

CMSMatchedPeakSet::~CMSMatchedPeakSet ( )
virtual

Definition at line 123 of file msscore.cpp.

References DeleteMatchedPeakSet().

Member Function Documentation

◆ Compare()

void CMSMatchedPeakSet::Compare ( CMSMatchedPeakSet Other,
bool  SameDirection 
)

compare to another CMSMatchedPeakSet and set MatchType accordingly if there is a correlation

Parameters
Otherthe other mass peak list
SameDirectionis the other mass peak list in the same direction?

Definition at line 145 of file msscore.cpp.

References eMSMatchTypeDependent, eMSMatchTypeIndependent, eMSMatchTypeSemiIndependent, GetMatchedPeakSet(), GetSize(), i, and ncbi::grid::netcache::search::fields::size.

◆ CreateMatchedPeakSet()

void CMSMatchedPeakSet::CreateMatchedPeakSet ( int  SizeIn)
virtual

initialize the MatchInfo array delete any existing array

Parameters
SizeInnumber of peaks

Definition at line 128 of file msscore.cpp.

References DeleteMatchedPeakSet(), i, and SetMatchedPeakSet().

Referenced by CMSMatchedPeakSetMap::CreateSeries().

◆ DeleteMatchedPeakSet()

void CMSMatchedPeakSet::DeleteMatchedPeakSet ( void  )

delete the MatchInfo array

Definition at line 136 of file msscore.cpp.

References ctll::empty(), GetMatchedPeakSet(), and SetMatchedPeakSet().

Referenced by CreateMatchedPeakSet(), and ~CMSMatchedPeakSet().

◆ GetMatchedPeakSet()

const TMatchedPeakSet & CMSMatchedPeakSet::GetMatchedPeakSet ( void  ) const
inline

Get the match info.

Definition at line 436 of file msscore.hpp.

References MatchedPeakSet.

Referenced by CMSSpectrumMatch::CalcPoissonMean(), Compare(), DeleteMatchedPeakSet(), and CMSSpectrumMatch::FillMatchedPeaks().

◆ GetSize()

const int CMSMatchedPeakSet::GetSize ( void  ) const
inline

Get Size of ion series.

Definition at line 448 of file msscore.hpp.

References Size.

Referenced by Compare().

◆ SetMatchedPeakSet()

TMatchedPeakSet & CMSMatchedPeakSet::SetMatchedPeakSet ( void  )
inline

◆ SetSize()

int & CMSMatchedPeakSet::SetSize ( void  )
inline

Set Size of ion series.

Definition at line 454 of file msscore.hpp.

References Size.

Referenced by CMSMatchedPeakSetMap::CreateSeries().

Member Data Documentation

◆ MatchedPeakSet

TMatchedPeakSet CMSMatchedPeakSet::MatchedPeakSet
private

list of matched peak info

Definition at line 428 of file msscore.hpp.

Referenced by GetMatchedPeakSet(), and SetMatchedPeakSet().

◆ Size

int CMSMatchedPeakSet::Size
private

Size of ion series.

Definition at line 431 of file msscore.hpp.

Referenced by GetSize(), and SetSize().


The documentation for this class was generated from the following files:
Modified on Wed Apr 17 13:09:40 2024 by modify_doxy.py rev. 669887