#include #include #include "eventDisplay.h" class TGWindow; class TGMainFrame; class TRootEmbeddedCanvas; class MyMainFrame { RQ_OBJECT("MyMainFrame") private: TGMainFrame *fMain; TRootEmbeddedCanvas *fEcanvas; eventDisplay ed; TCanvas* fCanvas; public: MyMainFrame(const TGWindow *p,UInt_t w,UInt_t h); virtual ~MyMainFrame(); void DoDraw(); void DoZoomIn(); void DoZoomOut(); void DoPanXP(); void DoPanXM(); void DoPanYP(); void DoPanYM(); void DoPanZP(); void DoPanZM(); }; void readAndDraw(void);