StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StHbtMaker.h
1 /***************************************************************************
2  *
3  * $Id: StHbtMaker.h,v 1.9 2014/08/06 11:43:19 jeromel Exp $
4  *
5  * Author: Mike Lisa, Ohio State, lisa@mps.ohio-state.edu
6  ***************************************************************************
7  *
8  * Description: part of STAR HBT Framework: StHbtMaker package
9  * Maker class is the interface with root4star/Maker framework
10  *
11  ***************************************************************************
12  *
13  * $Log: StHbtMaker.h,v $
14  * Revision 1.9 2014/08/06 11:43:19 jeromel
15  * Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes
16  *
17  * Revision 1.8 2012/01/21 16:50:55 yyang
18  * this is a test commit
19  *
20  * Revision 1.7 2003/09/10 19:47:19 perev
21  * ansi corrs
22  *
23  * Revision 1.6 2003/09/07 03:49:02 perev
24  * gcc 3.2 + WarnOff
25  *
26  * Revision 1.5 2001/09/05 20:40:42 laue
27  * Updates of the hbtMuDstTree microDSTs
28  *
29  * Revision 1.4 2000/01/25 17:33:38 laue
30  * I. In order to run the stand alone version of the StHbtMaker the following
31  * changes have been done:
32  * a) all ClassDefs and ClassImps have been put into #ifdef __ROOT__ statements
33  * b) unnecessary includes of StMaker.h have been removed
34  * c) the subdirectory StHbtMaker/doc/Make has been created including everything
35  * needed for the stand alone version
36  *
37  * II. To reduce the amount of compiler warning
38  * a) some variables have been type casted
39  * b) some destructors have been declared as virtual
40  *
41  * Revision 1.3 1999/07/26 16:21:25 lisa
42  * always convert string to char when output - needed on solaris
43  *
44  * Revision 1.2 1999/07/15 13:57:11 perev
45  * cleanup
46  *
47  * Revision 1.1.1.1 1999/06/29 16:02:56 lisa
48  * Installation of StHbtMaker
49  *
50  **************************************************************************/
51 
52 #ifndef StHbtMaker_HH
53 #define StHbtMaker_HH
54 
55 #ifdef __ROOT__
56 #ifndef StMaker_H
57 #include "StMaker.h"
58 #endif
59 #else
60 typedef int Int_t;
61 #endif
62 
63 #include "StHbtMaker/Infrastructure/StHbtManager.h"
64 //class StHbtManager;
65 
66 
68 #ifdef __ROOT__
69 : public StMaker
70 #endif
71 {
72 
73  private:
74  StHbtManager* mHbtManager;
75 
76  int mDebug;
77  public:
78  StHbtMaker(const char* name = "StHbt", const char* title = "StHbtTit");
79  virtual ~StHbtMaker();
80  virtual void Clear(const char* opt="");
81  virtual Int_t Init();
82  virtual Int_t Make();
83  virtual Int_t Finish();
84 
85  int Debug() const;
86  void SetDebug(int);
87 
88 #ifdef __ROOT__
89  StMaker* currentChain;
90 #endif
91  // StHbtManager* HbtManager();//! tells cint to skip that
92  StHbtManager* HbtManager();
93 
94 
95  virtual const char *GetCVS() const
96  {static const char cvs[]="Tag $Name: $ $Id: StHbtMaker.h,v 1.9 2014/08/06 11:43:19 jeromel Exp $ built " __DATE__ " " __TIME__ ; return cvs;}
97 #ifdef __ROOT__
98  ClassDef(StHbtMaker,0)
99 #endif
100 };
101 
102 inline StHbtManager* StHbtMaker::HbtManager(){return mHbtManager;}
103 inline int StHbtMaker::Debug() const {return mDebug;}
104 inline void StHbtMaker::SetDebug(int d){mDebug=d;}
105 
106 //this is test comment for testing cvs commit
107 
108 #endif