1 #ifndef larana_OPTICALDETECTOR_UTILFUNC_H 2 #define larana_OPTICALDETECTOR_UTILFUNC_H 11 double mean(
const std::vector<short>& wf,
size_t start=0,
size_t nsample=0);
15 double std(
const std::vector<short>& wf,
const double ped_mean,
size_t start=0,
size_t nsample=0);
end
while True: pbar.update(maxval-len(onlies[E][S])) #print iS, "/", len(onlies[E][S]) found = False for...
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
double BinnedMaxOccurrence(const PedestalMean_t &mean_v, const size_t nbins)
double edge_aware_mean(const std::vector< short > &wf, int start, int end)
double mean(const std::vector< short > &wf, size_t start, size_t nsample)
std::vector< double > PedestalMean_t
double BinnedMaxTH1D(const std::vector< double > &v, int bins)