void PrintMemDatx(ostream &os, TrapReg_t reg, Int_t det, Int_t rob, Int_t mcm) const;
void PrintDatx(ostream &os, UInt_t addr, UInt_t data, Int_t rob, Int_t mcm) const;
+ void PrintVerify(ostream &os, Int_t det, Int_t rob, Int_t mcm) const;
+
static const Int_t fgkDmemStartAddress = 0xc000; // start address in TRAP GIO
static const Int_t fgkDmemWords = 0x400; // number of words in DMEM
static const Int_t fgkDbankStartAddress = 0xf000; // start address in TRAP GIO
static const Int_t fgkDbankWords = 0x0100; // number of words in DBANK
- protected:
- void InitRegs();
-
class AliTRDtrapValue : public TObject {
public:
AliTRDtrapValue();
- virtual ~AliTRDtrapValue() {}
+ virtual ~AliTRDtrapValue();
virtual Bool_t Allocate(Alloc_t mode);
ClassDef(AliTRDtrapDmemWord, 1);
};
+ protected:
+ void InitRegs();
+
// configuration registers
AliTRDtrapRegister fRegisterValue[kLastReg]; // array of TRAP register values in use
// DMEM
AliTRDtrapDmemWord fDmem[fgkDmemWords]; // TRAP data memory
- static const Int_t fgkMaxMcm; // max. no. of MCMs to be treated
static const Int_t fgkMcmlistSize=256; // list of MCMs to which a value has to be written
static Bool_t fgRegAddressMapInitialized;
- static TrapReg_t fgRegAddressMap[0x400 + 0x200 + 0x3];
+ static TrapReg_t fgRegAddressMap[0x400 + 0x200 + 0x4];
static const Int_t fgkRegisterAddressBlockStart[];
static const Int_t fgkRegisterAddressBlockSize[];