CycloBranch
cSpectrumComparatorThreadMS2 Class Reference

The class representing a thread for comparison of a theoretical spectrum with a peak list (MS2 level). More...

#include <cSpectrumComparatorThreadMS2.h>

Inheritance diagram for cSpectrumComparatorThreadMS2:

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.
 

Detailed Description

The class representing a thread for comparison of a theoretical spectrum with a peak list (MS2 level).

Member Function Documentation

◆ initialize()

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.

Parameters
candidatereference to a peptide sequence candidate
peaklistreference to a peak list
bricksdatabasewithcombinationspointer to a database of bricks with combinations of bricks
theoreticalspectrumlistpointer to the result list of theoretical spectra
parameterspointer to program parameters
rxsequencetagpointer to a regular expression of a sequence tag
rxsearchedsequencepointer to a regular expression of a searched sequence
currentworstscoreworst score in the resulting set of theoretical spectra
terminatecomputationreference to a variable determining that the thread must be stopped

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