]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMDRawWriter.h
removed deprecated code, slight optimizations by commenting out deprecated cuts...
[u/mrichter/AliRoot.git] / FMD / AliFMDRawWriter.h
index d1c309fd3b62d76c41d3aa116cd22ea50e86ae09..b998f6db5969200c01a24e1b12258c2a262d1ad6 100644 (file)
@@ -26,6 +26,7 @@
 //____________________________________________________________________
 class AliFMD;
 class AliAltroBuffer;
+class AliAltroBufferV3;
 class TArrayI;
 class TArrayF;
 class TClonesArray;
@@ -56,7 +57,7 @@ public:
   /** Write an array of AliFMDDigit objects as raw ALTRO data. 
       @param digits Array of AliFMDDigit objects to convert to raw
       ALTRO data. */
-  virtual void WriteDigits(TClonesArray* digits);
+  virtual Long_t WriteDigits(TClonesArray* digits);
   /** Do zero-suppression of channel data. 
       @param data      Contain @a nWords of valid data.  On input, it 
                        contains the full channel data.  On output it
@@ -75,6 +76,11 @@ protected:
       fThreshold(o.fThreshold)
   {}
   AliFMDRawWriter& operator=(const AliFMDRawWriter&) { return *this; }
+  void WriteRCUTrailer(AliAltroBufferV3* altro,
+                      UInt_t ddl,
+                      Bool_t zs,
+                      UShort_t factor,
+                      UShort_t rate) const;
   AliFMD*       fFMD;              //! Pointer to detector description 
   UShort_t      fSampleRate;       // The sample rate (0 -> inferred from data)
   UShort_t      fChannelsPerAltro; // Number of pre-amp. channels/adc channel