libpappsomspp
Library for mass spectrometry
|
coordinates of the XIC to extract and the resulting XIC after extraction More...
#include <xiccoord.h>
Public Member Functions | |
XicCoord () | |
XicCoord (const XicCoord &other) | |
virtual | ~XicCoord () |
virtual XicCoordSPtr | initializeAndClone () const |
intialize the XIC and make a deep copy of object | |
virtual XicCoordSPtr | addition (const XicCoordSPtr &to_add) const |
compute a new XIC coord as the sum of the given one | |
virtual XicCoordSPtr | multiplyBy (double number) const |
compute a new xic coord as a product by | |
virtual XicCoordSPtr | divideBy (double number) const |
compute a new xic coord as a division by | |
virtual void | reset () |
reset to zero | |
virtual QString | toString () const |
get a description of the XIC coordinate in a string | |
virtual const QVariant | getParam (XicCoordParam param) const |
get a specific XIC coordinate parameter | |
virtual void | writeCborStream (QCborStreamWriter &cbor_writer) const |
writes xic coordinates in a cbor stream | |
Public Attributes | |
MzRange | mzRange |
the mass to extract | |
double | rtTarget = 0 |
the targeted retention time to extract around intended in seconds, and related to one msrun. This is not a reference, just to save memory and cpu usage when extracting xic | |
XicSPtr | xicSptr = nullptr |
extracted xic | |
coordinates of the XIC to extract and the resulting XIC after extraction
to extract a XIC, we need basically the mass to extract it this structure is meant to extact a XIC quickly and not to maintain information about it : no peptide, no scan number, no retention time...
Definition at line 67 of file xiccoord.h.
pappso::XicCoord::XicCoord | ( | ) |
Default constructor
Definition at line 36 of file xiccoord.cpp.
References mzRange, and rtTarget.
Referenced by XicCoord(), pappso::XicCoordTims::XicCoordTims(), and pappso::XicCoordTims::XicCoordTims().
XicCoord::XicCoord | ( | const XicCoord & | other | ) |
Copy constructor
other | TODO |
Definition at line 42 of file xiccoord.cpp.
References XicCoord(), mzRange, rtTarget, and xicSptr.
|
virtual |
|
virtual |
compute a new XIC coord as the sum of the given one
Reimplemented in pappso::XicCoordTims.
Definition at line 63 of file xiccoord.cpp.
|
virtual |
compute a new xic coord as a division by
Reimplemented in pappso::XicCoordTims.
Definition at line 90 of file xiccoord.cpp.
|
virtual |
get a specific XIC coordinate parameter
Reimplemented in pappso::XicCoordTims.
Definition at line 121 of file xiccoord.cpp.
Referenced by pappso::IonMobilityGrid::storeObservedIdentityBetween().
|
virtual |
intialize the XIC and make a deep copy of object
Reimplemented in pappso::XicCoordTims.
Definition at line 52 of file xiccoord.cpp.
References xicSptr.
Referenced by pappso::IonMobilityGrid::translateXicCoordFromTo().
|
virtual |
compute a new xic coord as a product by
Reimplemented in pappso::XicCoordTims.
Definition at line 77 of file xiccoord.cpp.
|
virtual |
|
virtual |
get a description of the XIC coordinate in a string
Reimplemented in pappso::XicCoordTims.
Definition at line 114 of file xiccoord.cpp.
References mzRange, and rtTarget.
Referenced by pappso::XicCoordTims::toString().
|
virtual |
writes xic coordinates in a cbor stream
Reimplemented in pappso::XicCoordTims.
Definition at line 127 of file xiccoord.cpp.
MzRange pappso::XicCoord::mzRange |
the mass to extract
Definition at line 125 of file xiccoord.h.
Referenced by pappso::TimsFrame::XicComputeStructure::XicComputeStructure(), XicCoord(), XicCoord(), addition(), divideBy(), pappso::MsRunXicExtractor::extractOneXicCoord(), pappso::MsRunXicExtractorDisk::extractOneXicCoord(), pappso::TimsDdaPrecursors::getXicCoordTimsFromPrecursorId(), multiplyBy(), pappso::TimsMsRunReaderMs2::newXicCoordSPtrFromSpectrumIndex(), reset(), pappso::XicCoordTims::reset(), toString(), writeCborStream(), and pappso::XicCoordTims::writeCborStream().
double pappso::XicCoord::rtTarget = 0 |
the targeted retention time to extract around intended in seconds, and related to one msrun. This is not a reference, just to save memory and cpu usage when extracting xic
Definition at line 131 of file xiccoord.h.
Referenced by XicCoord(), XicCoord(), addition(), divideBy(), pappso::MsRunXicExtractor::extractOneXicCoord(), pappso::MsRunXicExtractorDisk::extractOneXicCoord(), pappso::TimsDdaPrecursors::getXicCoordTimsFromPrecursorId(), multiplyBy(), pappso::TimsMsRunReaderMs2::newXicCoordSPtrFromSpectrumIndex(), reset(), pappso::XicCoordTims::reset(), toString(), writeCborStream(), and pappso::XicCoordTims::writeCborStream().
XicSPtr pappso::XicCoord::xicSptr = nullptr |
extracted xic
Definition at line 135 of file xiccoord.h.
Referenced by pappso::TimsFrame::XicComputeStructure::XicComputeStructure(), XicCoord(), pappso::MsRunXicExtractor::extractOneXicCoord(), pappso::MsRunXicExtractorDisk::extractOneXicCoord(), pappso::TimsDdaPrecursors::getXicCoordTimsFromPrecursorId(), initializeAndClone(), reset(), and pappso::XicCoordTims::reset().