ProteoWizard
|
A container for describing the isolation windows that are dedicated to columns of the design matrix for demultiplexing. More...
#include <IPrecursorMaskCodec.hpp>
Public Member Functions | |
DemuxWindow (const msdata::Precursor &p) | |
Constructs a DemuxWindow from a Precursor by using its isolation window. More... | |
DemuxWindow (MZHash mzLow, MZHash mzHigh) | |
Constructs a DemuxWindow for a given mass range. More... | |
bool | operator< (const DemuxWindow &rhs) const |
Isolation windows are sorted by their start value. More... | |
bool | Contains (const DemuxWindow &inner) const |
Can be used to find whether the mass range of another DemuxWindow is a subset of this one. More... | |
bool | ContainsCenter (const DemuxWindow &inner) const |
Used to find whether a window's center is contained within this window. More... | |
bool | operator== (const DemuxWindow &rhs) const |
Can be used to find whether two windows are identical within the error of the hash. More... | |
bool | operator!= (const DemuxWindow &rhs) const |
Can be used to find whether two windows are identical within the error of the hash. More... | |
Public Attributes | |
MZHash | mzLow |
Start m/z of the window range. More... | |
MZHash | mzHigh |
End m/z of the window range. More... | |
A container for describing the isolation windows that are dedicated to columns of the design matrix for demultiplexing.
Ideally, a ProteoWizard Precursor container could be used instead with manipulation of its internal data since a demultiplexed spectrum is in many ways able to be thought of as an isolated spectrum with narrower isolation boundaries. However, this is used as a slimmer container in favor of the existing ProteoWizard Precursor because in the case of overlapping spectra the Precursor object would have to be copied and manipulated to split the isolation ranges.
Definition at line 124 of file IPrecursorMaskCodec.hpp.
|
inlineexplicit |
Constructs a DemuxWindow from a Precursor by using its isolation window.
Definition at line 131 of file IPrecursorMaskCodec.hpp.
References pwiz::analysis::IsoWindowHasher::Hash(), pwiz::analysis::precursor_lower_offset(), pwiz::analysis::precursor_target(), and pwiz::analysis::precursor_upper_offset().
Constructs a DemuxWindow for a given mass range.
Definition at line 139 of file IPrecursorMaskCodec.hpp.
|
inline |
Isolation windows are sorted by their start value.
Definition at line 144 of file IPrecursorMaskCodec.hpp.
References mzLow.
|
inline |
Can be used to find whether the mass range of another DemuxWindow is a subset of this one.
Definition at line 147 of file IPrecursorMaskCodec.hpp.
Referenced by operator==().
|
inline |
Used to find whether a window's center is contained within this window.
Definition at line 153 of file IPrecursorMaskCodec.hpp.
|
inline |
Can be used to find whether two windows are identical within the error of the hash.
Definition at line 160 of file IPrecursorMaskCodec.hpp.
References Contains().
|
inline |
Can be used to find whether two windows are identical within the error of the hash.
Definition at line 163 of file IPrecursorMaskCodec.hpp.
MZHash pwiz::analysis::DemuxWindow::mzLow |
Start m/z of the window range.
Definition at line 126 of file IPrecursorMaskCodec.hpp.
Referenced by Contains(), ContainsCenter(), and operator<().
MZHash pwiz::analysis::DemuxWindow::mzHigh |
End m/z of the window range.
Definition at line 128 of file IPrecursorMaskCodec.hpp.
Referenced by Contains(), and ContainsCenter().