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 143 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;
49  fram_p->getMzCalibrationInterfaceSPtr().get()->getTofIndexFromMz(
50  xic_struct.mzRange.lower()); // convert mz to raw digitizer value
52  fram_p->getMzCalibrationInterfaceSPtr().get()->getTofIndexFromMz(
53  xic_struct.mzRange.upper());
54  tmpIntensity = 0;
55 }

References pappso::TimsFrameBase::getMzCalibrationInterfaceSPtr(), 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 150 of file timsframe.h.

Referenced by XicComputeStructure().

◆ mobilityIndexEnd

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

Definition at line 151 of file timsframe.h.

Referenced by XicComputeStructure().

◆ mzIndexLowerBound

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

Definition at line 152 of file timsframe.h.

Referenced by XicComputeStructure().

◆ mzIndexUpperBound

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

Definition at line 153 of file timsframe.h.

Referenced by XicComputeStructure().

◆ tmpIntensity

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

Definition at line 154 of file timsframe.h.

Referenced by XicComputeStructure().

◆ xic_ptr

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

Definition at line 149 of file timsframe.h.

Referenced by XicComputeStructure().


The documentation for this struct was generated from the following files: