00001
00002
00003
00004 #ifndef STAR_StBemcTriggerDbThresholds
00005 #define STAR_StBemcTriggerDbThresholds
00006
00007 #include "StMessMgr.h"
00008 #include "TDatime.h"
00009
00010 class St_db_Maker;
00011
00012 class StBemcTriggerDbThresholds {
00013 private:
00014
00015 TDatime start_2006[6];
00016 TDatime start_2007[4];
00017 TDatime start_2008[6];
00018 TDatime start_2009[2];
00019 TDatime end_2006[6];
00020 TDatime end_2007[4];
00021 TDatime end_2008[6];
00022 TDatime end_2009[2];
00023
00024 public:
00025
00026 StBemcTriggerDbThresholds();
00027 virtual ~StBemcTriggerDbThresholds();
00028
00029 void LoadTimeStamps();
00030 Int_t GetHtFEEbitOffset(Int_t);
00031 Int_t GetHT_DSM0_threshold(Int_t, UInt_t, Int_t);
00032 Int_t GetJP_DSM1_threshold(Int_t, UInt_t, Int_t);
00033 Int_t GetTP_DSM0_threshold(Int_t, UInt_t, Int_t);
00034
00035
00036 ClassDef(StBemcTriggerDbThresholds, 1)
00037 };
00038
00039
00040 #endif