35 #include "AliRawReader.h" 46 : AliAltroRawStream(reader)
57 UInt_t& len,
volatile UShort_t* data)
62 static Int_t last = 0xFFFF;
67 AliFMDDebug(30, (
"Last is 0x%x, so reading a new word", last));
71 addr = GetPrevHWAddress();
72 ddl = (GetPrevDDLNumber() < 0 ? UINT_MAX: UInt_t(GetPrevDDLNumber()));
78 if (
GetHWAddress() != GetPrevHWAddress() && GetPrevHWAddress() >= 0) {
79 AliFMDDebug(15, (
"New hardware address, was 0x%x, now 0x%x",
81 addr = GetPrevHWAddress();
82 ddl = (GetPrevDDLNumber() < 0 ? UINT_MAX : UInt_t(GetPrevDDLNumber()));
90 Int_t
b = GetTimeLength();
92 AliWarning(Form(
"Bunch length %0d is less than 0 for " 93 "DDL %4d address 0x%03x",
103 AliWarning(Form(
"Time %0d is less than 0 for DDL %4d address 0x%03x",
108 l = TMath::Max(l, t);
112 AliFMDDebug(signal > 512 ? 1 : 0, (
"Signal @ %d (%d) is %d",
Manager of FMD parameters.
Class to read ALTRO formated data from an AliRawReader.
#define AliWarning(message)
AliFMDRawStream(AliRawReader *reader)
Class to read ALTRO formated data from an AliRawReader. This class is mostly here to set AliAltroRawS...
#define AliFMDDebug(N, A)
Int_t GetHWAddress(Int_t iside, Int_t icol, Int_t irow, Int_t igain)
virtual Bool_t ReadChannel(UInt_t &ddl, UInt_t &addr, UInt_t &len, volatile UShort_t *data)