X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=RAW%2FAliAltroBuffer.h;h=0b455311c6dadb9f518462ccff05bf4b07886952;hb=f078d002ec2b9eba40828ad2601926495303eae0;hp=edf48132a1c63feb5568a8e39880b416c125b89e;hpb=5e6235b57448ff2eb7d6e7f620c6cf33aa32c058;p=u%2Fmrichter%2FAliRoot.git diff --git a/RAW/AliAltroBuffer.h b/RAW/AliAltroBuffer.h index edf48132a1c..0b455311c6d 100644 --- a/RAW/AliAltroBuffer.h +++ b/RAW/AliAltroBuffer.h @@ -25,22 +25,17 @@ class AliAltroMapping; class AliAltroBuffer: public TObject { public: - AliAltroBuffer(const char* fileName, const AliAltroMapping *mapping = NULL); + 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;} @@ -88,7 +83,7 @@ class AliAltroBuffer: public TObject { UInt_t fDataHeaderPos;//Data header position // Now the parameters for the mapping - const AliAltroMapping* fMapping; // Pointer to the mapping handler + AliAltroMapping* fMapping; // Pointer to the mapping handler ClassDef(AliAltroBuffer,0) // Interface to the Altro format };