Namespaces | Functions
UtilFunc.cxx File Reference
#include "UtilFunc.h"
#include "OpticalRecoException.h"
#include "larana/OpticalDetector/OpHitFinder/OpticalRecoTypes.h"
#include <algorithm>
#include <numeric>
#include <cmath>
#include "TH1D.h"

Go to the source code of this file.

Namespaces

 pmtana
 

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)
 
int pmtana::sign (double val)
 
double pmtana::BinnedMaxTH1D (const std::vector< double > &v, int bins)