]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMDRawReader.h
Fixed some coding style violations.
[u/mrichter/AliRoot.git] / FMD / AliFMDRawReader.h
index 60ad7d88e2e6cbb38da21d2f7bd5936fb68e7d5f..01d95825dc50d61e9c75989578fc1fb00de4978b 100644 (file)
@@ -11,6 +11,8 @@
 //____________________________________________________________________
 // 
 // Class to read ADC values from a AliRawReader object. 
+// Note, that it uses an ALTRO reader, which is wrong. 
+// Perhaps we need to implement it our selves
 // 
 #ifndef ROOT_TTask
 # include <TTask.h>
 
 //____________________________________________________________________
 class AliRawReader;
-class AliFMD;
+class TTree;
 
 
 //____________________________________________________________________
 class AliFMDRawReader : public TTask 
 {
 public:
-  AliFMDRawReader(AliFMD* fmd, AliRawReader* reader);
-
+  AliFMDRawReader(AliRawReader* reader, TTree* array);
+  virtual ~AliFMDRawReader() {}
   virtual void Exec(Option_t* option="");
-  void SetSampleRate(UShort_t sampleRate=1) { fSampleRate = sampleRate; }
 protected:
-  AliFMD*       fFMD;        //! Pointer to detector description 
+  TTree*        fTree;       //! Pointer to tree to read into 
   AliRawReader* fReader;     //! Pointer to raw reader 
   UShort_t      fSampleRate; // The sample rate (if 0, inferred from data)
   ClassDef(AliFMDRawReader, 0) // Read FMD raw data into a cache