ProteoWizard
|
#include "SpectrumList_ChargeFromIsotope.hpp"
#include "pwiz/utility/misc/unit.hpp"
#include "pwiz/data/msdata/examples.hpp"
#include "pwiz/data/msdata/TextWriter.hpp"
#include "pwiz/data/common/CVTranslator.hpp"
#include "pwiz/utility/misc/Std.hpp"
Go to the source code of this file.
Classes | |
struct | TestChargeStateCalculator |
Functions | |
ostream & | operator<< (ostream &os, const vector< double > &v) |
vector< double > | parseDoubleArray (const string &doubleArray) |
vector< CVID > | parseCVTermArray (const string &cvTermArray) |
int | test () |
int | main (int argc, char *argv[]) |
Variables | |
ostream * | os_ = 0 |
TestChargeStateCalculator | testChargeStateCalculators [] |
const size_t | testChargeStateCalculatorsSize = sizeof(testChargeStateCalculators) / sizeof(TestChargeStateCalculator) |
ostream& operator<< | ( | ostream & | os, |
const vector< double > & | v | ||
) |
Definition at line 36 of file SpectrumList_ChargeFromIsotopeTest.cpp.
vector<double> parseDoubleArray | ( | const string & | doubleArray | ) |
vector<CVID> parseCVTermArray | ( | const string & | cvTermArray | ) |
Definition at line 135 of file SpectrumList_ChargeFromIsotopeTest.cpp.
References pwiz::data::CVTranslator::translate().
int test | ( | ) |
Definition at line 147 of file SpectrumList_ChargeFromIsotopeTest.cpp.
References pwiz::data::CVParam::cvid, TestChargeStateCalculator::defaultMaxCharge, TestChargeStateCalculator::defaultMinCharge, TestChargeStateCalculator::halfIsolationWidth, TestChargeStateCalculator::inputIntensityArray, TestChargeStateCalculator::inputMZArray, TestChargeStateCalculator::inputPrecursorMZ, TestChargeStateCalculator::maxCharge, TestChargeStateCalculator::minCharge, TestChargeStateCalculator::MS1rTime, TestChargeStateCalculator::MS2rTime, MS_charge_state, MS_ms_level, MS_MSn_spectrum, MS_number_of_detector_counts, MS_possible_charge_state, MS_preset_scan_configuration, MS_profile_spectrum, MS_scan_start_time, TestChargeStateCalculator::parentsAfter, TestChargeStateCalculator::parentsBefore, parseDoubleArray(), pwiz::msdata::MSData::run, pwiz::msdata::SpectrumListSimple::spectra, pwiz::msdata::Run::spectrumListPtr, testChargeStateCalculatorsSize, TestChargeStateCalculator::trueCharge, unit_assert, unit_assert_operator_equal, UO_second, and pwiz::data::CVParam::valueAs().
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 218 of file SpectrumList_ChargeFromIsotopeTest.cpp.
References os_, test(), TEST_EPILOG, TEST_FAILED, TEST_PROLOG, and unit_assert_operator_equal.
ostream* os_ = 0 |
Definition at line 34 of file SpectrumList_ChargeFromIsotopeTest.cpp.
Referenced by main().
TestChargeStateCalculator testChargeStateCalculators[] |
Definition at line 65 of file SpectrumList_ChargeFromIsotopeTest.cpp.
const size_t testChargeStateCalculatorsSize = sizeof(testChargeStateCalculators) / sizeof(TestChargeStateCalculator) |
Definition at line 121 of file SpectrumList_ChargeFromIsotopeTest.cpp.
Referenced by test().