OpenMS
Loading...
Searching...
No Matches
NuXLConstants Class Reference

Index positions of the per-peak IntegerDataArrays used by the OpenNuXL pipeline. More...

#include <OpenMS/ANALYSIS/NUXL/NuXLConstants.h>

Collaboration diagram for NuXLConstants:
[legend]

Static Public Attributes

static constexpr size_t IA_CHARGE_INDEX = 0
 IntegerDataArray slot holding the per-peak charge.
 
static constexpr size_t IA_RANK_INDEX = 1
 IntegerDataArray slot holding the per-peak intensity rank (named "intensity_rank"; 0 marks the most intense peak, ascending).
 
static constexpr size_t IA_DENOVO_TAG_INDEX = 2
 IntegerDataArray slot holding the length of the longest amino-acid de novo tag found in the spectrum (named "longest_tag"; a single-element array broadcast over the whole spectrum). Always 0 unless OpenNuXL is built with the CALCULATE_LONGEST_TAG macro defined.
 

Detailed Description

Index positions of the per-peak IntegerDataArrays used by the OpenNuXL pipeline.

OpenNuXL annotates each MSSpectrum with a fixed layout of parallel IntegerDataArrays: the array at slot i carries the data described by IA_*_INDEX == i. Code that accesses these slots indexes them through these constants so the layout stays consistent between the spectrum builders in TOPP_OpenNuXL and the alignment / scoring helpers in NuXLAnnotateAndLocate.

Member Data Documentation

◆ IA_CHARGE_INDEX

constexpr size_t IA_CHARGE_INDEX = 0
staticconstexpr

IntegerDataArray slot holding the per-peak charge.

◆ IA_DENOVO_TAG_INDEX

constexpr size_t IA_DENOVO_TAG_INDEX = 2
staticconstexpr

IntegerDataArray slot holding the length of the longest amino-acid de novo tag found in the spectrum (named "longest_tag"; a single-element array broadcast over the whole spectrum). Always 0 unless OpenNuXL is built with the CALCULATE_LONGEST_TAG macro defined.

◆ IA_RANK_INDEX

constexpr size_t IA_RANK_INDEX = 1
staticconstexpr

IntegerDataArray slot holding the per-peak intensity rank (named "intensity_rank"; 0 marks the most intense peak, ascending).