|
ProteoWizard
|
#include "SpectrumList_MZRefiner.hpp"#include "pwiz/data/msdata/MSDataFile.hpp"#include "pwiz/data/identdata/IdentDataFile.hpp"#include "pwiz/utility/misc/unit.hpp"#include "boost/filesystem/path.hpp"#include "pwiz/utility/misc/Std.hpp"#include <cstring>Go to the source code of this file.
Functions | |
| void | verifyScanInfo (const Spectrum &spectrum, const double &epsilon, double basePeakMZ, double lowestObservedMZ, double highestObservedMZ, int mzArrayIndex1, double mzArrayValue1, int mzArrayIndex2, double mzArrayValue2) |
| void | verifyPrecursorInfo (const Spectrum &spectrum, const double &epsilon, double precursorMZ, double isolationWindowTarget) |
| void | testShift (const bfs::path &datadir) |
| void | test (const bfs::path &datadir) |
| int | main (int argc, char *argv[]) |
Variables | |
| ostream * | os_ = 0 |
| void verifyScanInfo | ( | const Spectrum & | spectrum, |
| const double & | epsilon, | ||
| double | basePeakMZ, | ||
| double | lowestObservedMZ, | ||
| double | highestObservedMZ, | ||
| int | mzArrayIndex1, | ||
| double | mzArrayValue1, | ||
| int | mzArrayIndex2, | ||
| double | mzArrayValue2 | ||
| ) |
Definition at line 43 of file SpectrumList_MZRefinerTest.cpp.
References pwiz::data::ParamContainer::cvParam(), epsilon, pwiz::msdata::Spectrum::getMZArray(), pwiz::msdata::Spectrum::hasBinaryData(), pwiz::msdata::SpectrumIdentity::id, pwiz::msdata::SpectrumIdentity::index, MS_base_peak_m_z, MS_highest_observed_m_z, MS_lowest_observed_m_z, os_, unit_assert, unit_assert_equal, pwiz::data::CVParam::value, and pwiz::data::CVParam::valueAs().
Referenced by testShift().
| void verifyPrecursorInfo | ( | const Spectrum & | spectrum, |
| const double & | epsilon, | ||
| double | precursorMZ, | ||
| double | isolationWindowTarget | ||
| ) |
Definition at line 66 of file SpectrumList_MZRefinerTest.cpp.
References pwiz::data::ParamContainer::cvParam(), pwiz::data::ParamContainer::empty(), epsilon, pwiz::msdata::SpectrumIdentity::id, pwiz::msdata::SpectrumIdentity::index, pwiz::msdata::Precursor::isolationWindow, MS_isolation_window_target_m_z, MS_selected_ion_m_z, os_, pwiz::msdata::Spectrum::precursors, pwiz::msdata::Precursor::selectedIons, unit_assert, unit_assert_equal, pwiz::data::CVParam::value, and pwiz::data::CVParam::valueAs().
Referenced by testShift().
| void testShift | ( | const bfs::path & | datadir | ) |
Definition at line 86 of file SpectrumList_MZRefinerTest.cpp.
References epsilon, os_, pwiz::msdata::MSData::run, pwiz::msdata::Run::spectrumListPtr, unit_assert, verifyPrecursorInfo(), and verifyScanInfo().
Referenced by test().
| void test | ( | const bfs::path & | datadir | ) |
Definition at line 131 of file SpectrumList_MZRefinerTest.cpp.
References testShift().
Referenced by main().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 137 of file SpectrumList_MZRefinerTest.cpp.
References os_, test(), TEST_EPILOG, TEST_FAILED, and TEST_PROLOG.
| ostream* os_ = 0 |
Definition at line 40 of file SpectrumList_MZRefinerTest.cpp.
Referenced by main(), testShift(), verifyPrecursorInfo(), and verifyScanInfo().