10 #define STSSDCONFIG_HH
12 #define MaxNumberOfLadders 20
17 class ssdConfiguration_st;
29 int getNumberOfLadders() {
return mNumberOfLadders;}
30 int getNumberOfWafers() {
return mNumberOfWafers;}
31 int getNumberOfHybrids() {
return mNumberOfHybrids;}
32 int getTotalNumberOfLadders() {
return mTotalNumberOfLadders;}
33 int getTotalNumberOfHybrids() {
return mTotalNumberOfHybrids;}
34 int getNumberOfStrips() {
return mNumberOfStrips;}
36 void setNumberOfLadders(
int ladders){mNumberOfLadders = ladders;}
37 void setNumberOfWafers(
int wafers) {mNumberOfWafers = wafers;}
38 void setNumberOfHybrids(
int hybrids) {mNumberOfHybrids = hybrids;}
39 void setTotalNumberOfHybrids(
int hybrids) {mTotalNumberOfHybrids = hybrids;}
40 void setTotalNumberOfLadders(
int totladders) {mTotalNumberOfLadders = totladders;}
41 void setNumberOfStrips(
int strips) {mNumberOfStrips = strips;}
43 void setConfiguration();
44 void setConfiguration(
const char* config);
46 void setLadderIsActive(
int ladder,
int status){mStatus[ladder-1] = status;}
47 int getLadderIsActive(
int ladder){
return mStatus[ladder-1];}
49 const char* getConfiguration();
52 int mStatus[MaxNumberOfLadders];
57 int mTotalNumberOfLadders;
58 int mTotalNumberOfHybrids;