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

rHistoServer.h

Go to the documentation of this file.
00001 #ifndef rHistoServer_h
00002 #define rHistoServer_h
00003 
00004 #include "Event/rHisto.h"
00005 #include "Event/serverVI.h"
00006 #include "Event/optionServer.h"
00007 
00008 //#############################
00009 class rHistoServer 
00010 //#############################
00011 {
00012 public:
00013 
00015         rHistoServer();
00017         ~rHistoServer();
00018 
00020         void setBookOptionFile(std::string name) {m_optServer->setOptionFileName(name);}
00021 
00023         void addHisto(rHisto* histo);
00025         void newHisto(std::string typ, std::string name, std::string title,
00026                 double nx, double x0,double xf,
00027                 double ny=0, double y0=0, double yf=0);
00028 
00029 
00031         void redefine() {m_optServer->setOption();}
00032 
00034         void book() {m_histos->command("book");}
00035 
00036 private:
00037 
00039         optionServer* m_optServer;
00041         serverVI<rHisto>* m_histos;
00042 };
00043 #endif

Generated at Fri Aug 18 12:57:38 2000 for centella framework by doxygen 1.1.3 written by Dimitri van Heesch, © 1997-2000