47 class PeptideIdentification;
48 class TransformationDescription;
73 : scan_event_number(sem), ms2_presence(ms2)
107 std::vector<ScanEvent> ms2_included_{};
A container for features.
Definition: FeatureMap.h:105
Stores and handles combinations of enum values, e.g. a set of flags as bits flipped in an UInt64.
Definition: FlagSet.h:54
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:80
The representation of a 1D spectrum.
Definition: MSSpectrum.h:71
QC metric to determine the number of MS2 scans per MS1 scan over RT.
Definition: Ms2SpectrumStats.h:68
Status requires() const override
define the required input file: featureXML after FDR (=POSTFDRFEAT), MzML-file (MSExperiment) with al...
virtual ~Ms2SpectrumStats()=default
Destructor.
Ms2SpectrumStats()=default
Constructor.
static MSSpectrum::PeakType::IntensityType getBPI_(const MSSpectrum &spec)
calculate highest intensity (base peak intensity)
std::vector< PeptideIdentification > getUnassignedPeptideIdentifications_(const MSExperiment &exp)
return all unidentified MS2-Scans as unassignedPeptideIDs, these contain only Information about RT an...
std::vector< PeptideIdentification > compute(const MSExperiment &exp, FeatureMap &features, const QCBase::SpectraMap &map_to_spectrum)
Calculate the ScanEventNumber, find all unidentified MS2-Spectra and add them to unassigned PeptideId...
void setPresenceAndScanEventNumber_(PeptideIdentification &peptide_ID, const MSExperiment &exp, const QCBase::SpectraMap &map_to_spectrum)
set ms2_included_ bool to true, if PeptideID exist and set "ScanEventNumber" for every PeptideID
void setScanEventNumber_(const MSExperiment &exp)
compute "ScanEventNumber" for every spectrum: MS1=0, MS2=1-n, write into ms2_included_
const String & getName() const override
returns the name of the metric
float IntensityType
Intensity type.
Definition: Peak1D.h:62
Represents the peptide hits for a spectrum.
Definition: PeptideIdentification.h:65
Map to find a spectrum via its NativeID.
Definition: QCBase.h:90
This class serves as an abstract base class for all QC classes.
Definition: QCBase.h:55
A more convenient string class.
Definition: String.h:61
OPENMS_UINT32_TYPE UInt32
Unsigned integer type (32bit)
Definition: Types.h:63
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Definition: Ms2SpectrumStats.h:71
ScanEvent(UInt32 sem, bool ms2)
Definition: Ms2SpectrumStats.h:72
bool ms2_presence
Definition: Ms2SpectrumStats.h:76
UInt32 scan_event_number
Definition: Ms2SpectrumStats.h:75