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