lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
tPeakList Struct Reference

#include <peakfinder8.hh>

Public Attributes

long nPeaks
 Number of peaks stored by peakfinder8() (at most nPeaks_max).
 
long nHot
 Set to 0 by allocatePeakList(); not set by peakfinder8().
 
float peakResolution
 Set to 0 by allocatePeakList(); not set by peakfinder8().
 
float peakResolutionA
 Set to 0 by allocatePeakList(); not set by peakfinder8().
 
float peakDensity
 Set to 0 by allocatePeakList(); not set by peakfinder8().
 
float peakNpix
 Set to 0 by allocatePeakList(); not set by peakfinder8().
 
float peakTotal
 Set to 0 by allocatePeakList(); not set by peakfinder8().
 
int memoryAllocated
 Set to 1 by allocatePeakList(); freePeakList() clears it only in its by-value copy.
 
long nPeaks_max
 Capacity of the per-peak arrays, set by allocatePeakList(); peakfinder8() stores at most this many peaks.
 
float * peak_maxintensity
 Per-peak maximum intensity, filled by peakfinder8().
 
float * peak_totalintensity
 Per-peak integrated intensity, filled by peakfinder8().
 
float * peak_sigma
 Per-peak sigma value from the peak search, filled by peakfinder8() (the trailing comment says signal-to-noise ratio).
 
float * peak_snr
 Per-peak snr value from the peak search (trailing comment: signal-to-noise ratio), filled by peakfinder8().
 
float * peak_npix
 Per-peak number of pixels, filled by peakfinder8().
 
float * peak_com_x
 Per-peak center-of-mass coordinate com_fs from the peak search (trailing comment: x in raw layout), filled by peakfinder8().
 
float * peak_com_y
 Per-peak center-of-mass coordinate com_ss from the peak search (trailing comment: y in raw layout), filled by peakfinder8().
 
long * peak_com_index
 Per-peak com_index from the peak search (trailing comment: closest pixel to the peak), filled by peakfinder8().
 
float * peak_com_x_assembled
 Allocated by allocatePeakList() but not filled by peakfinder8() (trailing comment: center of mass x in assembled layout).
 
float * peak_com_y_assembled
 Allocated by allocatePeakList() but not filled by peakfinder8() (trailing comment: center of mass y in assembled layout).
 
float * peak_com_r_assembled
 Allocated by allocatePeakList() but not filled by peakfinder8() (trailing comment: center of mass r in assembled layout).
 
float * peak_com_q
 Allocated by allocatePeakList() but not filled by peakfinder8() (trailing comment: scattering vector of the peak).
 
float * peak_com_res
 Allocated by allocatePeakList() but not filled by peakfinder8() (trailing comment: resolution of the peak).
 

Member Data Documentation

◆ memoryAllocated

int tPeakList::memoryAllocated

Set to 1 by allocatePeakList(); freePeakList() clears it only in its by-value copy.

◆ nHot

long tPeakList::nHot

Set to 0 by allocatePeakList(); not set by peakfinder8().

◆ nPeaks

long tPeakList::nPeaks

Number of peaks stored by peakfinder8() (at most nPeaks_max).

◆ nPeaks_max

long tPeakList::nPeaks_max

Capacity of the per-peak arrays, set by allocatePeakList(); peakfinder8() stores at most this many peaks.

◆ peak_com_index

long* tPeakList::peak_com_index

Per-peak com_index from the peak search (trailing comment: closest pixel to the peak), filled by peakfinder8().

◆ peak_com_q

float* tPeakList::peak_com_q

Allocated by allocatePeakList() but not filled by peakfinder8() (trailing comment: scattering vector of the peak).

◆ peak_com_r_assembled

float* tPeakList::peak_com_r_assembled

Allocated by allocatePeakList() but not filled by peakfinder8() (trailing comment: center of mass r in assembled layout).

◆ peak_com_res

float* tPeakList::peak_com_res

Allocated by allocatePeakList() but not filled by peakfinder8() (trailing comment: resolution of the peak).

◆ peak_com_x

float* tPeakList::peak_com_x

Per-peak center-of-mass coordinate com_fs from the peak search (trailing comment: x in raw layout), filled by peakfinder8().

◆ peak_com_x_assembled

float* tPeakList::peak_com_x_assembled

Allocated by allocatePeakList() but not filled by peakfinder8() (trailing comment: center of mass x in assembled layout).

◆ peak_com_y

float* tPeakList::peak_com_y

Per-peak center-of-mass coordinate com_ss from the peak search (trailing comment: y in raw layout), filled by peakfinder8().

◆ peak_com_y_assembled

float* tPeakList::peak_com_y_assembled

Allocated by allocatePeakList() but not filled by peakfinder8() (trailing comment: center of mass y in assembled layout).

◆ peak_maxintensity

float* tPeakList::peak_maxintensity

Per-peak maximum intensity, filled by peakfinder8().

◆ peak_npix

float* tPeakList::peak_npix

Per-peak number of pixels, filled by peakfinder8().

◆ peak_sigma

float* tPeakList::peak_sigma

Per-peak sigma value from the peak search, filled by peakfinder8() (the trailing comment says signal-to-noise ratio).

◆ peak_snr

float* tPeakList::peak_snr

Per-peak snr value from the peak search (trailing comment: signal-to-noise ratio), filled by peakfinder8().

◆ peak_totalintensity

float* tPeakList::peak_totalintensity

Per-peak integrated intensity, filled by peakfinder8().

◆ peakDensity

float tPeakList::peakDensity

Set to 0 by allocatePeakList(); not set by peakfinder8().

The trailing comment calls it the density of peaks within the 80% radius.

◆ peakNpix

float tPeakList::peakNpix

Set to 0 by allocatePeakList(); not set by peakfinder8().

The trailing comment calls it the number of pixels in peaks.

◆ peakResolution

float tPeakList::peakResolution

Set to 0 by allocatePeakList(); not set by peakfinder8().

The trailing comment calls it the radius of 80% of peaks.

◆ peakResolutionA

float tPeakList::peakResolutionA

Set to 0 by allocatePeakList(); not set by peakfinder8().

The trailing comment calls it the radius of 80% of peaks.

◆ peakTotal

float tPeakList::peakTotal

Set to 0 by allocatePeakList(); not set by peakfinder8().

The trailing comment calls it the total integrated intensity in peaks.


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