#ifndef _HDV_ENDVIEWAFRAME_H_ #define _HDV_ENDVIEWAFRAME_H_ // This class is made into a ROOT dictionary ala rootcint. // Therefore, do NOT include anything Hall-D specific here. // It is OK to do that in the .cc file, just not here in the // header. #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include class hdv_mainframe; #if !(defined(__CINT__) || defined(__CLING__)) #include "hdv_mainframe.h" #endif class hdv_endviewAframe:public TGMainFrame { public: hdv_endviewAframe(hdv_mainframe *hdvmf, const TGWindow *p, UInt_t w, UInt_t h); virtual ~hdv_endviewAframe(){}; void DoDismiss(void); void SetRange(double xlo, double ylo, double xhi, double yhi); void DrawObjects(vector &graphics_endA); private: hdv_mainframe *hdvmf; TRootEmbeddedCanvas *ecanvas; ClassDef(hdv_endviewAframe,1) }; // The following line is supposed to avoid the warning messages about: // "dereferencing type-punned pointer will break strict-aliasing rules" #ifdef __CINT__ #pragma link C++ class hdv_endviewAframe+; #endif #endif //_HDV_ENDVIEWAFRAME_H_