1 #ifndef St_pxlSensorStatusC_h
2 #define St_pxlSensorStatusC_h
5 #include "tables/St_pxlSensorStatus_Table.h"
6 #include "StPxlUtil/StPxlConstants.h"
11 pxlSensorStatus_st *Struct(Int_t i = 0)
const {
return ((St_pxlSensorStatus*) Table())->GetTable()+i;}
12 UInt_t getNumRows()
const {
return GetNRows();}
13 UChar_t* status(Int_t i = 0)
const {
return Struct(i)->status;}
14 Int_t
sensorStatus(Int_t sector, Int_t ladder, Int_t sensor)
const {
15 return status()[(sector - 1) * kNumberOfPxlLaddersPerSector * kNumberOfPxlSensorsPerLadder + (ladder - 1) * kNumberOfPxlSensorsPerLadder + (sensor - 1)];
22 ClassDefChair(St_pxlSensorStatus, pxlSensorStatus_st )
Int_t sensorStatus(Int_t sector, Int_t ladder, Int_t sensor) const