#ifndef _HDV_DEBUGERFRAME_H_ #define _HDV_DEBUGERFRAME_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 #include class hdv_mainframe; class DKinematicData; class DTrackWireBased; class DTrackTimeBased; #if !(defined(__CINT__) || defined(__CLING__)) #include "hdv_mainframe.h" #include #include #include #endif #define MaxWireTracks 21 #define MaxTimeTracks 21 class hdv_debugerframe:public TGMainFrame { public: hdv_debugerframe(hdv_mainframe *hdvmf, const TGWindow *p, UInt_t w, UInt_t h); virtual ~hdv_debugerframe(){}; void DoDone(void); void UpdateTrackLabels(); TGHorizontalFrame *topframe; TGHorizontalFrame *mid1frame; TGHorizontalFrame *mid2frame; TGHorizontalFrame *botframe; TGGroupFrame *hitdrawopts ; TGGroupFrame *hitdrawoptsWB ; TGGroupFrame *hitdrawoptsTB ; TGGroupFrame *trackinfo; TGGroupFrame *trackinfoWB ; TGGroupFrame *trackinfoTB ; TGTextButton *done ; Int_t GetNTrCand(void) {return NTrCand;} Int_t GetNTrWB(void) {return NTrWireBased;} Int_t GetNTrTB(void) {return NTrTimeBased;} void SetNTrCand(Int_t d) { NTrCand = d;} void SetNTrTimeBased(Int_t d) { NTrTimeBased = d;} void SetNTrWireBased(Int_t d) { NTrWireBased = d;} void SetTrackCandidates(vector d) {TrackCandidates=d;} void SetTrackWireBased(vector d) {subTrackWireBased=d;} void SetTrackTimeBased(vector d) {subTrackTimeBased=d;} void SetUpMid1Frame(); void SetUpMid2Frame(); private: Int_t InitMid1Frame; Int_t InitMid2Frame; Int_t NTrCand; Int_t NTrTimeBased; Int_t NTrWireBased; vector TrackCandidates; vector subTrackWireBased; vector subTrackTimeBased; map tf; map > candlabs; map tfWB; map > wblabs; map tfTB; map > tblabs; hdv_mainframe *hdvmf; map checkbuttons; ClassDef(hdv_debugerframe,1) }; // The following line is supposed to avoid the warning messages about: // "dereferencing type-punned pointer will break strict-aliasing rules" #if (defined(__CINT__) || defined(__CLING__)) #pragma link C++ class hdv_debugerframe+; #endif #endif //_HDV_DEBUGERFRAME_H_