OpenMS  2.7.0
Public Types | Public Member Functions | Private Attributes | List of all members
IsotopeDistributionCache Class Reference

Pre-calculate isotope distributions for interesting mass ranges. More...

#include <OpenMS/FILTERING/DATAREDUCTION/IsotopeDistributionCache.h>

Collaboration diagram for IsotopeDistributionCache:
[legend]

Public Types

typedef FeatureFinderAlgorithmPickedHelperStructs::TheoreticalIsotopePattern TheoreticalIsotopePattern
 

Public Member Functions

 IsotopeDistributionCache (double max_mass, double mass_window_width, double intensity_percentage=0, double intensity_percentage_optional=0)
 
const TheoreticalIsotopePatterngetIsotopeDistribution (double mass) const
 Returns the isotope distribution for a certain mass window. More...
 

Private Attributes

std::vector< TheoreticalIsotopePatternisotope_distributions_
 Vector of pre-calculated isotope distributions for several mass windows. More...
 
double mass_window_width_
 

Detailed Description

Pre-calculate isotope distributions for interesting mass ranges.

Member Typedef Documentation

◆ TheoreticalIsotopePattern

Constructor & Destructor Documentation

◆ IsotopeDistributionCache()

IsotopeDistributionCache ( double  max_mass,
double  mass_window_width,
double  intensity_percentage = 0,
double  intensity_percentage_optional = 0 
)

Member Function Documentation

◆ getIsotopeDistribution()

const TheoreticalIsotopePattern& getIsotopeDistribution ( double  mass) const

Returns the isotope distribution for a certain mass window.

Member Data Documentation

◆ isotope_distributions_

std::vector<TheoreticalIsotopePattern> isotope_distributions_
private

Vector of pre-calculated isotope distributions for several mass windows.

◆ mass_window_width_

double mass_window_width_
private