1 #ifndef _utl_TimeDistributionAlgorithm_h_
2 #define _utl_TimeDistributionAlgorithm_h_
12 #include <utl/TimeDistribution-fwd.h>
13 #include <utl/AugerException.h>
14 #include <boost/tuple/tuple.hpp>
31 typedef boost::tuple<double, double>
TupleD;
static double RMS(const TimeDistribution< T > &td, const int bin1, const int bin2)
Evalueate RMS of TimeDistribution between bin1 and bin2.
boost::tuple< double, double > TupleD
Histogram class for time distributions with suppressed empty bins.
static TupleD MeanRMS(const TimeDistribution< T > &td, const int bin1, const int bin2)
Evalueate both mean and RMS of TimeDistribution between bin1 and bin2.
Utility class for returning properties of a TimeDistribution.
static double Centroid(const TimeDistribution< T > &td, const int bin1, const int bin2)
Evaluate the centroid in slot number between bin1 and bin2.
static double Sum(const TimeDistribution< T > &td, const int bin1, const int bin2)
Evaluate the sum of bin1 through bin2.
static double Mean(const TimeDistribution< T > &td, const int bin1, const int bin2)
Evaluate mean of TimeDistribution between bin1 and bin2.