CycloBranch
cSpectrumComparatorThreadMS1.h
Go to the documentation of this file.
1
7#ifndef _CSPECTRUMCOMPARATORTHREADMS1_H
8#define _CSPECTRUMCOMPARATORTHREADMS1_H
9
10#include <QRunnable>
11#include <QObject>
12
14
15
17class cMainThread;
18
19
23class cSpectrumComparatorThreadMS1 : public QObject, public QRunnable {
24
25 Q_OBJECT
26
27private:
28
29 cMainThread* mainthread;
30 cParameters* parameters;
31 int peaklistseriesvectorid;
32 cTheoreticalSpectrum* poolspectrum;
33 vector< vector<int> >* hintsindex;
34 cTheoreticalSpectrumList* theoreticalspectrumlist;
35 vector<cPeaksList>* unmatchedpeaks;
36 bool* terminatecomputation;
37
38
39public:
40
41
53 void initialize(cMainThread* mainthread, cParameters* parameters, int peaklistseriesvectorid, cTheoreticalSpectrum* poolspectrum, vector< vector<int> >* hintsindex, cTheoreticalSpectrumList* theoreticalspectrumlist, vector<cPeaksList>* unmatchedpeaks, bool* terminatecomputation);
54
55
56protected:
57
58
62 void run();
63
64};
65
66
67#endif
68
The representation of a theoretical mass spectrum.
The class representing a thread launched by the command 'Search->Run'.
Definition: cMainThread.h:34
The class storing parameters of the application.
Definition: cParameters.h:82
The class representing a thread for comparison of a theoretical spectrum with a peak list (MS1 level)...
Definition: cSpectrumComparatorThreadMS1.h:23
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.
Definition: cSpectrumComparatorThreadMS1.cpp:7
void run()
The main method of the thread.
Definition: cSpectrumComparatorThreadMS1.cpp:19
The class representing a theoretical mass spectrum.
Definition: cTheoreticalSpectrum.h:106
The class representing lists of theoretical spectra.
Definition: cTheoreticalSpectrumList.h:25