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

XANAPad.h

Go to the documentation of this file.
00001 #ifndef XANAPad_h
00002 #define XANAPad_h
00003 
00004 #include <TPad.h>
00005 
00006 const Int_t kMAXZOOMS = 10;
00007  
00008 class XANAPad : public TPad {
00009  public:
00010   XANAPad(){;}
00011   XANAPad(const char* name, const char* title, Double_t xlow, Double_t ylow,Double_t xup, Double_t yup); 
00012  ~XANAPad(){;}
00013  
00014  virtual Int_t  DistancetoPrimitive(Int_t px, Int_t py); //keep this synthax:override TPad method
00015  virtual void   ExecuteEvent(Int_t event, Int_t px, Int_t py);//keep this synthax:override TPad method
00016 
00017  Bool_t zoom_; 
00018 private:
00019   Double_t       zoomX0_[kMAXZOOMS];       //Low x range of zoom 
00020   Double_t       zoomY0_[kMAXZOOMS];       //Low y range of zoom 
00021   Double_t       zoomX1_[kMAXZOOMS];       //High x range of zoom 
00022   Double_t       zoomY1_[kMAXZOOMS];       //High y range of zoom 
00023   Int_t          zoomNb_;                  // Number of zooms 
00024   
00025    
00026   
00027  ClassDef(XANAPad,0)     // XanaPad 
00028 };
00029 #endif
00030 

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