00001 #ifndef ALIFMDRAWREADER_H 00002 #define ALIFMDRAWREADER_H 00003 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights 00004 * reserved. 00005 * 00006 * Latest changes by Christian Holm Christensen <cholm@nbi.dk> 00007 * 00008 * See cxx source for full Copyright notice 00009 */ 00010 /* $Id: AliFMDRawReader.h,v 1.6 2006/03/24 01:47:25 cholm Exp $ */ 00011 //____________________________________________________________________ 00012 // 00013 // Class to read ADC values from a AliRawReader object. 00014 // Note, that it uses an ALTRO reader, which is wrong. 00015 // Perhaps we need to implement it our selves 00016 // 00017 #ifndef ROOT_TTask 00018 # include <TTask.h> 00019 #endif 00020 00021 //____________________________________________________________________ 00022 class AliRawReader; 00023 class TTree; 00024 class TClonesArray; 00025 00026 00027 //____________________________________________________________________ 00038 class AliFMDRawReader : public TTask 00039 { 00040 public: 00044 AliFMDRawReader(AliRawReader* reader, TTree* array); 00046 virtual ~AliFMDRawReader() {} 00049 virtual void Exec(Option_t* option=""); 00053 virtual Bool_t ReadAdcs(TClonesArray* array); 00054 protected: 00055 TTree* fTree; 00056 AliRawReader* fReader; 00057 UShort_t fSampleRate; // The sample rate (if 0, inferred from data) 00058 ClassDef(AliFMDRawReader, 0) // Read FMD raw data into a cache 00059 }; 00060 00061 #endif 00062 //____________________________________________________________________ 00063 // 00064 // Local Variables: 00065 // mode: C++ 00066 // End: 00067 // 00068 // EOF 00069 //