StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_starTriggerDelayC.h
1 #ifndef St_starTriggerDelayC_h
2 #define St_starTriggerDelayC_h
3 
4 #include "TChair.h"
5 #include "tables/St_starTriggerDelay_Table.h"
6 
7 class St_starTriggerDelayC : public TChair {
8  public:
9  static St_starTriggerDelayC* instance();
10  starTriggerDelay_st *Struct(Int_t i = 0) const {return ((St_starTriggerDelay*) Table())->GetTable()+i;}
11  UInt_t getNumRows() const {return GetNRows();}
12  Float_t clocks(Int_t i = 0) const {return Struct(i)->clocks;}
13  Float_t tZero(Int_t i = 0) const {return Struct(i)->tZero;}
14  Float_t TrigT0(Int_t i = 0) const; // usec
15  Float_t TrigT0GG(Int_t io = 0, Int_t i = 0) const; // usec add cables
16  protected:
17  St_starTriggerDelayC(St_starTriggerDelay *table=0) : TChair(table) {}
18  virtual ~St_starTriggerDelayC() {if (Table()->IsMarked()) delete GetThisTable(); fgInstance = 0;}
19  private:
20  static St_starTriggerDelayC* fgInstance;
21  ClassDefChair(St_starTriggerDelay, starTriggerDelay_st )
22  ClassDef(St_starTriggerDelayC,1) //C++ TChair for starTriggerDelay table class
23 };
24 #endif
Definition: TChair.h:27