CycloBranch
cFormulaPredictorThread Class Reference

The thread which searches molecular formulas corresponding to m/z value. More...

#include <cFormulaPredictorThread.h>

Inheritance diagram for cFormulaPredictorThread:

Public Member Functions

 cFormulaPredictorThread ()
 The constructor.
 
void initialize (int chargevalue, int maximumcombinedelements, bool basicformulacheck, bool advancedformulacheck, bool noratiocheck, double mzvalue, double mzerror, vector< cIonType > &selectedions, vector< string > &selectedelements, vector< cFormulaPredictorRowItem > &ionitems, bool &success, bool &terminatecomputation, string &errmsg)
 Initialize the thread. More...
 

Protected Member Functions

void run ()
 The main method of the thread.
 

Detailed Description

The thread which searches molecular formulas corresponding to m/z value.

Member Function Documentation

◆ initialize()

void cFormulaPredictorThread::initialize ( int  chargevalue,
int  maximumcombinedelements,
bool  basicformulacheck,
bool  advancedformulacheck,
bool  noratiocheck,
double  mzvalue,
double  mzerror,
vector< cIonType > &  selectedions,
vector< string > &  selectedelements,
vector< cFormulaPredictorRowItem > &  ionitems,
bool &  success,
bool &  terminatecomputation,
string &  errmsg 
)

Initialize the thread.

Parameters
chargevaluecharge
maximumcombinedelementsmaximum number of combined chemical elements
basicformulacheckbasic filtering rules
advancedformulacheckadvanced filtering rules
noratiocheckenable N/O rule
mzvalueexperimental m/z value
mzerrorm/z error
selectedionsinput list of selected ions
selectedelementsinput list of selected elements
ionitemsoutput list of ions
successtrue if the calculation was successful
terminatecomputationreference to a variable determining that the thread must be stopped
errmsgan error message

The documentation for this class was generated from the following files: