Small struct to capture the current state of the purity computation. More...
Public Member Functions | |
PuritySate_ (const MSExperiment<> &targetExp) | |
C'tor taking the experiment that will be analyzed. More... | |
void | advanceFollowUp (const double rt) |
Searches the experiment for the next MS1 spectrum with a retention time bigger then rt . More... | |
bool | followUpValid (const double rt) |
Check if the currently selected follow up scan has a retention time bigger then the given value. More... | |
Public Attributes | |
MSExperiment< Peak1D >::ConstIterator | precursorScan |
Iterator pointing to the potential MS1 precursor scan. More... | |
MSExperiment< Peak1D >::ConstIterator | followUpScan |
Iterator pointing to the potential follow up MS1 scan. More... | |
bool | hasFollowUpScan |
Indicates if a follow up scan was found. More... | |
const MSExperiment< Peak1D > & | baseExperiment |
reference to the experiment to analyze More... | |
Small struct to capture the current state of the purity computation.
It basically contains two iterators pointing to the current potential MS1 precursor scan of an MS2 scan and the MS1 scan immediately following the current MS2 scan.
PuritySate_ | ( | const MSExperiment<> & | targetExp | ) |
C'tor taking the experiment that will be analyzed.
targetExp | The experiment that will be analyzed. |
void advanceFollowUp | ( | const double | rt | ) |
Searches the experiment for the next MS1 spectrum with a retention time bigger then rt
.
rt | The next follow up scan should have a retention bigger then this value. |
Check if the currently selected follow up scan has a retention time bigger then the given value.
rt | The retention time to check. |
const MSExperiment<Peak1D>& baseExperiment |
reference to the experiment to analyze
MSExperiment<Peak1D>::ConstIterator followUpScan |
Iterator pointing to the potential follow up MS1 scan.
bool hasFollowUpScan |
Indicates if a follow up scan was found.
MSExperiment<Peak1D>::ConstIterator precursorScan |
Iterator pointing to the potential MS1 precursor scan.
OpenMS / TOPP release 2.0.0 | Documentation generated on Tue Aug 25 2015 05:54:02 using doxygen 1.8.9.1 |