X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=RAW%2FAliAltroRawStreamV3.h;h=2eb82c19c894c80e06f7036b37d655f5057050f5;hb=ca69335b79b30a6cb40615c514b8f5ed620768d8;hp=b75e7c52e3c7c5138a3b6137407a8eddcd3f5e95;hpb=3ce326c0f34af73a4f7a040409afd62312a9aeff;p=u%2Fmrichter%2FAliRoot.git diff --git a/RAW/AliAltroRawStreamV3.h b/RAW/AliAltroRawStreamV3.h index b75e7c52e3c..2eb82c19c89 100644 --- a/RAW/AliAltroRawStreamV3.h +++ b/RAW/AliAltroRawStreamV3.h @@ -48,6 +48,9 @@ class AliAltroRawStreamV3: public TObject { const UShort_t* GetSignals() const { return fBunchDataPointer; } // Provide access to altro data itself Bool_t IsChannelBad() const { return fBadChannel; } // Is the channel data bad or not + Int_t GetChannelPayloadSize() const { return fChannelPayloadSize; } + UChar_t *GetRCUPayloadInSOD() const; + Int_t GetRCUPayloadSizeInSOD() const; Int_t GetBranch() const; // Provide the branch index for the current hardware address Int_t GetFEC() const; // Provide the front-end card index for the current hardware address @@ -91,6 +94,8 @@ class AliAltroRawStreamV3: public TObject { void SetCheckAltroPayload(Bool_t check) { fCheckAltroPayload = check; } + void HexDumpChannel() const; + enum EAltroRawStreamV3Error { kRCUTrailerErr = 1, kRCUVerErr = 2, @@ -130,6 +135,8 @@ class AliAltroRawStreamV3: public TObject { Bool_t fBadChannel; // Int_t fPayloadSize; // + Int_t fChannelPayloadSize; // + UShort_t fBunchData[kMaxNTimeBins]; // cache for the decoded altro payload UShort_t* fBunchDataPointer; // pointer to the current bunch samples Int_t fBunchDataIndex; // current position in the payload