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

XANAGraph.h

Go to the documentation of this file.
00001 #ifndef XANAGraph_H
00002 #define XANAGraph_H
00003 
00004 #include <TString.h>
00005 #include <TGraph.h>
00006 #include <TObject.h>
00007 
00008 class XANAGraph : public TGraph {
00009   private :
00010     TString  fDrawOption;
00011   
00012   public:
00013   XANAGraph();    
00014   XANAGraph(const char *name,Int_t n,Float_t *x,Float_t *y,Option_t *opt);
00015   XANAGraph(const char *name,Int_t n,Double_t *x,Double_t *y,Option_t *opt);
00016   ~XANAGraph() {;}
00017   
00018    void          Draw(Option_t *opt=""); 
00019    Option_t     *GetGKSOption() const {return fDrawOption.Data();}
00020    //Override TGraph method 
00021    virtual void  ExecuteEvent(Int_t event,Int_t px,Int_t py) {;} //Override TGraph method
00022    
00023   ClassDef(XANAGraph,0) //Class to draw 2D  (is a TGraph)
00024 };
00025 #endif

Generated on Tue May 10 10:01:24 2005 for XANADOO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002