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

Declares psalgos::PeakFinderAlgos (droplet-style peak finding in 2-d images with allocator-backed arrays) and its Peak and RingAvgRms result structures. More...

#include <string>
#include <vector>
#include <iostream>
#include <cstddef>
#include <cstring>
#include <cmath>
#include <typeinfo>
#include <iomanip>
#include <chrono>
#include "Types.hh"
#include "LocalExtrema.hh"
#include "psalg/alloc/Allocator.hh"
#include "psalg/alloc/AllocArray.hh"

Classes

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

Namespaces

namespace  psalgos
 Waveform and peak-finding algorithms of psana (constant-fraction discrimination, PeakFinderAlgos, ...).
 

Typedefs

typedef std::chrono::high_resolution_clock Clock
 Global alias for std::chrono::high_resolution_clock.
 
typedef types::mask_t psalgos::mask_t
 Alias for types::mask_t (uint16_t).
 
typedef types::extrim_t psalgos::extrim_t
 Alias for types::extrim_t (uint16_t).
 
typedef types::conmap_t psalgos::conmap_t
 Alias for types::conmap_t (uint32_t).
 
typedef types::TwoIndexes psalgos::TwoIndexes
 Alias for types::TwoIndexes.
 

Functions

std::ostream & psalgos::operator<< (std::ostream &os, const Peak &p)
 Stream insertion operator,.
 
std::ostream & psalgos::operator<< (std::ostream &os, const RingAvgRms &b)
 Write " Bkgd avg:", " RMS:" and " Npix:" with the values of b to os, and return os.
 

Detailed Description

Declares psalgos::PeakFinderAlgos (droplet-style peak finding in 2-d images with allocator-backed arrays) and its Peak and RingAvgRms result structures.

Typedef Documentation

◆ Clock

typedef std::chrono::high_resolution_clock Clock

Global alias for std::chrono::high_resolution_clock.