41 const size_t tinyCopyCount = 3;
43 vector<MSDataPtr> tinyExamples;
44 for (
size_t i=0; i < tinyCopyCount; ++i)
47 MSData& msd = *tinyExamples.back();
67 for (
size_t i=0; i < tinyCopyCount; ++i)
70 string expectedPrefix =
"tiny" +
lexical_cast<
string>(i) +
"_";
79 for (
size_t index=0; index < sl.
size(); ++index)
97 spectrum->sourceFilePtr);
104 int main(
int argc,
char* argv[])
110 if (argc>1 && !strcmp(argv[1],
"-v"))
os_ = &cout;
MS_MSn_spectrum
MSn spectrum: MSn refers to multi-stage MS/MS experiments designed to record product ion spectra wher...
std::vector< SourceFilePtr > sourceFilePtrs
list and descriptions of the source files this mzML document was generated or derived from...
bool hasCVParam(CVID cvid) const
returns true iff cvParams contains exact cvid (recursive)
virtual const SpectrumIdentity & spectrumIdentity(size_t index) const =0
access to a spectrum index
boost::shared_ptr< Spectrum > SpectrumPtr
virtual SpectrumPtr spectrum(size_t index, bool getBinaryData=false) const =0
retrieve a spectrum by index
PWIZ_API_DECL void initializeTiny(MSData &msd)
FileDescription fileDescription
information pertaining to the entire mzML file (i.e. not specific to any part of the data set) is sto...
virtual size_t size() const =0
returns the number of spectra
FileContent fileContent
this summarizes the different types of spectra that can be expected in the file. This is expected to ...
float lexical_cast(const std::string &str)
Interface for accessing spectra, which may be stored in memory or backed by a data file (RAW...
std::string id
an optional id for the mzML document. It is recommended to use LSIDs when possible.
std::string id
a unique identifier for this run.
std::string id
a unique identifier for this spectrum. It should be expected that external files may use this identif...
Run run
a run in mzML should correspond to a single, consecutive and coherent set of scans on an instrument...
size_t index
the zero-based, consecutive index of the spectrum in the SpectrumList.
boost::shared_ptr< MSData > MSDataPtr
SpectrumListPtr spectrumListPtr
all mass spectra and the acquisitions underlying them are described and attached here. Subsidiary data arrays are also both described and attached here.
Identifying information for a spectrum.
MS_centroid_spectrum
centroid spectrum: Processing of profile data to produce spectra that contains discrete peaks of zero...
int main(int argc, char *argv[])
#define TEST_PROLOG(argc, argv)
This is the root element of ProteoWizard; it represents the mzML element, defined as: intended to cap...