00001 #ifndef StMkDeb_h 00002 #define StMkDeb_h 00003 class TObject; 00004 class TObjArray; 00005 class StMaker; 00006 00007 class StMkDeb 00008 { 00009 public: 00010 StMkDeb(){}; 00011 ~StMkDeb(){}; 00012 static int Register (const TObject *mk); 00013 static int Register (StMaker *mk); 00014 static void Cancel(const TObject *mk); 00015 static void Cancel(StMaker *mk); 00016 static int SetCurrent(const TObject *mk,int kind=0); 00017 static int SetCurrent(const StMaker *mk,int kind=0); 00018 static void SetStage(int stage); 00019 static int GetCurrent(); 00020 static int SetCurrent(int curr); 00021 static int SetUser(TObject *us); 00022 static const char *GetUser(const TObject *us); 00023 static const char *GetName(int id); 00024 static void Pause(const char *tit=""); 00025 private: 00026 static void Ready(); 00027 00028 static int fgCurr; 00029 static int fgStage; 00030 static TObjArray *fgArr; 00031 }; 00032 00033 #endif