CycloBranch
cSpectrumGeneratorThreadMS1 Class Reference

The class representing a thread for generating a theoretical spectrum (MS1 level). More...

#include <cSpectrumGeneratorThreadMS1.h>

Inheritance diagram for cSpectrumGeneratorThreadMS1:

Public Member Functions

void initialize (cMainThread *mainthread, cParameters *parameters, int sequencestart, int sequencestop, cTheoreticalSpectrum *poolspectrum, bool *terminatecomputation)
 Initialize the spectrum generator. More...
 

Protected Member Functions

void run ()
 The main method of the thread.
 

Detailed Description

The class representing a thread for generating a theoretical spectrum (MS1 level).

Member Function Documentation

◆ initialize()

void cSpectrumGeneratorThreadMS1::initialize ( cMainThread mainthread,
cParameters parameters,
int  sequencestart,
int  sequencestop,
cTheoreticalSpectrum poolspectrum,
bool *  terminatecomputation 
)

Initialize the spectrum generator.

Parameters
mainthreadpointer to the main thread
parameterspointer to program parameters
sequencestartindex of the first item to be processed
sequencestopindex of the last item to be processed (excluding the last item)
poolspectrumoutput pool of theoretical peaks
terminatecomputationpointer to a variable determining that the thread must be stopped

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