LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
StatCollector.h File Reference

Classes gathering simple statistics. More...

#include <algorithm>
#include <array>
#include <cmath>
#include <initializer_list>
#include <iterator>
#include <limits>
#include <stdexcept>
#include <tuple>
#include <utility>

Go to the source code of this file.

Classes

struct  lar::util::identity
 A unary functor returning its own argument (any type) More...
 
class  lar::util::details::WeightTracker< W >
 
class  lar::util::details::DataTracker< PWR, T, W >
 Class tracking sums of variables up to a specified power. More...
 
class  lar::util::details::DataTracker2< T, W, PWR >
 Class tracking sums of variables up to power 2. More...
 
class  lar::util::details::DataTracker3< T, W, PWR >
 Class tracking sums of variables up to power 2. More...
 
class  lar::util::StatCollector< T, W >
 Collects statistics on a single quantity (weighted) More...
 
class  lar::util::StatCollector2D< T, W >
 Collects statistics on two homogeneous quantities (weighted) More...
 
class  lar::util::MinMaxCollector< T >
 Keeps track of the minimum and maximum value we observed. More...
 

Namespaces

 lar
 LArSoft-specific namespace.
 
 lar::util
 LArSoft utility namespace.
 
 lar::util::details
 LArSoft utility implementation details.
 

Detailed Description

Classes gathering simple statistics.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.fnal..nosp@m.gov)
Date
December 23rd, 2014

Currently includes:

  • MinMaxCollector to extract data range
  • StatCollector to extract simple statistics (average, RMS etc.)

Definition in file StatCollector.h.