]>
Commit | Line | Data |
---|---|---|
dc7ca31d | 1 | #ifndef ALIT0RAWREADER_H |
2 | #define ALIT0RAWREADER_H | |
3 | ||
4 | #include <TTask.h> | |
5 | #include <Riostream.h> | |
6 | #include "TTree.h" | |
7 | #include "AliT0digit.h" | |
8 | #include "AliRawReader.h" | |
9 | ||
10 | class AliT0RawReader : public TTask { | |
11 | public : | |
12 | ||
13 | AliT0RawReader(AliRawReader *rawReader, TTree* tree) ; | |
14 | ||
15 | virtual ~AliT0RawReader(); | |
16 | ||
17 | ||
18 | Bool_t Next(); //read next raw digit | |
19 | Int_t GetPosition(); | |
20 | // void UnpackTime(Int_t outTime, Int_t outCh); | |
21 | UInt_t GetNextWord(); | |
22 | ||
23 | protected : | |
24 | ||
25 | AliT0digit* fDigits; | |
26 | TTree* fTree; | |
27 | AliRawReader* fRawReader; // object for reading the raw data | |
28 | ||
29 | UChar_t* fData; // raw data | |
30 | Int_t fPosition; // current (32 bit) position in fData | |
31 | ||
32 | ||
33 | ClassDef(AliT0RawReader, 0) //class for reading T0 Raw data | |
34 | }; | |
35 | ||
36 | typedef AliT0RawReader AliSTARTRawReader; // for backward compatibility | |
37 | ||
38 | #endif |