40 #ifndef ST_SVT_WAFER_COORDINATE_HH
41 #define ST_SVT_WAFER_COORDINATE_HH
58 const int barrel()
const;
59 const int layer()
const;
60 const int ladder()
const;
61 const int wafer()
const;
62 const int hybrid()
const;
63 const double anode()
const;
64 const double timebucket()
const;
70 void setAnode(
double);
71 void setTimeBucket(
double);
82 const inline int StSvtWaferCoordinate::barrel()
83 const {
return(((mLayer-1)/2)+1);}
84 const inline int StSvtWaferCoordinate::layer()
const {
return(mLayer);}
85 const inline int StSvtWaferCoordinate::ladder()
const {
return(mLadder);}
86 const inline int StSvtWaferCoordinate::wafer()
const {
return(mWafer);}
87 const inline int StSvtWaferCoordinate::hybrid()
const {
return(mHybrid);}
88 const inline double StSvtWaferCoordinate::anode()
const {
return(mAnode);}
89 const inline double StSvtWaferCoordinate::timebucket()
const {
return(mTimeBucket);}
90 inline void StSvtWaferCoordinate::setLayer(
int l) {mLayer = l;}
91 inline void StSvtWaferCoordinate::setLadder(
int d) {mLadder = d;}
92 inline void StSvtWaferCoordinate::setWafer(
int w) {mWafer = w;}
93 inline void StSvtWaferCoordinate::setHybrid(
int h) {mHybrid = h;}
94 inline void StSvtWaferCoordinate::setAnode(
double a) {mAnode = a;}
95 inline void StSvtWaferCoordinate::setTimeBucket(
double t) {mTimeBucket = t;}