16 add(static_cast<float>(x), static_cast<float>(e));
22 add(static_cast<float>(x), -1.);
30 float wt = 1. /
sqrt(e);
52 float t = xx_ / s_ - m *
m;
62 if (!median_.empty()) {
63 sort(median_.begin(), median_.end());
64 uint16_t
index = median_.size() % 2 ? median_.size() / 2 : median_.size() / 2 - 1;
66 params.
max_ = median_.back();
67 params.
min_ = median_.front();
71 std::map<uint32_t, uint32_t>::const_iterator imap = mode_.begin();
72 for (; imap != mode_.end(); imap++) {
73 if (imap->second > max) {
75 params.
mode_ = imap->first;
void add(const float &value, const float &weight)
uint16_t const *__restrict__ x
void add(std::map< std::string, TH1 * > &h, TH1 *hist)