47 #ifndef ST_TPC_PAD_COORDINATE_HH
48 #define ST_TPC_PAD_COORDINATE_HH
53 StTpcPadCoordinate(
const Int_t sector = 0,
const Int_t row = 0,
const Float_t pad = 0,
const Float_t tb = 0) : mSector(sector), mRow(row), mPad(pad), mTimeBucket(tb) {}
55 Int_t operator==(
const StTpcPadCoordinate& p)
const {
return (p.mSector == mSector && p.mRow == mRow && p.mPad == mPad && p.mTimeBucket == mTimeBucket);}
58 Int_t sector()
const {
return mSector;}
59 Int_t row()
const {
return mRow;}
60 Float_t pad()
const {
return mPad;}
61 Float_t timeBucket()
const {
return mTimeBucket;}
62 Int_t sector() {
return mSector;}
63 Int_t row() {
return mRow;}
64 Float_t pad() {
return mPad;}
65 Float_t timeBucket() {
return mTimeBucket;}
67 void setSector(Int_t s) {mSector = s;}
68 void setRow(Int_t r) {mRow = r;}
69 void setPad(Float_t p) {mPad = p;}
70 void setTimeBucket(Float_t t) {mTimeBucket = t;}