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

Structure to hold background algorithm results. More...

#include <PeakFinderAlgosLCLS1.hh>

Public Member Functions

 RingAvgRms (const double &av=0, const double &rm=0, const unsigned &np=0)
 Set avg, rms and npx to av, rm and np (all default 0).
 
 RingAvgRms (const RingAvgRms &o)
 Copy avg, rms and npx from o.
 
RingAvgRms & operator= (const RingAvgRms &rhs)
 Copy avg, rms and npx from rhs.
 

Public Attributes

double avg
 Average intensity in the ring (per the trailing comment).
 
double rms
 RMS of the intensity in the ring (per the trailing comment).
 
unsigned npx
 Number of pixels used (per the trailing comment).
 

Detailed Description

Structure to hold background algorithm results.

Constructor & Destructor Documentation

◆ RingAvgRms() [1/2]

psalg1::RingAvgRms::RingAvgRms ( const double &  av = 0,
const double &  rm = 0,
const unsigned &  np = 0 
)
inline

Set avg, rms and npx to av, rm and np (all default 0).

◆ RingAvgRms() [2/2]

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

Copy avg, rms and npx from o.

Member Function Documentation

◆ operator=()

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

Copy avg, rms and npx from rhs.

Returns
*this.

Member Data Documentation

◆ avg

double psalg1::RingAvgRms::avg

Average intensity in the ring (per the trailing comment).

◆ npx

unsigned psalg1::RingAvgRms::npx

Number of pixels used (per the trailing comment).

◆ rms

double psalg1::RingAvgRms::rms

RMS of the intensity in the ring (per the trailing comment).


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