StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_svtRDOstrippedC.h
1 #ifndef St_svtRDOstrippedC_h
2 #define St_svtRDOstrippedC_h
3 #include "TChair.h"
4 #include "TArrayI.h"
5 #include "tables/St_svtRDOstripped_Table.h"
6 
7 class St_svtRDOstrippedC : public TChair {
8  public:
9  St_svtRDOstrippedC (St_svtRDOstripped *table=0);
10  virtual ~St_svtRDOstrippedC() {fgsvtRDOstrippedC = 0;}
11 
12  static St_svtRDOstrippedC *instance() {return fgsvtRDOstrippedC;}
13  Int_t svtRDOstrippedStatus(Int_t barrel, Int_t ladder, Int_t wafer);
14  svtRDOstripped_st *pRDO(Int_t barrel, Int_t ladder, Int_t wafer);
15  // 1 hour 3 hours
16  void SetDate(Int_t date, Int_t delay=3600, Int_t switchOff = 10800)
17  {fDate = date; fDelay = delay; fSwitchedOff = switchOff;}
18  static void PrintRDOmap();
19  void Init();
20  private:
21  Int_t fDate;
22  Int_t fDelay;
23  Int_t fSwitchedOff;
24  static St_svtRDOstrippedC *fgsvtRDOstrippedC;
25 
26  ClassDefChair(St_svtRDOstripped, svtRDOstripped_st )
27  ClassDef(St_svtRDOstrippedC,1) //C++ TChair for svtRDOstripped table class
28 };
29 #endif
Definition: TChair.h:27