]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RAW/AliAltroBuffer.h
Technical fix: run the vertex finder even in case the local reco for ITS is off....
[u/mrichter/AliRoot.git] / RAW / AliAltroBuffer.h
index e4eab37245cb0c409e7a592a0975df89fdb701a7..0b455311c6dadb9f518462ccff05bf4b07886952 100644 (file)
@@ -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, 
@@ -56,6 +51,10 @@ class AliAltroBuffer: public TObject {
 
   void  WriteDataHeader(Bool_t dummy, Bool_t compressed);
   //this method is used to write the data header
+
+  virtual UChar_t WriteRCUTrailer(Int_t rcuId);
+  //this method is used to write the RCU trailer
+
   void  SetVerbose(Int_t val) {fVerbose = val;}
   //this method is used to set the verbose level 
   //level  0 no output messages
@@ -84,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
 };