78 std::vector<Precursor> & precursors,
79 std::vector<double> & precursors_rt,
80 std::vector<Size> & precursor_scan_index);
97 static void writeHist(
const String& out_csv,
98 const std::vector<double> & delta_mzs,
99 const std::vector<double> & mzs,
100 const std::vector<double> & rts);
115 static std::set<Size> correctToNearestMS1Peak(
MSExperiment & exp,
118 std::vector<double> & delta_mzs,
119 std::vector<double> & mzs,
120 std::vector<double> & rts);
136 static std::set<Size> correctToHighestIntensityMS1Peak(
MSExperiment & exp,
139 std::vector<double> & delta_mzs,
140 std::vector<double> & mzs,
141 std::vector<double> & rts);
167 static std::set<Size> correctToNearestFeature(
const FeatureMap& features,
169 double rt_tolerance_s = 0.0,
170 double mz_tolerance = 0.0,
172 bool believe_charge =
false,
173 bool keep_original =
false,
174 bool all_matching_features =
false,
176 int debug_level = 0);
191 static bool overlaps_(
const Feature& feature,
194 const double rt_tolerance);
208 static bool compatible_(
const Feature& feature,
211 Size max_trace_number = 2,
212 int debug_level = 0);
This class provides methods for precursor correction.
Definition: PrecursorCorrection.h:63
A more convenient string class.
Definition: String.h:58
A container for features.
Definition: FeatureMap.h:98
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
An LC-MS feature.
Definition: Feature.h:70
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:70
static const std::string csv_header
Definition: PrecursorCorrection.h:67
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127