mist-hep 0.1.0
ROOT-backed analysis helpers built on mist
Loading...
Searching...
No Matches
waveform.h File Reference
#include <cmath>
#include <cstddef>
#include <limits>
#include <utility>
#include <vector>
#include <TGraph.h>
#include <mist/hep/owned.h>
Include dependency graph for waveform.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mist::hep::signal::peak
 

Namespaces

namespace  mist
 
namespace  mist::hep
 
namespace  mist::hep::signal
 

Functions

double mist::hep::signal::amplitude (const TGraph &g, double tmin, double tmax)
 
std::pair< double, double > mist::hep::signal::extremum (const TGraph &g, bool find_min=false, double min_x=0.0, double max_x=0.0)
 
std::vector< double > mist::hep::signal::threshold_crossings (const TGraph &g, double threshold, double direction=1.0)
 
std::pair< double, double > mist::hep::signal::first_above (const TGraph &g, double threshold, bool negative=false)
 
std::pair< double, double > mist::hep::signal::last_above (const TGraph &g, double threshold, bool negative=false)
 
owned::root_ptr< TGraph > mist::hep::signal::maximum_filter (const TGraph &g, std::size_t block_size)
 
owned::root_ptr< TGraph > mist::hep::signal::gaussian_filter (const TGraph &g, std::size_t window, double sigma)
 
double mist::hep::signal::integrate (const TGraph &g, double min_x, double max_x, int power=1, bool use_bin_width=false)
 
std::vector< peakmist::hep::signal::find_peaks (const TGraph &g, double min_prominence, int half_window=10, bool negative=false)