All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
UtilFunc.h File Reference
#include "OpticalRecoTypes.h"
#include <cstddef>
#include <vector>

Go to the source code of this file.

Namespaces

 pmtana
 LArSoft libraries.
 

Functions

double pmtana::mean (const std::vector< short > &wf, size_t start, size_t nsample)
 
double pmtana::edge_aware_mean (const std::vector< short > &wf, int start, int end)
 
double pmtana::std (const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
 
double pmtana::BinnedMaxOccurrence (const PedestalMean_t &mean_v, const size_t nbins)
 
double pmtana::BinnedMaxTH1D (const std::vector< double > &v, int bins)
 
int pmtana::sign (double val)