00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef StHbtTagWriter_hh
00011 #define StHbtTagWriter_hh
00012
00013 #include "StHbtMaker/Infrastructure/StHbtTypes.hh"
00014 #include "HbtTag.h"
00015
00016 class StHbtTagWriter{
00017 public:
00018 static StHbtTagWriter* Instance();
00019 void Clear();
00020 void SetTag(const char*, unsigned char, float);
00021 float Tag(const char*, unsigned char);
00022
00023
00024 friend class StHbtTagMaker;
00025 protected:
00026 StHbtTagWriter();
00027 HbtTag_st mHbtTag;
00028 private:
00029 static StHbtTagWriter* _instance;
00030
00031
00032
00033 #ifdef __ROOT__
00034 ClassDef(StHbtTagWriter,0)
00035 #endif
00036
00037 };
00038
00039
00040 #endif