Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

RebinHist.h

Go to the documentation of this file.
00001 // RebinHist.h
00002 
00003 #ifndef REBINHIST_H
00004 #define REBINHIST_H
00005 
00006 #include "analysis/Histogram.h"
00007 
00008 #include <vector>
00009 
00010 class RebinHist : public Histogram {
00011 public:
00012     RebinHist(const char * title="default", double from=0, double to=1, double step=0.1);
00013     void rebin(double from=0, double to=1, double step=0.1);
00014     void fill(double d);
00015     double percentile(double level); // value of entry
00016 private:
00017     typedef std::vector<float> FloatList;
00018     FloatList m_data;
00019 };
00020 
00021 #endif

Generated at Wed Nov 21 12:20:52 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000