CycloBranch
|
The class representing a thread for comparison of a theoretical spectrum with a peak list (MS1 level). More...
#include <cSpectrumComparatorThreadMS1.h>
Public Member Functions | |
void | initialize (cMainThread *mainthread, cParameters *parameters, int peaklistseriesvectorid, cTheoreticalSpectrum *poolspectrum, vector< vector< int > > *hintsindex, cTheoreticalSpectrumList *theoreticalspectrumlist, vector< cPeaksList > *unmatchedpeaks, bool *terminatecomputation) |
Initialize the spectrum comparator. More... | |
Protected Member Functions | |
void | run () |
The main method of the thread. | |
The class representing a thread for comparison of a theoretical spectrum with a peak list (MS1 level).
void cSpectrumComparatorThreadMS1::initialize | ( | cMainThread * | mainthread, |
cParameters * | parameters, | ||
int | peaklistseriesvectorid, | ||
cTheoreticalSpectrum * | poolspectrum, | ||
vector< vector< int > > * | hintsindex, | ||
cTheoreticalSpectrumList * | theoreticalspectrumlist, | ||
vector< cPeaksList > * | unmatchedpeaks, | ||
bool * | terminatecomputation | ||
) |
Initialize the spectrum comparator.
mainthread | pointer to the main thread |
parameters | pointer to program parameters |
peaklistseriesvectorid | id of a peaklistseriesvector |
poolspectrum | input pool of theoretical peaks |
hintsindex | input vector of ids of experimental spectra in which a theoretical peak was found; for every theoretical peak |
theoreticalspectrumlist | output list of matched peaks |
unmatchedpeaks | output list of unmatched peaks |
terminatecomputation | pointer to a variable determining that the thread must be stopped |