libpappsomspp
Library for mass spectrometry
pappso::TimsFrame::XicComputeStructure Struct Reference

Public Member Functions

 XicComputeStructure (const TimsFrame *fram_p, const TimsXicStructure &xic_struct)
 

Public Attributes

Xicxic_ptr = nullptr
 
std::size_t mobilityIndexBegin
 
std::size_t mobilityIndexEnd
 
std::size_t mzIndexLowerBound
 
std::size_t mzIndexUpperBound
 
double tmpIntensity = 0
 

Detailed Description

Definition at line 139 of file timsframe.h.

Constructor & Destructor Documentation

◆ XicComputeStructure()

pappso::TimsFrame::XicComputeStructure::XicComputeStructure ( const TimsFrame fram_p,
const TimsXicStructure xic_struct 
)

Definition at line 41 of file timsframe.cpp.

43 {
44  xic_ptr = xic_struct.xicSptr.get();
45 
46  mobilityIndexBegin = xic_struct.scanNumBegin;
47  mobilityIndexEnd = xic_struct.scanNumEnd;
48  mzIndexLowerBound = fram_p->getRawIndexFromMz(
49  xic_struct.mzRange.lower()); // convert mz to raw digitizer value
50  mzIndexUpperBound = fram_p->getRawIndexFromMz(xic_struct.mzRange.upper());
51  tmpIntensity = 0;
52 }

References pappso::TimsFrameBase::getRawIndexFromMz(), pappso::MzRange::lower(), mobilityIndexBegin, mobilityIndexEnd, mzIndexLowerBound, mzIndexUpperBound, pappso::TimsXicStructure::mzRange, pappso::TimsXicStructure::scanNumBegin, pappso::TimsXicStructure::scanNumEnd, tmpIntensity, pappso::MzRange::upper(), xic_ptr, and pappso::TimsXicStructure::xicSptr.

Member Data Documentation

◆ mobilityIndexBegin

std::size_t pappso::TimsFrame::XicComputeStructure::mobilityIndexBegin

Definition at line 146 of file timsframe.h.

Referenced by XicComputeStructure().

◆ mobilityIndexEnd

std::size_t pappso::TimsFrame::XicComputeStructure::mobilityIndexEnd

Definition at line 147 of file timsframe.h.

Referenced by XicComputeStructure().

◆ mzIndexLowerBound

std::size_t pappso::TimsFrame::XicComputeStructure::mzIndexLowerBound

Definition at line 148 of file timsframe.h.

Referenced by XicComputeStructure().

◆ mzIndexUpperBound

std::size_t pappso::TimsFrame::XicComputeStructure::mzIndexUpperBound

Definition at line 149 of file timsframe.h.

Referenced by XicComputeStructure().

◆ tmpIntensity

double pappso::TimsFrame::XicComputeStructure::tmpIntensity = 0

Definition at line 150 of file timsframe.h.

Referenced by XicComputeStructure().

◆ xic_ptr

Xic* pappso::TimsFrame::XicComputeStructure::xic_ptr = nullptr

Definition at line 145 of file timsframe.h.

Referenced by XicComputeStructure().


The documentation for this struct was generated from the following files:
pappso::TimsFrame::XicComputeStructure::xic_ptr
Xic * xic_ptr
Definition: timsframe.h:145
pappso::TimsFrame::XicComputeStructure::mobilityIndexEnd
std::size_t mobilityIndexEnd
Definition: timsframe.h:147
pappso::TimsFrame::XicComputeStructure::mzIndexUpperBound
std::size_t mzIndexUpperBound
Definition: timsframe.h:149
pappso::TimsFrame::XicComputeStructure::mzIndexLowerBound
std::size_t mzIndexLowerBound
Definition: timsframe.h:148
pappso::TimsFrame::XicComputeStructure::mobilityIndexBegin
std::size_t mobilityIndexBegin
Definition: timsframe.h:146
pappso::TimsFrame::XicComputeStructure::tmpIntensity
double tmpIntensity
Definition: timsframe.h:150