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

Public Member Functions

 XicComputeStructure (const TimsFrame *fram_p, const XicCoordTims &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 172 of file timsframe.h.

Constructor & Destructor Documentation

◆ XicComputeStructure()

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

Definition at line 40 of file timsframe.cpp.

42 {
43  xic_ptr = xic_struct.xicSptr.get();
44 
45  mobilityIndexBegin = xic_struct.scanNumBegin;
46  mobilityIndexEnd = xic_struct.scanNumEnd;
48  fram_p->getMzCalibrationInterfaceSPtr().get()->getTofIndexFromMz(
49  xic_struct.mzRange.lower()); // convert mz to raw digitizer value
51  fram_p->getMzCalibrationInterfaceSPtr().get()->getTofIndexFromMz(
52  xic_struct.mzRange.upper());
53  tmpIntensity = 0;
54 }

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

Member Data Documentation

◆ mobilityIndexBegin

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

Definition at line 179 of file timsframe.h.

Referenced by XicComputeStructure().

◆ mobilityIndexEnd

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

Definition at line 180 of file timsframe.h.

Referenced by XicComputeStructure().

◆ mzIndexLowerBound

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

Definition at line 181 of file timsframe.h.

Referenced by XicComputeStructure().

◆ mzIndexUpperBound

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

Definition at line 182 of file timsframe.h.

Referenced by XicComputeStructure().

◆ tmpIntensity

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

Definition at line 183 of file timsframe.h.

Referenced by XicComputeStructure().

◆ xic_ptr

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

Definition at line 178 of file timsframe.h.

Referenced by XicComputeStructure().


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