1 #ifndef St_tpcAnodeHVC_h
2 #define St_tpcAnodeHVC_h
5 #include "tables/St_tpcAnodeHV_Table.h"
10 tpcAnodeHV_st *Struct(Int_t i = 0)
const {
return ((St_tpcAnodeHV*) Table())->GetTable()+i;}
11 UInt_t getNumRows()
const {
return GetNRows();}
12 UShort_t sector(Int_t i = 0)
const {
return Struct(i)->sector;}
13 UShort_t socket(Int_t i = 0)
const {
return Struct(i)->socket;}
14 Float_t voltage(Int_t i = 0)
const;
15 Bool_t livePadrow(Int_t sector = 1, Int_t padrow = 1)
const {
return voltagePadrow(sector,padrow) > 850; }
16 Float_t voltagePadrow(Int_t sector = 1, Int_t padrow = 1)
const ;
17 Bool_t tripped(Int_t sector = 1, Int_t padrow = 1)
const {
return (voltagePadrow(sector,padrow) < -100); }
18 static void sockets(Int_t sector, Int_t padrow, Int_t &e1, Int_t &e2, Float_t &f2);
24 ClassDefChair(St_tpcAnodeHV, tpcAnodeHV_st )