15 #include "msdevstudio/MSconfig.h"
33 using namespace hippodraw;
35 #ifdef ITERATOR_MEMBER_DEFECT
38 using std::accumulate;
49 m_y_label (
"Density" ),
66 m_y_label ( projector.m_y_label ),
67 m_bin_num ( projector.m_bin_num ),
68 m_start_num ( projector.m_start_num )
124 namespace dp = hippodraw::DataPoint2DTuple;
155 unsigned int columns = 4;
158 vector < string > labels;
159 labels.push_back (
"X" );
160 labels.push_back (
"Value" );
183 vector < double > col =
m_ntuple -> getColumn ( x_col );
184 std::sort(col.begin(), col.end());
188 for (
unsigned int i = 0; i <
m_bin_num; i++ ) {
195 if (i==m_bin_num-1) row[
dp::XERR] = col[size-1]-col[k];
198 while ((row[
dp::XERR]==0) && (i!=m_bin_num-1)) {
202 if ( i==m_bin_num-1 ) row[
dp::XERR] = col[size-1]-col[k];
218 ntuple -> addRow (row);
276 return Range ( 0.0, 1.0, 0.5 );
280 return Range ( values );