LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
StatCollector.h File Reference

Classes gathering simple statistics. More...

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

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.