Go to the documentation of this file.
4 #ifndef tools_histo_dps
5 #define tools_histo_dps
21 static const std::string& s_class() {
22 static const std::string s_v(
"tools::histo::measurement");
28 mem::increment(s_class().c_str());
31 measurement(
double a_value,
double a_error_plus,
double a_error_minus)
37 mem::increment(s_class().c_str());
42 mem::decrement(s_class().c_str());
52 mem::increment(s_class().c_str());
56 if(&a_from==
this)
return *
this;
76 static const std::string& s_class() {
77 static const std::string s_v(
"tools::histo::data_point");
83 mem::increment(s_class().c_str());
88 mem::decrement(s_class().c_str());
96 mem::increment(s_class().c_str());
100 if(&a_from==
this)
return *
this;
122 static const std::string s_v(
"tools::histo::dps");
128 dps(
const std::string& a_title,
unsigned int a_dim)
139 if(&a_from==
this)
return *
this;
172 std::vector<data_point>::iterator it =
m_points.begin();
185 std::vector<data_point>::const_iterator it =
m_points.begin();
186 a_value = (*it).coordinate(a_coord).value();
189 a_value = mn<double>(a_value,(*it).coordinate(a_coord).value());
199 std::vector<data_point>::const_iterator it =
m_points.begin();
200 a_value = (*it).coordinate(a_coord).value();
203 a_value = mx<double>(a_value,(*it).coordinate(a_coord).value());
209 std::vector<data_point>::iterator it;
211 for(
unsigned int coord=0;coord<
m_dim;coord++) {
221 std::vector<data_point>::iterator it;
223 for(
unsigned int coord=0;coord<
m_dim;coord++) {
231 std::vector<data_point>::iterator it;
233 for(
unsigned int coord=0;coord<
m_dim;coord++) {