public AveragedSpectrumExtractor(Run run, SpectrumCache spectrumCache)
 {
     this.run = run;
     this.spectrumCache = spectrumCache;
     rtToTimePointConverter = new RtToTimePointConverter(run, spectrumCache);
     spectrumExtractor = new SpectrumExtractor(run, spectrumCache);
 }
 private void SetupMSMSData()
 {
     dataFile = new MSDataFile(Properties.Settings.Default.mzXMLTestFile2);
     spectrumCache = new SpectrumCache();
     timePointToRtConverter = new RtToTimePointConverter(dataFile.run, spectrumCache);
 }
 public void MyTestInitialize()
 {
     dataFile = new MSDataFile(Properties.Settings.Default.mzXMLTestFile1);
     spectrumCache = new SpectrumCache();
     timePointToRtConverter = new RtToTimePointConverter(dataFile.run, spectrumCache);
 }