146 void static updatePeakGroupQvalues(std::vector<DeconvolvedSpectrum>& deconvolved_spectra, std::vector<DeconvolvedSpectrum>& deconvolved_decoy_spectra);
152 std::vector<PeakGroup>::const_iterator
begin() const noexcept;
153 std::vector<
PeakGroup>::const_iterator end() const noexcept;
182 int scan_number_ = 0, precursor_scan_number_ = 0;
A class representing a deconvolved spectrum. DeconvolvedSpectrum consists of PeakGroups representing ...
Definition: DeconvolvedSpectrum.h:57
void setPrecursor(const Precursor &precursor)
set precursor for MSn for n>1
void setOriginalSpectrum(const MSSpectrum &spec)
original spectrum setter
const MSSpectrum & getOriginalSpectrum() const
original spectrum getter
std::vector< PeakGroup >::const_iterator begin() const noexcept
iterators and vector operators for std::vector<PeakGroup> peak_groups_ in this spectrum
void setPrecursorIntensity(float i)
set precursor peak intensity
FLASHDeconvHelperStructs::LogMzPeak LogMzPeak
Definition: DeconvolvedSpectrum.h:59
void setPeakGroups(std::vector< PeakGroup > &x)
set peak groups in this spectrum
MSSpectrum toSpectrum(int to_charge, double tol=10.0, bool retain_undeconvolved=false)
DeconvolvedSpectrum(int scan_number)
Constructor for DeconvolvedSpectrum. Takes the spectrum and scan number calculated from outside.
int getPrecursorCharge() const
precursor charge getter (set in registerPrecursor)
~DeconvolvedSpectrum()=default
default destructor
int getCurrentMaxAbsCharge(int max_abs_charge) const
const PeakGroup & getPrecursorPeakGroup() const
get precursor peak group for MSn (n>1) spectrum. It returns an empty peak group if no peak group is r...
DeconvolvedSpectrum(DeconvolvedSpectrum &&other) noexcept=default
move constructor
double getCurrentMinMass(double min_mass) const
double getCurrentMaxMass(double max_mass) const
void setPrecursorPeakGroup(const PeakGroup &pg)
set precursor peakGroup
DeconvolvedSpectrum(const DeconvolvedSpectrum &)=default
copy constructor
void setPrecursorScanNumber(int scan_number)
set precursor scan number
int getScanNumber() const
get scan number of the original spectrum
const Precursor::ActivationMethod & getActivationMethod() const
get activation method
DeconvolvedSpectrum()=default
default constructor
const Precursor & getPrecursor() const
get precursor peak
void setActivationMethod(const Precursor::ActivationMethod &method)
set activation method
DeconvolvedSpectrum & operator=(const DeconvolvedSpectrum &deconvolved_spectrum)=default
assignment operator
int getPrecursorScanNumber() const
get precursor scan number - only if it is registered. Otherwise return 0
static void updatePeakGroupQvalues(std::vector< DeconvolvedSpectrum > &deconvolved_spectra, std::vector< DeconvolvedSpectrum > &deconvolved_decoy_spectra)
log transformed peak. After deconvolution, all necessary information from deconvolution such as charg...
Definition: FLASHDeconvHelperStructs.h:165
The representation of a 1D spectrum.
Definition: MSSpectrum.h:70
Class describing a deconvolved mass. A mass contains multiple (LogMz) peaks of different charges and ...
Definition: PeakGroup.h:52
Precursor meta information.
Definition: Precursor.h:61
ActivationMethod
Method of activation.
Definition: Precursor.h:85
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48