00001 #ifndef rHisto_h
00002 #define rHisto_h
00003
00004 #include "Event/optionVI.h"
00005
00006
00007 class rHisto : public optionVI
00008
00009 {
00010 public:
00011
00012 enum TYPE {H1,H2};
00013
00014 public:
00015
00017 rHisto(std::string typ, std::string name, std::string title,
00018 double nx, double x0,double xf,
00019 double ny=0, double y0=0, double yf=0);
00021 virtual ~rHisto(){};
00022
00024 virtual void book();
00025
00027 virtual void defineOption();
00028
00030 virtual void command(std::string com);
00031
00033 std::string histoName() const {return m_name;}
00034
00035 private:
00036
00037 enum TYPE m_type;
00038 std::string m_name;
00039 std::string m_title;
00040 double m_nx;
00041 double m_x0;
00042 double m_xf;
00043 double m_ny;
00044 double m_y0;
00045 double m_yf;
00046 };
00047 #endif