1 #ifndef St_tpcStatusC_h
2 #define St_tpcStatusC_h
5 #include "tables/St_tpcStatus_Table.h"
6 #include "St_tpcPadPlanesC.h"
10 tpcStatus_st *Struct(Int_t i = 0)
const {
return ((St_tpcStatus*) Table())->GetTable()+i;}
11 UInt_t getNumRows()
const {
return GetNRows();}
12 UChar_t* status(Int_t i = 0)
const {
return Struct(i)->status;}
13 UChar_t status(Int_t sector, Int_t row)
const {
return status()[St_tpcPadPlanesC::instance()->padRows()*(sector-1)+(row-1)];}
14 Bool_t isDead() {
return ((status()) && (status()[0]==0xff));}
20 ClassDefChair(St_tpcStatus, tpcStatus_st )