00001
00002
00003
00004
00005
00006
00007
00009
00010
00011
00012
00013
00015
00016
00017 #ifndef StHbtTagMaker_H
00018 #define StHbtTagMaker_H
00019 #include <Stiostream.h>
00020
00021 #include "StMaker.h"
00022 #include "tables/St_HbtTag_Table.h"
00023 #include "StHbtMaker/Infrastructure/StHbtTagWriter.hh"
00024
00025 class StHbtEvent;
00026 class TH1F;
00027 class TH1D;
00028 class TProfile;
00029
00030 class StHbtTagMaker
00031 #ifdef __ROOT__
00032 : public StMaker
00033 #endif
00034 {
00035
00036 public:
00037
00038 StHbtTagMaker(const Char_t* name = "HbtTag");
00039 virtual ~StHbtTagMaker();
00040
00041 Int_t Init();
00042 void Clear(Option_t* opt="");
00043 Int_t Make();
00044 void PrintInfo();
00045 void SetTagWriter(const StHbtTagWriter* tagWriter);
00046 void SetShowTags(const int i=1);
00047 StHbtTagWriter* TagWriter() const;
00048 Int_t Finish();
00049 HbtTag_st* TagPointer() const;
00050 void Fill(StHbtTagWriter*);
00051 private:
00052
00053 void PrintTag(ostream& = cout);
00054
00055 int mShowTags;
00056 St_HbtTag* mSt_HbtTag;
00057 HbtTag_st* mHbtTag;
00058 StHbtTagWriter* mTagWriter;
00059
00060
00061 #ifdef __ROOT__
00062 ClassDef(StHbtTagMaker, 0)
00063 #endif
00064 };
00065
00066
00067 inline StHbtTagWriter* StHbtTagMaker::TagWriter() const {return mTagWriter;}
00068 inline HbtTag_st* StHbtTagMaker::TagPointer() const { return mHbtTag; }
00069 inline void StHbtTagMaker::SetShowTags(const int i) { mShowTags=i; }
00070
00071 #endif