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

Peak parameters. More...

#include <PeakFinderAlgosLCLS1.hh>

Public Member Functions

 Peak ()
 Default constructor; members are left uninitialized.
 
 Peak (const Peak &o)
 Copy every field of o.
 
Peak & operator= (const Peak &rhs)
 Copy every field of rhs.
 

Public Attributes

float seg
 Segment index of the finder (m_seg), set by _procPixGroupV1().
 
float row
 Row of the group's first pixel, where the connected-pixel search started.
 
float col
 Column of the group's first pixel, where the connected-pixel search started.
 
float npix
 Number of pixels in the connected group.
 
float npos
 Set to 0 by _procPixGroupV1().
 
float amp_max
 Intensity of the first pixel minus the background average.
 
float amp_tot
 Sum of the background-subtracted intensities over the group.
 
float row_cgrav
 Intensity-weighted mean row (the first pixel's row if amp_tot is not positive).
 
float col_cgrav
 Intensity-weighted mean column (the first pixel's column if amp_tot is not positive).
 
float row_sigma
 Intensity-weighted rms of the row (0 for one pixel, a non-positive amp_tot or a non-positive variance).
 
float col_sigma
 Intensity-weighted rms of the column (0 for one pixel, a non-positive amp_tot or a non-positive variance).
 
float row_min
 Smallest row in the group.
 
float row_max
 Largest row in the group.
 
float col_min
 Smallest column in the group.
 
float col_max
 Largest column in the group.
 
float bkgd
 Background average (RingAvgRms::avg) used for this peak.
 
float noise
 Background rms (RingAvgRms::rms) used for this peak.
 
float son
 amp_tot / (noise * sqrt(npix)), or 0 if that denominator is not positive.
 

Detailed Description

Peak parameters.

Constructor & Destructor Documentation

◆ Peak() [1/2]

psalg1::Peak::Peak ( )
inline

Default constructor; members are left uninitialized.

◆ Peak() [2/2]

psalg1::Peak::Peak ( const Peak &  o)
inline

Copy every field of o.

Member Function Documentation

◆ operator=()

Peak & psalg1::Peak::operator= ( const Peak &  rhs)
inline

Copy every field of rhs.

Returns
*this.

Member Data Documentation

◆ amp_max

float psalg1::Peak::amp_max

Intensity of the first pixel minus the background average.

◆ amp_tot

float psalg1::Peak::amp_tot

Sum of the background-subtracted intensities over the group.

◆ bkgd

float psalg1::Peak::bkgd

Background average (RingAvgRms::avg) used for this peak.

◆ col

float psalg1::Peak::col

Column of the group's first pixel, where the connected-pixel search started.

◆ col_cgrav

float psalg1::Peak::col_cgrav

Intensity-weighted mean column (the first pixel's column if amp_tot is not positive).

◆ col_max

float psalg1::Peak::col_max

Largest column in the group.

◆ col_min

float psalg1::Peak::col_min

Smallest column in the group.

◆ col_sigma

float psalg1::Peak::col_sigma

Intensity-weighted rms of the column (0 for one pixel, a non-positive amp_tot or a non-positive variance).

◆ noise

float psalg1::Peak::noise

Background rms (RingAvgRms::rms) used for this peak.

◆ npix

float psalg1::Peak::npix

Number of pixels in the connected group.

◆ npos

float psalg1::Peak::npos

Set to 0 by _procPixGroupV1().

◆ row

float psalg1::Peak::row

Row of the group's first pixel, where the connected-pixel search started.

◆ row_cgrav

float psalg1::Peak::row_cgrav

Intensity-weighted mean row (the first pixel's row if amp_tot is not positive).

◆ row_max

float psalg1::Peak::row_max

Largest row in the group.

◆ row_min

float psalg1::Peak::row_min

Smallest row in the group.

◆ row_sigma

float psalg1::Peak::row_sigma

Intensity-weighted rms of the row (0 for one pixel, a non-positive amp_tot or a non-positive variance).

◆ seg

float psalg1::Peak::seg

Segment index of the finder (m_seg), set by _procPixGroupV1().

◆ son

float psalg1::Peak::son

amp_tot / (noise * sqrt(npix)), or 0 if that denominator is not positive.


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