//____________________________________________________________________
//
// 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