3Depict
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Functions | Variables
mass.cpp File Reference
#include "mass.h"
#include <common/assertion.h>
Include dependency graph for mass.cpp:

Functions

std::string getFitError (unsigned int errMsg)
 
void makeHistogram (const vector< float > &data, float start, float end, float step, vector< float > &histVals)
 
unsigned int doFitBackground (const vector< const FilterStreamData *> &dataIn, BACKGROUND_PARAMS &backParams)
 
void createMassBackground (float massStart, float massEnd, unsigned int nBinsMass, float tofBackIntensity, vector< float > &histogram)
 

Variables

const char * BACKGROUND_MODE_STRING [FIT_MODE_ENUM_END]
 

Function Documentation

◆ createMassBackground()

void createMassBackground ( float  massStart,
float  massEnd,
unsigned int  nBinsMass,
float  tofBackIntensity,
vector< float > &  histogram 
)

◆ doFitBackground()

unsigned int doFitBackground ( const vector< const FilterStreamData *> &  dataIn,
BACKGROUND_PARAMS backParams 
)

◆ getFitError()

std::string getFitError ( unsigned int  errMsg)

◆ makeHistogram()

void makeHistogram ( const vector< float > &  data,
float  start,
float  end,
float  step,
vector< float > &  histVals 
)

References ASSERT.

Referenced by andersonDarlingStatistic(), createMassBackground(), and doFitBackground().

Here is the caller graph for this function:

Variable Documentation

◆ BACKGROUND_MODE_STRING

const char* BACKGROUND_MODE_STRING[FIT_MODE_ENUM_END]
Initial value:
= {NTRANS("None"),
NTRANS("Flat TOF")}
#define NTRANS(x)
Gettext null-translation macro (mark for translation, but do nothing)
Definition: translation.h:33

Referenced by SpectrumPlotFilter::getProperties(), SpectrumPlotFilter::setProperty(), and IonInfoFilter::setProperty().