OpenMS
Loading...
Searching...
No Matches
ThermoRawFile.h
Go to the documentation of this file.
1// Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
2// SPDX-License-Identifier: BSD-3-Clause
3//
4// --------------------------------------------------------------------------
5// $Maintainer: Julianus Pfeuffer $
6// $Authors: Julianus Pfeuffer $
7// --------------------------------------------------------------------------
8
9#pragma once
10
11#include <OpenMS/config.h>
12
13#ifdef WITH_THERMO_RAW
14
17
18#include <limits>
19#include <vector>
20
21namespace OpenMS
22{
51 class OPENMS_DLLAPI ThermoRawFile : public ProgressLogger
52 {
53 public:
55 struct Options
56 {
57 bool centroid = false;
58 bool charge_data = false;
59 bool noise_data = false;
60 bool all_detectors = false;
61 bool preserve_trailers = true;
62 bool instrument_methods = true;
63 bool checksum = true;
64
71 int first_scan = 0;
72 int last_scan = 0;
73 double rt_min = -std::numeric_limits<double>::infinity();
74 double rt_max = std::numeric_limits<double>::infinity();
75 std::vector<int> ms_levels;
77 double precursor_mz_min = -std::numeric_limits<double>::infinity();
78 double precursor_mz_max = std::numeric_limits<double>::infinity();
80
88 bool metadata_only = false;
89 bool skip_chromatograms = false;
90 };
91
93 const Options& getOptions() const { return options_; }
95 void setOptions(const Options& options) { options_ = options; }
109 void load(const std::string& path, MSExperiment& exp);
110
111 private:
112 Options options_;
113 };
114
115} // namespace OpenMS
116
117#endif // WITH_THERMO_RAW
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19