Int_t GetAD() const {return fad;}
Int_t GetADC() const {return fadc;}
- void Setv11HybridDDLMapping();
- void SetvPPRasymmFMDDDLMapping();
+ static Bool_t InitDDLModuleMap(); // Initialize DLL module map
+ static void Setv11HybridDDLMapping();
+ static void SetvPPRasymmFMDDDLMapping();
enum {kDDLsNumber = 16}; // number of DDLs in SSD
enum {kModulesPerDDL = 108}; // number of modules in each DDL
- static Int_t GetModuleNumber(UInt_t iDDL, UInt_t iModule)
- {return fgkDDLModuleMap[iDDL][iModule];}
+ static Int_t GetModuleNumber(UInt_t iDDL, UInt_t iModule);
enum ESSDRawStreamError {
kWrongModuleIdErr = 1
};
- Int_t fddl;
- Int_t fad;
- Int_t fadc;
+ Int_t fddl; // ddl
+ Int_t fad; // ad module
+ Int_t fadc; // adc
- Bool_t flag;
+ Bool_t flag; //
protected :
+ static Bool_t fgkDDLModuleMapInit; // Module map is initialized or not
static Int_t fgkDDLModuleMap[kDDLsNumber][kModulesPerDDL]; // mapping DDL/module -> module number
UInt_t fData; // data read for file