1 #ifndef St_tpcAnodeHVavgC_h
2 #define St_tpcAnodeHVavgC_h
5 #include "tables/St_tpcAnodeHVavg_Table.h"
10 tpcAnodeHVavg_st *Struct(Int_t i = 0)
const {
return ((St_tpcAnodeHVavg*) 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 Float_t rms(Int_t i = 0)
const {
return Struct(i)->rms;}
16 Int_t numentries(Int_t i = 0)
const {
return Struct(i)->numentries;}
17 Int_t numoutliers(Int_t i = 0)
const {
return Struct(i)->numoutliers;}
18 Bool_t livePadrow(Int_t sec = 1, Int_t padrow = 1)
const {
return voltagePadrow(sec,padrow) > 850; }
19 Float_t voltagePadrow(Int_t sec = 1, Int_t padrow = 1)
const;
20 Bool_t tripped(Int_t sec = 1, Int_t padrow = 1)
const;
26 ClassDefChair(St_tpcAnodeHVavg, tpcAnodeHVavg_st )