79 std::vector<Precursor> & precursors,
80 std::vector<double> & precursors_rt,
81 std::vector<Size> & precursor_scan_index);
98 static void writeHist(
const String& out_csv,
99 const std::vector<double> & delta_mzs,
100 const std::vector<double> & mzs,
101 const std::vector<double> & rts);
116 static std::set<Size> correctToNearestMS1Peak(
MSExperiment & exp,
119 std::vector<double> & delta_mzs,
120 std::vector<double> & mzs,
121 std::vector<double> & rts);
137 static std::set<Size> correctToHighestIntensityMS1Peak(
MSExperiment & exp,
140 std::vector<double> & delta_mzs,
141 std::vector<double> & mzs,
142 std::vector<double> & rts);
168 static std::set<Size> correctToNearestFeature(
const FeatureMap& features,
170 double rt_tolerance_s = 0.0,
171 double mz_tolerance = 0.0,
173 bool believe_charge =
false,
174 bool keep_original =
false,
175 bool all_matching_features =
false,
177 int debug_level = 0);
192 static bool overlaps_(
const Feature& feature,
195 const double rt_tolerance);
209 static bool compatible_(
const Feature& feature,
212 Size max_trace_number = 2,
213 int debug_level = 0);
An LC-MS feature.
Definition: Feature.h:70
A more convenient string class.
Definition: String.h:58
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:77
A container for features.
Definition: FeatureMap.h:95
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
static const std::string csv_header
Definition: PrecursorCorrection.h:68
This class provides methods for precursor correction.
Definition: PrecursorCorrection.h:64
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127