#ifndef STSDEF_H #define STSDEF_H #include "Rtypes.h" #include "haddef.h" const Cat_t catStsRaw = STS_OFFSET+1; const Cat_t catStsCal = STS_OFFSET+2; const Int_t STS_MAX_MODULES = 2; // max number of modules (stations) const Int_t STS_MAX_LAYERS = 4; // max number of layers per module const Int_t STS_MAX_PLANES = 2; // max number of planes per layer const Int_t STS_MAX_STRAWS = 112; // max number of straws in a plane const Int_t STS_MAX_UDCONF = 4; // max number of max ud configurations const Int_t STS_MAX_TDCCHANNELS = 48; const Int_t STS_MAX_CELLS = STS_MAX_STRAWS * STS_MAX_PLANES; // all straws in double layers const Int_t STS_MAX_UDCELLS = STS_MAX_CELLS * 2; // same times ud confs const Int_t STS_MAX_COMP = STS_MAX_CELLS; const Int_t STS_MAX_VPLANES = // max number of virtual planes STS_MAX_MODULES*STS_MAX_LAYERS*STS_MAX_PLANES; #endif /* !STSDEF_H */