00001
00002
00003 #ifndef StTriggerThreshold_h
00004 #define StTriggerThreshold_h
00005
00006 #include <cstdio>
00007 #include "TObject.h"
00008 #include "TString.h"
00009
00010 struct StTriggerThreshold : public TObject {
00011 Int_t object;
00012 Int_t index;
00013 Int_t reg;
00014 TString label;
00015 Int_t value;
00016 Int_t defaultvalue;
00017
00018 void print();
00019
00020 ClassDef(StTriggerThreshold,1)
00021 };
00022
00023 inline void StTriggerThreshold::print()
00024 {
00025 printf("object=%d index=%d reg=%d label=%s value=%d defaultvalue=%d\n",
00026 object,index,reg,label.Data(),value,defaultvalue);
00027 }
00028
00029 #endif // StTriggerThreshold_h