10#include <OpenMS/OpenMSConfig.h>
36 bool collision_energy_valid =
false;
63 using Key = std::size_t;
75 static constexpr std::size_t npos_ =
static_cast<std::size_t
>(-1);
83 double target_mz = 0.0;
84 double selected_mz = 0.0;
87 double lower_offset = 0.0;
88 double upper_offset = 0.0;
90 bool estimate_intensity =
true;
114 static std::optional<double>
number(std::string_view value);
123 static std::string
filterKey(
const std::string& filter);
133 static double selectedIon(
double target, std::optional<double> mono,
double width);
153 std::size_t reactions = 0;
155 std::vector<ThermoPrecursor>
own;
166 static std::size_t
lastReaction_(
const std::vector<ThermoReaction>& reactions);
Per-file trailer label lookup.
Definition ThermoRawFileMetadata.h:60
std::vector< std::size_t > positions_
last position of each label (npos_ if not seen yet)
Definition ThermoRawFileMetadata.h:77
std::size_t Key
Key of a registered label for find() / value().
Definition ThermoRawFileMetadata.h:63
const std::string & value(const ThermoScan &scan, Key key)
Value of the registered label in scan, or "" if absent.
const std::string * find(const ThermoScan &scan, Key key)
Value of the registered label in scan, or nullptr if the scan has no such entry.
Key add(const std::string &label)
Register label (exact match, including the trailing colon) and return its key.
std::vector< std::string > labels_
registered labels by key
Definition ThermoRawFileMetadata.h:76
OpenMS looks in the< code > OPENMS_THERMO_MANAGED_DIR</code > environment variable first
Definition common-cmake-parameters.doxygen:197
Initialization procedures.
Definition BayesianProteinInferenceAlgorithm.h:26
std::optional< double > width
isolation width; unset if unknown or negative
Definition ThermoRawFileMetadata.h:86
std::optional< double > isolation_width
isolation window width (Th)
Definition ThermoRawFileMetadata.h:32
std::string label
e.g. "Monoisotopic M/Z:"
Definition ThermoRawFileMetadata.h:24
std::optional< double > precursor_mass
isolation target m/z
Definition ThermoRawFileMetadata.h:31
std::string spectrum_ref
native ID of the parent scan ("" if unknown)
Definition ThermoRawFileMetadata.h:91
std::string value
as reported by the instrument, numbers included
Definition ThermoRawFileMetadata.h:25
std::string filter
scan filter string, e.g. "FTMS + c NSI Full ms2 500.00@hcd30.00 [100-1000]"
Definition ThermoRawFileMetadata.h:44
std::optional< int > charge
unset if unknown or not positive
Definition ThermoRawFileMetadata.h:85
std::vector< ThermoTrailerEntry > trailer
trailer-extra entries in file order
Definition ThermoRawFileMetadata.h:46
std::optional< double > isolation_offset
isolation window offset from the target (Th)
Definition ThermoRawFileMetadata.h:33
std::string native_id
e.g. "controllerType=0 controllerNumber=1 scan=12"
Definition ThermoRawFileMetadata.h:45
std::vector< ThermoReaction > reactions
reactions in acquisition order (MS2 first)
Definition ThermoRawFileMetadata.h:47
std::optional< double > collision_energy
vendor value; meaningful only if collision_energy_valid
Definition ThermoRawFileMetadata.h:35
ThermoReaction activation
primary reaction
Definition ThermoRawFileMetadata.h:92
std::optional< ThermoReaction > supplemental
supplemental activation (e.g. the HCD step of EThcD)
Definition ThermoRawFileMetadata.h:93
std::string activation
vendor activation type name, e.g. "HigherEnergyCollisionalDissociation"
Definition ThermoRawFileMetadata.h:34
One precursor of an MSn scan as reconstructed by ThermoRawFileMetadata::precursors().
Definition ThermoRawFileMetadata.h:82
One reaction (isolation plus activation step) of a Thermo MSn scan event.
Definition ThermoRawFileMetadata.h:30
The per-scan metadata needed to reconstruct the precursor hierarchy.
Definition ThermoRawFileMetadata.h:41
One "trailer extra" label/value pair of a Thermo scan.
Definition ThermoRawFileMetadata.h:23