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
00021 virtual void ExecuteEvent(Int_t event,Int_t px,Int_t py) {;}
00022
00023 ClassDef(XANAGraph,0)
00024 };
00025 #endif