6 #define NOT_STORED_VAL -999999.9 23 _keepOrderedEvents(keepOrderedEvents)
35 ERROR_LOG <<
"You need to keep ordered events to calculate this value";
47 INFO_LOG <<
"You have used weighted events. This may make this function meaningless";
62 if (nEntries % 2 == 0){
63 int lowi = (nEntries/2) - 1;
64 int highi = (nEntries/2);
78 ERROR_LOG <<
"You are not storing the correct information to calculate this value. Consider changing the constuctor";
199 #undef NOT_STORED_VAL void warnIfWeightedEvents() const
double fourthCentralMom() const
std::vector< double > _orderedEvents
double secondCentralMom() const
void add(const double &x, const double &weight=1.0)
virtual ~StatisticsFinder()
double widthError() const
StatisticsFinder(bool mean=1, bool width=1, bool widthError=1, bool keepOrderedEvents=0)
bool needOrderedEvents() const
bool notEnoughInformation(const double &val) const