]>
Commit | Line | Data |
---|---|---|
e802be3e | 1 | #ifndef ALIFMDRAWREADER_H |
2 | #define ALIFMDRAWREADER_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights | |
4 | * reserved. | |
5 | * | |
6 | * Latest changes by Christian Holm Christensen <cholm@nbi.dk> | |
7 | * | |
8 | * See cxx source for full Copyright notice | |
9 | */ | |
10 | /* $Id$ */ | |
11 | //____________________________________________________________________ | |
12 | // | |
13 | // Class to read ADC values from a AliRawReader object. | |
088f8e79 | 14 | // Note, that it uses an ALTRO reader, which is wrong. |
15 | // Perhaps we need to implement it our selves | |
e802be3e | 16 | // |
e802be3e | 17 | #ifndef ROOT_TTask |
18 | # include <TTask.h> | |
19 | #endif | |
20 | ||
21 | //____________________________________________________________________ | |
22 | class AliRawReader; | |
1a1fdef7 | 23 | class TTree; |
e802be3e | 24 | |
25 | ||
26 | //____________________________________________________________________ | |
27 | class AliFMDRawReader : public TTask | |
28 | { | |
29 | public: | |
1a1fdef7 | 30 | AliFMDRawReader(AliRawReader* reader, TTree* array); |
088f8e79 | 31 | virtual ~AliFMDRawReader() {} |
e802be3e | 32 | virtual void Exec(Option_t* option=""); |
e802be3e | 33 | protected: |
1a1fdef7 | 34 | TTree* fTree; //! Pointer to tree to read into |
e802be3e | 35 | AliRawReader* fReader; //! Pointer to raw reader |
36 | UShort_t fSampleRate; // The sample rate (if 0, inferred from data) | |
37 | ClassDef(AliFMDRawReader, 0) // Read FMD raw data into a cache | |
38 | }; | |
39 | ||
40 | #endif | |
41 | //____________________________________________________________________ | |
42 | // | |
43 | // Local Variables: | |
44 | // mode: C++ | |
45 | // End: | |
46 | // | |
47 | // EOF | |
48 | // |