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

Declares psalg1::PeakFinderAlgos, the std::vector-based (LCLS1-style) peak finder for 2-d images, with its Peak and RingAvgRms structures. More...

#include <string>
#include <vector>
#include <iostream>
#include <cstddef>
#include <cstring>
#include <cmath>
#include <typeinfo>
#include <iomanip>
#include "Types.hh"
#include "LocalExtrema.hh"

Classes

struct  psalg1::Peak
 Peak parameters. More...
 
struct  psalg1::RingAvgRms
 Structure to hold background algorithm results. More...
 
class  psalg1::PeakFinderAlgos
 PeakFinderAlgos - class contains collection of methods for peak finding algorithms of 2-d image. More...
 

Namespaces

namespace  psalg1
 LCLS1-style (std::vector based) version of the PeakFinderAlgos peak finder.
 

Typedefs

typedef types::mask_t psalg1::mask_t
 Alias for types::mask_t (uint16_t).
 
typedef types::extrim_t psalg1::extrim_t
 Alias for types::extrim_t (uint16_t).
 
typedef types::conmap_t psalg1::conmap_t
 Alias for types::conmap_t (uint32_t).
 
typedef types::TwoIndexes psalg1::TwoIndexes
 Alias for types::TwoIndexes.
 

Functions

std::ostream & psalg1::operator<< (std::ostream &os, const Peak &p)
 Stream insertion operator,.
 
std::ostream & psalg1::operator<< (std::ostream &os, const RingAvgRms &b)
 Write the background average, rms and pixel count of b to os and return os (defined in PeakFinderAlgosLCLS1.cc).
 

Detailed Description

Declares psalg1::PeakFinderAlgos, the std::vector-based (LCLS1-style) peak finder for 2-d images, with its Peak and RingAvgRms structures.