16 #ifndef STSSTCONFIG_HH
17 #define STSSTCONFIG_HH
19 #define MaxNumberOfLadders 20
21 #include "St_base/StObject.h"
24 class ssdConfiguration_st;
36 int getNumberOfLadders() {
return mNumberOfLadders;}
37 int getNumberOfWafers() {
return mNumberOfWafers;}
38 int getNumberOfHybrids() {
return mNumberOfHybrids;}
39 int getTotalNumberOfLadders() {
return mTotalNumberOfLadders;}
40 int getTotalNumberOfHybrids() {
return mTotalNumberOfHybrids;}
41 int getNumberOfStrips() {
return mNumberOfStrips;}
43 void setNumberOfLadders(
int ladders){mNumberOfLadders = ladders;}
44 void setNumberOfWafers(
int wafers) {mNumberOfWafers = wafers;}
45 void setNumberOfHybrids(
int hybrids) {mNumberOfHybrids = hybrids;}
46 void setTotalNumberOfHybrids(
int hybrids) {mTotalNumberOfHybrids = hybrids;}
47 void setTotalNumberOfLadders(
int totladders) {mTotalNumberOfLadders = totladders;}
48 void setNumberOfStrips(
int strips) {mNumberOfStrips = strips;}
50 void setConfiguration();
51 void setConfiguration(
const char* config);
53 void setLadderIsActive(
int ladder,
int status){mStatus[ladder-1] = status;}
54 int getLadderIsActive(
int ladder){
return mStatus[ladder-1];}
56 const char* getConfiguration();
59 int mStatus[MaxNumberOfLadders];
64 int mTotalNumberOfLadders;
65 int mTotalNumberOfHybrids;