CycloBranch
|
The class representing a thread for comparison of a theoretical spectrum with a peak list (MS2 level). More...
#include <cSpectrumComparatorThreadMS2.h>
Public Member Functions | |
void | initialize (cCandidate &candidate, cPeaksList &peaklist, cBricksDatabase *bricksdatabasewithcombinations, cTheoreticalSpectrumList *theoreticalspectrumlist, cParameters *parameters, regex *rxsequencetag, regex *rxsearchedsequence, double currentworstscore, 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 (MS2 level).
void cSpectrumComparatorThreadMS2::initialize | ( | cCandidate & | candidate, |
cPeaksList & | peaklist, | ||
cBricksDatabase * | bricksdatabasewithcombinations, | ||
cTheoreticalSpectrumList * | theoreticalspectrumlist, | ||
cParameters * | parameters, | ||
regex * | rxsequencetag, | ||
regex * | rxsearchedsequence, | ||
double | currentworstscore, | ||
bool * | terminatecomputation | ||
) |
Initialize the spectrum comparator.
candidate | reference to a peptide sequence candidate |
peaklist | reference to a peak list |
bricksdatabasewithcombinations | pointer to a database of bricks with combinations of bricks |
theoreticalspectrumlist | pointer to the result list of theoretical spectra |
parameters | pointer to program parameters |
rxsequencetag | pointer to a regular expression of a sequence tag |
rxsearchedsequence | pointer to a regular expression of a searched sequence |
currentworstscore | worst score in the resulting set of theoretical spectra |
terminatecomputation | reference to a variable determining that the thread must be stopped |