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

Search Toolkit Book for CMassArray

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

Public Member Functions

 CMassArray (void)
const double *const GetMass (void) const
const int *const GetIntMass (void) const
void Init (const CMSSearchSettings::TProductsearchtype &SearchType)
 initialize mass arrays with fixed mods More...
void Init (const CMSMod &Mods, const CMSSearchSettings::TProductsearchtype &SearchType, CRef< CMSModSpecSet > Modset)

Private Member Functions

void x_Init (const CMSSearchSettings::TProductsearchtype &SearchType)

Private Attributes

double CalcMass [kNumUniqueAA]
int IntCalcMass [kNumUniqueAA]

Detailed Description

Definition at line 97 of file msms.hpp.

Constructor & Destructor Documentation

◆ CMassArray()

CMassArray::CMassArray ( void  )

Definition at line 99 of file msms.hpp.

Member Function Documentation

◆ GetIntMass()

const int *const CMassArray::GetIntMass ( void  ) const

◆ GetMass()

const double *const CMassArray::GetMass ( void  ) const

Definition at line 122 of file msms.hpp.

References CalcMass.

◆ Init() [1/2]

void CMassArray::Init ( const CMSMod Mods,
const CMSSearchSettings::TProductsearchtype SearchType,
CRef< CMSModSpecSet Modset 

◆ Init() [2/2]

void CMassArray::Init ( const CMSSearchSettings::TProductsearchtype SearchType)

initialize mass arrays with fixed mods

Definition at line 641 of file msms.cpp.

References x_Init().

Referenced by CSearch< LEGACY, NHITS >::Search().

◆ x_Init()

void CMassArray::x_Init ( const CMSSearchSettings::TProductsearchtype SearchType)

Member Data Documentation

◆ CalcMass

double CMassArray::CalcMass[kNumUniqueAA]

Definition at line 114 of file msms.hpp.

Referenced by GetMass(), Init(), and x_Init().

◆ IntCalcMass

int CMassArray::IntCalcMass[kNumUniqueAA]

Definition at line 116 of file msms.hpp.

Referenced by GetIntMass(), Init(), and x_Init().

The documentation for this class was generated from the following files:
Modified on Sat Feb 24 07:49:43 2024 by rev. 669887