7#ifndef _CTHEORETICALSPECTRUMLIST_H
8#define _CTHEORETICALSPECTRUMLIST_H
27 vector<vector<cTheoreticalSpectrum> > theoreticalspectra;
28 list<cTheoreticalSpectrum> spectrumbuffer;
33 double currentworstscore;
37 double getCurrentWorstScore();
39 void computeNumbersOfCompletedSeries(
int fileid);
41 void fixRegularExpression(
string& s);
62 void clear(
int fileid);
103 int size(
int fileid);
The thread for an initial check of LC-MS and MSI spectra.
The thread for comparison of a theoretical spectrum with a peak list (MS1 level).
The thread for comparison of a theoretical spectrum with a peak list (MS2 level).
The thread for generating a theoretical spectrum (MS1 level).
The class representing a set of peptide sequence candidates.
Definition: cCandidateSet.h:18
The class implementing the de novo graph.
Definition: cDeNovoGraph.h:46
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 theoretical mass spectrum.
Definition: cTheoreticalSpectrum.h:106
The class representing lists of theoretical spectra.
Definition: cTheoreticalSpectrumList.h:25
void initialize(cMainThread &os, cParameters ¶meters, cDeNovoGraph *graph)
Initialize the list.
Definition: cTheoreticalSpectrumList.cpp:71
cTheoreticalSpectrumList()
The constructor.
Definition: cTheoreticalSpectrumList.cpp:50
int parallelCompareAndStore(int fileid, cCandidateSet &candidates, bool &terminatecomputation)
Parallel comparison of theoretical spectra with an experimental spectrum.
Definition: cTheoreticalSpectrumList.cpp:108
void resize(int size)
Resize the vector of files.
Definition: cTheoreticalSpectrumList.cpp:98
int size()
Get the number of files.
Definition: cTheoreticalSpectrumList.cpp:88
double updatekNNList(cTheoreticalSpectrum &theoreticalspectrum, int theoreticalpeaksrealsize, double score, regex *rxsearchedsequence)
Update the kNN list of peptide sequence candidates (thread-safe).
Definition: cTheoreticalSpectrumList.cpp:398
void add(int fileid, cTheoreticalSpectrum &theoreticalspectrum)
Add a spectrum to the list.
Definition: cTheoreticalSpectrumList.cpp:78
cTheoreticalSpectrum & get(int fileid, int order)
Get a reference to a spectrum.
Definition: cTheoreticalSpectrumList.cpp:83
void sortAndFitSize(int fileid)
Sort the list according to a score defined by cParameters::scoretype and crop the list according cPar...
Definition: cTheoreticalSpectrumList.cpp:512
void clear()
Clear the class.
Definition: cTheoreticalSpectrumList.cpp:55