CycloBranch
cTheoreticalSpectrum.h File Reference

The representation of a theoretical mass spectrum. More...

#include <vector>
#include <set>
#include <unordered_set>
#include <map>
#include <string>
#include <QMetaType>
#include "core/cParameters.h"
#include "core/cPeakListSeries.h"
#include "core/cCandidateSet.h"

Go to the source code of this file.

Classes

struct  splitSite
 The structure representing a splitting site of a cyclic peptide. More...
 
struct  matchedSeries
 An auxiliary structure for visualisation of matched series of fragment ions. More...
 
class  cTheoreticalSpectrum
 The class representing a theoretical mass spectrum. More...
 

Functions

int getNumberOfScoreHits (vector< double > &scores, double value)
 Get the number of hits with equal or better score. More...
 

Detailed Description

The representation of a theoretical mass spectrum.

Function Documentation

◆ getNumberOfScoreHits()

int getNumberOfScoreHits ( vector< double > &  scores,
double  value 
)

Get the number of hits with equal or better score.

Parameters
scoresvector of scores
valuecurrent score
Return values
intnumber of hits