X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=RAW%2FAliAltroBuffer.h;h=0b455311c6dadb9f518462ccff05bf4b07886952;hb=bdd72b4e93e130f4cb6dc6c76c80a7cac682be76;hp=dd65caf33caab90b69a4cb84ceb98b00d6641d70;hpb=573322da712664fb93983235e21daed122153be1;p=u%2Fmrichter%2FAliRoot.git diff --git a/RAW/AliAltroBuffer.h b/RAW/AliAltroBuffer.h index dd65caf33ca..0b455311c6d 100644 --- a/RAW/AliAltroBuffer.h +++ b/RAW/AliAltroBuffer.h @@ -28,19 +28,14 @@ class AliAltroBuffer: public TObject { AliAltroBuffer(const char* fileName, AliAltroMapping *mapping = NULL); virtual ~AliAltroBuffer(); - void FillBuffer(Int_t val); + virtual void FillBuffer(Int_t val); //this method stores a word into the buffer - Int_t GetFreeCellNumber()const {return fFreeCellBuffer;} - //this method returns the number of free cells of the internal buffer void WriteTrailer(Int_t wordsNumber, Int_t padNumber, Int_t rowNumber, Int_t secNumber); //this method is used to write the trailer - void WriteTrailer(Int_t wordsNumber, Short_t hwAddress); + virtual void WriteTrailer(Int_t wordsNumber, Short_t hwAddress); //this method is used to write the trailer - void WriteDummyTrailer(Int_t wordsNumber, Int_t padNumber, - Int_t rowNumber, Int_t secNumber); - //this method is used to write a dummy trailer void WriteChannel(Int_t padNumber, Int_t rowNumber, Int_t secNumber, Int_t nTimeBins, const Int_t* adcValues, @@ -57,7 +52,7 @@ class AliAltroBuffer: public TObject { void WriteDataHeader(Bool_t dummy, Bool_t compressed); //this method is used to write the data header - void WriteRCUTrailer(Int_t rcuId); + virtual UChar_t WriteRCUTrailer(Int_t rcuId); //this method is used to write the RCU trailer void SetVerbose(Int_t val) {fVerbose = val;}