]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RAW/AliAltroBuffer.h
ATO-98 make macro to calculate correction derivative again working
[u/mrichter/AliRoot.git] / RAW / AliAltroBuffer.h
index dd65caf33caab90b69a4cb84ceb98b00d6641d70..0b455311c6dadb9f518462ccff05bf4b07886952 100644 (file)
@@ -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;}