QGuiHistogram.hh

Go to the documentation of this file.
00001 #ifndef _QGUIHISTOGRAM_HH_
00002 #define _QGUIHISTOGRAM_HH_
00003 
00010 #include <vector>
00011 #include "QGuiSessionItem.hh"
00012 
00013 class QGuiHistogram : public QGuiSessionItem
00014 {
00015     public:
00017         ~QGuiHistogram();
00019         void SetXVariable(const std::string& x) {fXVariable = x;}
00021         void SetXMin(double xmin);
00023         void SetXMax(double xmax);
00025         void SetNumberOfBins(int nbins);
00027         void SetBinWidth(double width);
00029         void SetCut(const std::string& cut) {fCuts.push_back(cut);}
00030         
00031     private:
00033         QGuiHistogram();
00035         std::string Dump() const;
00037         std::string fXVariable;
00039         std::string fXMin;
00041         std::string fXMax;
00043         std::string fNumberOfBins;
00045         std::string fBinWidth;
00047         std::vector<std::string> fCuts;
00048         
00049     friend class QGuiSession;
00050 };
00051 
00052 #endif

Generated on Tue Nov 16 10:49:57 2010 for CUORE Software by  doxygen 1.5.6