27 class IsotopeDistribution;
28 class IsotopePatternGenerator;
29 class CoarseIsotopePatternGenerator;
67 typedef std::map<const Element*, SignedSize>
MapType_;
201 const std::set<UInt>& precursor_isotopes,
220 std::map<std::string, int>
toMap()
const;
345 std::vector<std::pair<std::string, OpenMS::SignedSize>> elements;
346 for (
const auto& [element_ptr, count] : ef)
348 elements.emplace_back(element_ptr->getSymbol(), count);
352 std::sort(elements.begin(), elements.end());
355 std::size_t seed = 0;
356 for (
const auto& [symbol, count] : elements)
Isotope pattern generator for coarse isotope distributions.
Definition CoarseIsotopePatternGenerator.h:79
Representation of an element.
Definition Element.h:34
Definition IsotopeDistribution.h:40
Provides an interface for different isotope pattern generator methods.
Definition IsotopePatternGenerator.h:42
A more convenient string class.
Definition String.h:34
You can set more CMake variables adding< code > linking and adding include directories</td ></tr >< tr >< th valign="top"> CMAKE_PREFIX_PATH</td >< td > Additional search path for the contrib libraries[MacOSX only] If you want to use libraries installed via Homebrew or MacPorts you might need to provide the corresponding paths< code > e g< code > C
Definition common-cmake-parameters.doxygen:35
int Int
Signed integer type.
Definition Types.h:72
unsigned int UInt
Unsigned integer type.
Definition Types.h:64
ptrdiff_t SignedSize
Signed Size type e.g. used as pointer difference.
Definition Types.h:104
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
std::size_t hash_int(T value) noexcept
Hash for an integer type.
Definition HashUtils.h:107
void hash_combine(std::size_t &seed, std::size_t value) noexcept
Combine a hash value with additional data using golden ratio mixing.
Definition HashUtils.h:87
std::size_t fnv1a_hash_string(const std::string &s) noexcept
FNV-1a hash for a string.
Definition HashUtils.h:70