CycloBranch
cSpectrumComparatorThreadMS1 Class Reference

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

#include <cSpectrumComparatorThreadMS1.h>

Inheritance diagram for cSpectrumComparatorThreadMS1:

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.
 

Detailed Description

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

Member Function Documentation

◆ initialize()

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.

Parameters
mainthreadpointer to the main thread
parameterspointer to program parameters
peaklistseriesvectoridid of a peaklistseriesvector
poolspectruminput pool of theoretical peaks
hintsindexinput vector of ids of experimental spectra in which a theoretical peak was found; for every theoretical peak
theoreticalspectrumlistoutput list of matched peaks
unmatchedpeaksoutput list of unmatched peaks
terminatecomputationpointer to a variable determining that the thread must be stopped

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