00001 /*************************************************************************** 00002 * 00003 * $Id: StHbtMaker.h,v 1.8 2012/01/21 16:50:55 yyang Exp $ 00004 * 00005 * Author: Mike Lisa, Ohio State, lisa@mps.ohio-state.edu 00006 *************************************************************************** 00007 * 00008 * Description: part of STAR HBT Framework: StHbtMaker package 00009 * Maker class is the interface with root4star/Maker framework 00010 * 00011 *************************************************************************** 00012 * 00013 * $Log: StHbtMaker.h,v $ 00014 * Revision 1.8 2012/01/21 16:50:55 yyang 00015 * this is a test commit 00016 * 00017 * Revision 1.7 2003/09/10 19:47:19 perev 00018 * ansi corrs 00019 * 00020 * Revision 1.6 2003/09/07 03:49:02 perev 00021 * gcc 3.2 + WarnOff 00022 * 00023 * Revision 1.5 2001/09/05 20:40:42 laue 00024 * Updates of the hbtMuDstTree microDSTs 00025 * 00026 * Revision 1.4 2000/01/25 17:33:38 laue 00027 * I. In order to run the stand alone version of the StHbtMaker the following 00028 * changes have been done: 00029 * a) all ClassDefs and ClassImps have been put into #ifdef __ROOT__ statements 00030 * b) unnecessary includes of StMaker.h have been removed 00031 * c) the subdirectory StHbtMaker/doc/Make has been created including everything 00032 * needed for the stand alone version 00033 * 00034 * II. To reduce the amount of compiler warning 00035 * a) some variables have been type casted 00036 * b) some destructors have been declared as virtual 00037 * 00038 * Revision 1.3 1999/07/26 16:21:25 lisa 00039 * always convert string to char when output - needed on solaris 00040 * 00041 * Revision 1.2 1999/07/15 13:57:11 perev 00042 * cleanup 00043 * 00044 * Revision 1.1.1.1 1999/06/29 16:02:56 lisa 00045 * Installation of StHbtMaker 00046 * 00047 **************************************************************************/ 00048 00049 #ifndef StHbtMaker_HH 00050 #define StHbtMaker_HH 00051 00052 #ifdef __ROOT__ 00053 #ifndef StMaker_H 00054 #include "StMaker.h" 00055 #endif 00056 #else 00057 typedef int Int_t; 00058 #endif 00059 00060 #include "StHbtMaker/Infrastructure/StHbtManager.h" 00061 //class StHbtManager; 00062 00063 00064 class StHbtMaker 00065 #ifdef __ROOT__ 00066 : public StMaker 00067 #endif 00068 { 00069 00070 private: 00071 StHbtManager* mHbtManager; 00072 00073 int mDebug; 00074 public: 00075 StHbtMaker(const char* name = "StHbt", const char* title = "StHbtTit"); 00076 virtual ~StHbtMaker(); 00077 virtual void Clear(const char* opt=""); 00078 virtual Int_t Init(); 00079 virtual Int_t Make(); 00080 virtual Int_t Finish(); 00081 00082 int Debug() const; 00083 void SetDebug(int); 00084 00085 #ifdef __ROOT__ 00086 StMaker* currentChain; 00087 #endif 00088 // StHbtManager* HbtManager();//! tells cint to skip that 00089 StHbtManager* HbtManager(); 00090 00091 00092 virtual const char *GetCVS() const 00093 {static const char cvs[]="Tag $Name: $ $Id: StHbtMaker.h,v 1.8 2012/01/21 16:50:55 yyang Exp $ built "__DATE__" "__TIME__ ; return cvs;} 00094 #ifdef __ROOT__ 00095 ClassDef(StHbtMaker,0) 00096 #endif 00097 }; 00098 00099 inline StHbtManager* StHbtMaker::HbtManager(){return mHbtManager;} 00100 inline int StHbtMaker::Debug() const {return mDebug;} 00101 inline void StHbtMaker::SetDebug(int d){mDebug=d;} 00102 00103 //this is test comment for testing cvs commit 00104 00105 #endif
1.5.9